Package glitter :: Package misc :: Module sync :: Class FenceSync
[hide private]
[frames] | no frames]

Class FenceSync

source code

             object --+            
                      |            
 utils.objects.GLObject --+        
                          |        
utils.objects.ManagedObject --+    
                              |    
                           Sync --+
                                  |
                                 FenceSync

Instance Methods [hide private]
 
_generate_id()
Constructor function.
source code
 
wait(self) source code
 
client_wait(self) source code

Inherited from Sync: __init__

Inherited from utils.objects.ManagedObject: __del__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  client_wait_sync_returns = Enum(ALREADY_SIGNALED, TIMEOUT_EXPI...

Inherited from Sync (private): _delete_id

Inherited from utils.objects.ManagedObject (private): _db, _type

Instance Variables [hide private]

Inherited from utils.objects.ManagedObject (private): _id

Inherited from utils.objects.GLObject (private): _context

Properties [hide private]

Inherited from utils.objects.GLObject: context

Inherited from object: __class__

Method Details [hide private]

_generate_id()

source code 

Constructor function.

Example: glGenShader

If the function has an argtypes attribute, it may have zero, one, or two parameters. If it has one parameter, _type is passed as the parameter, and the return value is used as _id. If it has two parameters, 1 is passed as the first and a GLuint pointer as the second parameter; the number returned in this pointer is used as the _id. All other functions are simply called and their return values used as _id.

Overrides: _generate_id

Class Variable Details [hide private]

client_wait_sync_returns

Value:
Enum(ALREADY_SIGNALED, TIMEOUT_EXPIRED, CONDITION_SATISFIED, WAIT_FAIL\
ED)