Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Hardware framebuffer properties More...
#include <game.h>
Public Attributes | |
GAME_HW_CONTEXT_TYPE | context_type |
The API to use. | |
bool | depth |
Set if render buffers should have depth component attached. | |
bool | stencil |
Set if stencil buffers should be attached. | |
bool | bottom_left_origin |
Use conventional bottom-left origin convention. | |
unsigned int | version_major |
Major version number for core GL context or GLES 3.1+. | |
unsigned int | version_minor |
Minor version number for core GL context or GLES 3.1+. | |
bool | cache_context |
If this is true, the frontend will go very far to avoid resetting context in scenarios like toggling fullscreen, etc. | |
bool | debug_context |
Creates a debug context. | |
Hardware framebuffer properties
bool game_stream_hw_framebuffer_properties::bottom_left_origin |
Use conventional bottom-left origin convention.
If false, standard top-left origin semantics are used.
bool game_stream_hw_framebuffer_properties::cache_context |
If this is true, the frontend will go very far to avoid resetting context in scenarios like toggling fullscreen, etc.
The reset callback might still be called in extreme situations such as if the context is lost beyond recovery.
For optimal stability, set this to false, and allow context to be reset at any time.
GAME_HW_CONTEXT_TYPE game_stream_hw_framebuffer_properties::context_type |
The API to use.
bool game_stream_hw_framebuffer_properties::debug_context |
Creates a debug context.
bool game_stream_hw_framebuffer_properties::depth |
Set if render buffers should have depth component attached.
bool game_stream_hw_framebuffer_properties::stencil |
Set if stencil buffers should be attached.
If depth and stencil are true, a packed 24/8 buffer will be added. Only attaching stencil is invalid and will be ignored.
unsigned int game_stream_hw_framebuffer_properties::version_major |
Major version number for core GL context or GLES 3.1+.
unsigned int game_stream_hw_framebuffer_properties::version_minor |
Minor version number for core GL context or GLES 3.1+.