Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

Hardware framebuffer stream data More...

Classes

struct  game_hw_rendering_properties
 Hardware rendering properties More...
 
struct  game_stream_hw_framebuffer_properties
 Hardware framebuffer properties More...
 
struct  game_stream_hw_framebuffer_buffer
 Hardware framebuffer buffer More...
 
struct  game_stream_hw_framebuffer_packet
 Hardware framebuffer packet More...
 

Typedefs

typedef enum GAME_HW_CONTEXT_TYPE GAME_HW_CONTEXT_TYPE
 Hardware framebuffer type
 
typedef struct game_hw_rendering_properties game_hw_rendering_properties
 Hardware rendering properties
 
typedef struct game_stream_hw_framebuffer_properties game_stream_hw_framebuffer_properties
 Hardware framebuffer properties
 
typedef struct game_stream_hw_framebuffer_buffer game_stream_hw_framebuffer_buffer
 Hardware framebuffer buffer
 
typedef struct game_stream_hw_framebuffer_packet game_stream_hw_framebuffer_packet
 Hardware framebuffer packet
 
typedef void(* game_proc_address_t) (void)
 Hardware framebuffer process function address
 

Enumerations

enum  GAME_HW_CONTEXT_TYPE {
  GAME_HW_CONTEXT_NONE , GAME_HW_CONTEXT_OPENGL , GAME_HW_CONTEXT_OPENGLES2 , GAME_HW_CONTEXT_OPENGL_CORE ,
  GAME_HW_CONTEXT_OPENGLES3 , GAME_HW_CONTEXT_OPENGLES_VERSION , GAME_HW_CONTEXT_VULKAN
}
 Hardware framebuffer type More...
 

Detailed Description

Hardware framebuffer stream data

Typedef Documentation

◆ GAME_HW_CONTEXT_TYPE

Hardware framebuffer type

◆ game_hw_rendering_properties

typedef struct game_hw_rendering_properties game_hw_rendering_properties

Hardware rendering properties

These properties are needed early on, so instead of passing them when the stream is opened, they are passed in EnableHardwareRendering(). As a result, the struct passed to OpenStream() is empty.

◆ game_proc_address_t

typedef void(* game_proc_address_t) (void)

Hardware framebuffer process function address

◆ game_stream_hw_framebuffer_buffer

typedef struct game_stream_hw_framebuffer_buffer game_stream_hw_framebuffer_buffer

Hardware framebuffer buffer

◆ game_stream_hw_framebuffer_packet

typedef struct game_stream_hw_framebuffer_packet game_stream_hw_framebuffer_packet

Hardware framebuffer packet

◆ game_stream_hw_framebuffer_properties

typedef struct game_stream_hw_framebuffer_properties game_stream_hw_framebuffer_properties

Hardware framebuffer properties

This struct is empty because hardware rendering properties are passed via EnableHardwareRendering().

Enumeration Type Documentation

◆ GAME_HW_CONTEXT_TYPE

Hardware framebuffer type

Enumerator
GAME_HW_CONTEXT_NONE 

None context.

GAME_HW_CONTEXT_OPENGL 

OpenGL 2.x. Driver can choose to use latest compatibility context.

GAME_HW_CONTEXT_OPENGLES2 

OpenGL ES 2.0.

GAME_HW_CONTEXT_OPENGL_CORE 

Modern desktop core GL context. Use major/minor fields to set GL version.

GAME_HW_CONTEXT_OPENGLES3 

OpenGL ES 3.0.

GAME_HW_CONTEXT_OPENGLES_VERSION 

OpenGL ES 3.1+. Set major/minor fields.

GAME_HW_CONTEXT_VULKAN 

Vulkan.