GFXGLWindowTarget Class Reference

#include <gfxGLWindowTarget.h>

Inheritance diagram for GFXGLWindowTarget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXGLWindowTarget (PlatformWindow *win, GFXDevice *d)
const Point2I getSize ()
 Returns the size in pixels of this rendering target.
void makeActive ()
virtual bool present ()
 Present latest buffer, if buffer swapping is in effect.
virtual void resetMode ()
 Notify the target that the video mode on the window has changed.
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().
void _onAppSignal (WindowId wnd, S32 event)

Private Member Functions

void _teardownCurrentMode ()
void _setupNewMode ()

Private Attributes

Point2I size
GFXDevicemDevice
voidmContext
voidmFullscreenContext

Friends

class GFXGLDevice

Constructor & Destructor Documentation

GFXGLWindowTarget::GFXGLWindowTarget ( PlatformWindow win,
GFXDevice d 
)


Member Function Documentation

const Point2I GFXGLWindowTarget::getSize (  )  [inline, virtual]

Returns the size in pixels of this rendering target.

Implements GFXTarget.

void GFXGLWindowTarget::makeActive (  ) 

virtual bool GFXGLWindowTarget::present (  )  [virtual]

Present latest buffer, if buffer swapping is in effect.

Implements GFXWindowTarget.

virtual void GFXGLWindowTarget::resetMode (  )  [virtual]

Notify the target that the video mode on the window has changed.

Implements GFXWindowTarget.

virtual void GFXGLWindowTarget::zombify (  )  [inline, virtual]

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

Implements GFXResource.

virtual void GFXGLWindowTarget::resurrect (  )  [inline, virtual]

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

Implements GFXResource.

void GFXGLWindowTarget::_onAppSignal ( WindowId  wnd,
S32  event 
)

void GFXGLWindowTarget::_teardownCurrentMode (  )  [private]

void GFXGLWindowTarget::_setupNewMode (  )  [private]


Friends And Related Function Documentation

friend class GFXGLDevice [friend]


Member Data Documentation