Class representing a default Android window surface EGL graphics output. More...
#include <kanzi/core.ui/platform/graphics_output/android_ws_egl/default_android_ws_egl_graphics_output.hpp>
Protected Member Functions | |
void | setTargetTransformation (Matrix4x4 targetTransformation) noexcept |
Sets the target transformation matrix. | |
void | updateCachedValues (unsigned int width, unsigned int height) noexcept |
Updates all cached values from the given layout size. | |
Protected Member Functions inherited from kanzi::GraphicsOutput | |
void | updateDpi (Vector2 dpi) |
Updates the target layout area resolution. | |
void | updateSize (unsigned int width, unsigned int height) |
Updates the target layout area size. | |
Additional Inherited Members | |
Public Types inherited from kanzi::GLGraphicsOutput | |
using | GLProcPointer |
Pointer to GL function. | |
Class representing a default Android window surface EGL graphics output.
|
explicit |
Constructor.
properties | Properties to request for the graphics output. |
kanzi::android_ws::DefaultAndroidWSEGLGraphicsOutput::~DefaultAndroidWSEGLGraphicsOutput | ( | ) |
Destructor.
|
overridevirtual |
Amends the given event queue with the events received so far.
queue | Event queue to amend. Do not clear nor assume to be empty. |
Implements kanzi::EventSource.
|
overridevirtualnoexcept |
Returns a waitable event handle for this event source, if available.
nullopt | Getting the event handle failed. |
Implements kanzi::EventSource.
|
overridevirtual |
Retrieves pointer to GL function.
functionName | Name of the function. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Activates the current EGL thread.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Deactivates the current EGL thread.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
Posts rendering results.
Implicitly flushes the rendering pipeline and executes all received rendering commands before posting.
Implements kanzi::GLGraphicsOutput.
|
overridevirtual |
Sets the minimum number of displayed video frames before a buffer swap.
interval | Minimum number of video frames to wait before buffer swap. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Returns the target transformation matrix.
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the API used by the associated graphics context.
nullopt | Getting the graphics context failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the type of the associated graphics surface.
nullopt | Getting the graphics surface failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the color space used by the associated graphics context.
nullopt | Getting the color space failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the associated native GL display handle.
nullopt | Getting GL display failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the associated native GL context handle.
nullopt | Getting GL context failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Gets the associated native GL surface handle.
nullopt | Getting GL surface failed. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Creates a native image object, which can be shared between client APIs.
To destroy the returned image, use destroyImage().
target | Context-specific target specifier. |
data | Data to use for the image content. |
attributes | Context-specific attributes list. |
Implements kanzi::GLGraphicsOutput.
|
overridevirtualnoexcept |
Destroys an EGL image.
image | EGL image to destroy. |
Implements kanzi::GLGraphicsOutput.
|
noexcept |
Lists all valid EGL configurations. If EGL display is no display, lists nothing.
|
noexcept |
Lists the current valid EGL configuration.
If EGL display is no display or EGL configuration is no configuration, lists nothing.
Sets the Z order of a window.
windowZOrder | Z order value to set. |
|
overridevirtualnoexcept |
WindowedGraphicsOutput::resize() implementation.
width | window width to set. |
height | window height to set. |
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::setWindowTitle() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowTitle() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::resizeWindow() implementation.
width | window width to set. |
height | window height to set. |
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowWidth() implementation.
Returns nullopt.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowHeight() implementation.
Returns nullopt.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::moveWindow() implementation.
positionX | window position X to be set. |
positionY | window position Y to be set. |
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowPositionX() implementation.
Returns nullopt.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getWindowPositionY() implementation.
Returns nullopt.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeFullscreen() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeRegular() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeMaximized() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::makeMinimized() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::showWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::hideWindow() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::bringToFront() implementation.
Implements kanzi::WindowedGraphicsOutput.
|
overridevirtualnoexcept |
WindowedGraphicsOutput::getNativeWindowHandle() implementation.
nullopt | Getting the native window handle failed. |
Implements kanzi::WindowedGraphicsOutput.
|
inlineprotectednoexcept |
Sets the target transformation matrix.
targetTransformation | The target transformation matrix. |
|
protectednoexcept |
Updates all cached values from the given layout size.
width | Layout area width in pixels. |
height | Layout area height in pixels. |