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