#include <vtkOpenGLContextDevice2DPrivate.h>
Definition at line 199 of file vtkOpenGLContextDevice2DPrivate.h.
Public Member Functions | |
Private () | |
~Private () | |
void | SaveGLState (bool colorBuffer=false) |
void | RestoreGLState (bool colorBuffer=false) |
void | SetGLCapability (GLenum capability, GLboolean state) |
float * | TexCoords (float *f, int n) |
vtkVector2i | FindPowerOfTwo (const vtkVector2i &size) |
GLuint | TextureFromImage (vtkImageData *image, vtkVector2f &texCoords) |
GLuint | TextureFromImage (vtkImageData *image) |
Public Attributes | |
vtkTexture * | Texture |
unsigned int | TextureProperties |
vtkTexture * | SpriteTexture |
GLboolean | SavedLighting |
GLboolean | SavedDepthTest |
GLboolean | SavedAlphaTest |
GLboolean | SavedStencilTest |
GLboolean | SavedBlend |
GLint | SavedDrawBuffer |
GLfloat | SavedClearColor [4] |
int | TextCounter |
vtkVector2i | Dim |
vtkVector2i | Offset |
bool | GLExtensionsLoaded |
bool | OpenGL15 |
bool | OpenGL20 |
bool | GLSL |
bool | PowerOfTwoTextures |
vtkTextureImageCache < TextPropertyKey > | TextTextureCache |
vtkOpenGLContextDevice2D::Private::Private | ( | ) | [inline] |
Definition at line 202 of file vtkOpenGLContextDevice2DPrivate.h.
vtkOpenGLContextDevice2D::Private::~Private | ( | ) | [inline] |
Definition at line 225 of file vtkOpenGLContextDevice2DPrivate.h.
void vtkOpenGLContextDevice2D::Private::SaveGLState | ( | bool | colorBuffer = false |
) | [inline] |
Definition at line 239 of file vtkOpenGLContextDevice2DPrivate.h.
void vtkOpenGLContextDevice2D::Private::RestoreGLState | ( | bool | colorBuffer = false |
) | [inline] |
Definition at line 254 of file vtkOpenGLContextDevice2DPrivate.h.
void vtkOpenGLContextDevice2D::Private::SetGLCapability | ( | GLenum | capability, | |
GLboolean | state | |||
) | [inline] |
Definition at line 286 of file vtkOpenGLContextDevice2DPrivate.h.
float* vtkOpenGLContextDevice2D::Private::TexCoords | ( | float * | f, | |
int | n | |||
) | [inline] |
Definition at line 298 of file vtkOpenGLContextDevice2DPrivate.h.
vtkVector2i vtkOpenGLContextDevice2D::Private::FindPowerOfTwo | ( | const vtkVector2i & | size | ) | [inline] |
Definition at line 341 of file vtkOpenGLContextDevice2DPrivate.h.
GLuint vtkOpenGLContextDevice2D::Private::TextureFromImage | ( | vtkImageData * | image, | |
vtkVector2f & | texCoords | |||
) | [inline] |
Definition at line 354 of file vtkOpenGLContextDevice2DPrivate.h.
GLuint vtkOpenGLContextDevice2D::Private::TextureFromImage | ( | vtkImageData * | image | ) | [inline] |
Definition at line 426 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 468 of file vtkOpenGLContextDevice2DPrivate.h.
unsigned int vtkOpenGLContextDevice2D::Private::TextureProperties |
Definition at line 469 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 470 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 472 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 473 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 474 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 475 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 476 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 477 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 478 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 480 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 481 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 482 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 483 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 484 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 485 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 486 of file vtkOpenGLContextDevice2DPrivate.h.
Definition at line 487 of file vtkOpenGLContextDevice2DPrivate.h.
Cache for text images. Generating texture for strings is expensive, we cache the textures here for a faster reuse.
Definition at line 492 of file vtkOpenGLContextDevice2DPrivate.h.