Base Framework
|
OpenGL pixmap rendering context. More...
#include <base/opengl/OpenGLPixmapContext.h>
Inherits OpenGLContextImpl.
Public Member Functions | |
OpenGLPixmapContext (const Dimension &dimension, unsigned int flags) | |
~OpenGLPixmapContext () noexcept | |
![]() | |
OpenGLContextImpl () | |
String | getGLClientVendor () const |
String | getGLClientRelease () const |
String | getGLClientExtensions () const |
String | getGLServerVendor () const |
String | getGLServerRelease () const |
String | getGLServerExtensions () const |
unsigned int | getNumberOfOverlayPlanes () const |
unsigned int | getNumberOfUnderlayPlanes () const |
bool | isDoubleBuffered () const noexcept |
bool | isColorIndexed () const noexcept |
bool | isStereoscopic () const noexcept |
bool | isDirect () const noexcept |
bool | isGeneric () const noexcept |
bool | isMultiSampled () const noexcept |
bool | isSwapLayers () const noexcept |
bool | hasAlphaBuffer () const noexcept |
unsigned int | getNumberOfColorBits () const noexcept |
unsigned int | getNumberOfRedBits () const noexcept |
unsigned int | getNumberOfGreenBits () const noexcept |
unsigned int | getNumberOfBlueBits () const noexcept |
unsigned int | getNumberOfAlphaBits () const noexcept |
bool | hasAccumulatorBuffer () const noexcept |
unsigned int | getNumberOfAcculumatorBits () const noexcept |
unsigned int | getNumberOfAcculumatorRedBits () const noexcept |
unsigned int | getNumberOfAcculumatorGreenBits () const noexcept |
unsigned int | getNumberOfAcculumatorBlueBits () const noexcept |
unsigned int | getNumberOfAcculumatorAlphaBits () const noexcept |
bool | hasDepthBuffer () const noexcept |
unsigned int | getNumberOfDepthBits () const noexcept |
bool | hasStencilBuffer () const noexcept |
bool | getNumberOfStencilBits () const noexcept |
bool | hasAuxBuffers () const noexcept |
unsigned int | getNumberOfAuxBuffers () const noexcept |
bool | hasCurrent () const |
bool | isCurrent () const |
void | makeCurrent () |
void | deselect () noexcept |
void | swap () |
void | swap (int plane) |
Additional Inherited Members | |
![]() | |
enum | Flag { COLOR_INDEXED = 1, DOUBLE_BUFFERED = COLOR_INDEXED << 1, ACCUMULATOR = DOUBLE_BUFFERED << 1, ALPHA = ACCUMULATOR << 1, DEPTH = ALPHA << 1, STENCIL = DEPTH << 1, AUX = STENCIL << 1, MULTI_SAMPLE = AUX << 1, STEREO = MULTI_SAMPLE << 1, LUMINANCE = STEREO << 1, RGB = LUMINANCE << 1, OVERLAY = RGB << 1, UNDERLAY = OVERLAY << 1, SWAP_LAYER, DIRECT = UNDERLAY << 1, GENERIC = DIRECT << 1 } |
![]() | |
static void | loadModule () |
![]() | |
void * | graphicsContextHandle = nullptr |
void * | renderingContextHandle = nullptr |
unsigned int | flags = 0 |
uint8 | colorBits = 0 |
uint8 | redBits = 0 |
uint8 | redShift = 0 |
uint8 | greenBits = 0 |
uint8 | greenShift = 0 |
uint8 | blueBits = 0 |
uint8 | blueShift = 0 |
uint8 | alphaBits = 0 |
uint8 | alphaShift = 0 |
uint8 | accumulatorBits = 0 |
uint8 | accumulatorRedBits = 0 |
uint8 | accumulatorGreenBits = 0 |
uint8 | accumulatorBlueBits = 0 |
uint8 | accumulatorAlphaBits = 0 |
uint8 | depthBits = 0 |
uint8 | stencilBits = 0 |
uint8 | auxBuffers = 0 |
unsigned int | numberOfOverlayPlanes = 0 |
unsigned int | numberOfUnderlayPlanes = 0 |
![]() | |
void * | drawableHandle = nullptr |
OpenGLPixmapContext::OpenGLPixmapContext | ( | const Dimension & | dimension, |
unsigned int | flags | ||
) |
Initializes an OpenGL pixmap rendering context.
dimension | The dimension of the pixmap. |
flags | The format flags. |
|
noexcept |
Destroys the OpenGL pixmap rendering context.