GFXGLAppleFence Class Reference

#include <gfxGLAppleFence.h>

Inheritance diagram for GFXGLAppleFence:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXGLAppleFence (GFXDevice *device)
virtual ~GFXGLAppleFence ()
virtual void issue ()
 This method inserts the fence into the command buffer.
virtual FenceStatus getStatus () const
 This is a non-blocking call to get the status of the fence.
virtual void block ()
 This method will not return until the fence has been processed by the GPU.
virtual void zombify ()
 When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.
virtual void resurrect ()
 When called the resource should restore all device sensitive information destroyed by zombify().
virtual const String describeSelf () const
 The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.

Private Attributes

GLuint mHandle
bool mIssued

Constructor & Destructor Documentation

GFXGLAppleFence::GFXGLAppleFence ( GFXDevice device  ) 

virtual GFXGLAppleFence::~GFXGLAppleFence (  )  [virtual]


Member Function Documentation

virtual void GFXGLAppleFence::issue (  )  [virtual]

This method inserts the fence into the command buffer.

Implements GFXFence.

virtual FenceStatus GFXGLAppleFence::getStatus (  )  const [virtual]

This is a non-blocking call to get the status of the fence.

See also:
GFXFence::FenceStatus

Implements GFXFence.

virtual void GFXGLAppleFence::block (  )  [virtual]

This method will not return until the fence has been processed by the GPU.

Implements GFXFence.

virtual void GFXGLAppleFence::zombify (  )  [virtual]

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Implements GFXResource.

virtual void GFXGLAppleFence::resurrect (  )  [virtual]

When called the resource should restore all device sensitive information destroyed by zombify().

Implements GFXResource.

virtual const String GFXGLAppleFence::describeSelf (  )  const [virtual]

The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.

Implements GFXResource.


Member Data Documentation