GlGraphicsOutput class.
More...
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_graphics_output.hpp>
|
| void | updateSize (unsigned int width, unsigned int height) |
| | Updates the rendering area size. More...
|
| |
GlGraphicsOutput class.
A graphics output interface defining basic functionality used by the GL renderer.
| kanzi::GlGraphicsOutput::GlGraphicsOutput |
( |
| ) |
|
|
inlineexplicit |
| kanzi::GlGraphicsOutput::~GlGraphicsOutput |
( |
| ) |
|
|
inlineoverride |
| virtual KzsSurfaceType kanzi::GlGraphicsOutput::getSurfaceType |
( |
| ) |
const |
|
pure virtual |
| virtual kzsGLProcPointer kanzi::GlGraphicsOutput::getProcAddress |
( |
string_view |
functionName | ) |
|
|
pure virtual |
Gets pointer to graphics API function.
- Parameters
-
| functionName | Name of the function. |
- Returns
- Pointer to the function, or null if not found.
Implemented in kanzi::DefaultGlGraphicsOutput.
| virtual void kanzi::GlGraphicsOutput::activate |
( |
| ) |
|
|
pure virtual |
| virtual void kanzi::GlGraphicsOutput::setSwapInterval |
( |
int |
interval | ) |
|
|
pure virtual |
Sets the swap interval of the associated graphics implementation.
- Parameters
-
| interval | Specifies the minimum number of video frame periods per buffer swap. Negative interval values are reserved for platform-specific special cases. |
Implemented in kanzi::DefaultGlGraphicsOutput.
| virtual void* kanzi::GlGraphicsOutput::getContextHandle |
( |
| ) |
const |
|
pure virtual |
Gets the handle of associated graphics context object.
- Returns
- The handle of associated graphics context object.
Implemented in kanzi::DefaultGlGraphicsOutput.
| virtual void* kanzi::GlGraphicsOutput::createImage |
( |
void * |
context, |
|
|
int |
target, |
|
|
void * |
data, |
|
|
int * |
attributes |
|
) |
| |
|
pure virtual |
Function for creating native image object, which can be shared between client APIs.
- Parameters
-
| context | Context to create the image for. |
| target | Context-specific target specifier. |
| data | Data to use as image contents. |
| attributes | Context-specific attributes list. |
- Returns
- Returns created image, or null on error.
- See also
- getContextHandle().
Implemented in kanzi::DefaultGlGraphicsOutput.
| virtual void kanzi::GlGraphicsOutput::destroyImage |
( |
void * |
image | ) |
|
|
pure virtual |
| virtual void kanzi::GlGraphicsOutput::logProperties |
( |
| ) |
const |
|
pure virtual |
| virtual void kanzi::GlGraphicsOutput::logExtensions |
( |
| ) |
const |
|
pure virtual |
| virtual void* kanzi::GlGraphicsOutput::getDisplayHandle |
( |
| ) |
const |
|
pure virtual |
Gets the handle of display associated to the graphics output.
- Returns
- The handle of display associated to the graphics output.
Implemented in kanzi::DefaultGlGraphicsOutput.
The documentation for this class was generated from the following file: