Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIOpenGLGLXPBTextureTarget_h_
28 #define _CEGUIOpenGLGLXPBTextureTarget_h_
32 #include "CEGUI/RendererModules/OpenGL/TextureTarget.h"
100 #endif // end of guard _CEGUIOpenGLGLXPBTextureTarget_h_
Display * d_dpy
X server display.
Definition: GLXPBTextureTarget.h:83
void initialisePBuffer()
Initialise the PBuffer with the needed size.
void selectFBConfig()
Selects an appropriate FB config to use and stores in d_fbconfig.
void deactivate()
Deactivate the render target after having completed rendering.
OpenGLGLXPBTextureTarget - allows rendering to an OpenGL texture via the pbuffer provided in GLX 1....
Definition: GLXPBTextureTarget.h:45
GLXFBConfig d_fbconfig
GLX config used in creating pbuffer.
Definition: GLXPBTextureTarget.h:85
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
void initialiseTexture()
Perform basic initialisation of the texture we're going to use.
static const float DEFAULT_SIZE
default size of created texture objects
Definition: GLXPBTextureTarget.h:62
GLXContext d_context
GLX context.
Definition: GLXPBTextureTarget.h:87
OpenGLTextureTarget - Common base class for all OpenGL render targets based on some form of RTT suppo...
Definition: RendererModules/OpenGL/TextureTarget.h:47
void restoreTexture()
Restore the texture from the locally buffered copy previously create by a call to grabTexture.
GLXDrawable d_prevDrawable
stores previous GLX drawable when switching to pbuffer
Definition: GLXPBTextureTarget.h:93
void enablePBuffer() const
Switch rendering so it targets the pbuffer.
void grabTexture()
Grab the texture to a local buffer.
GLXContext d_prevContext
stores previous GLX context when switching to pbuffer
Definition: GLXPBTextureTarget.h:95
void declareRenderSize(const Sizef &sz)
Used to declare to the TextureTarget the largest size, in pixels, of the next set of incoming renderi...
GLXPbuffer d_pbuffer
The GLX pbuffer we're using.
Definition: GLXPBTextureTarget.h:89
void activate()
Activate the render target and put it in a state ready to be drawn to.
Display * d_prevDisplay
stores previous X display when switching to pbuffer
Definition: GLXPBTextureTarget.h:91
void clear()
Clear the surface of the underlying texture.
void disablePBuffer() const
Switch rendering to target what was active before the pbuffer was used.
void createContext()
Creates the context to use with the pbuffer.
Common base class used for other OpenGL (desktop or ES) based renderer modules.
Definition: RendererBase.h:54