Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
game_stream_hw_framebuffer_properties Struct Reference

#include <kodi_game_types.h>

Public Attributes

GAME_HW_CONTEXT_TYPE context_type
 
bool depth
 
bool stencil
 
bool bottom_left_origin
 
unsigned int version_major
 
unsigned int version_minor
 
bool cache_context
 
bool debug_context
 

Member Data Documentation

◆ bottom_left_origin

bool game_stream_hw_framebuffer_properties::bottom_left_origin

Use conventional bottom-left origin convention. If false, standard top-left origin semantics are used.

TODO: Move to GL specific interface

◆ cache_context

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.

TODO: Obsolete? Maybe frontend should just always assume this...

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.

◆ context_type

GAME_HW_CONTEXT_TYPE game_stream_hw_framebuffer_properties::context_type

The API to use.

◆ debug_context

bool game_stream_hw_framebuffer_properties::debug_context

Creates a debug context.

◆ depth

bool game_stream_hw_framebuffer_properties::depth

Set if render buffers should have depth component attached.

TODO: Obsolete

◆ stencil

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.

TODO: Obsolete.

◆ version_major

unsigned int game_stream_hw_framebuffer_properties::version_major

Major version number for core GL context or GLES 3.1+.

◆ version_minor

unsigned int game_stream_hw_framebuffer_properties::version_minor

Minor version number for core GL context or GLES 3.1+.


The documentation for this struct was generated from the following file: