anbox-platform-sdk  1.23.0
Anbox Platform SDK API documentation
AnboxGraphicsConfiguration Struct Reference

AnboxDisplaySpec describes properties of the Anbox rendering pipeline the platform plugin can influence. More...

#include <types.h>

+ Collaboration diagram for AnboxGraphicsConfiguration:

Public Attributes

EGLNativeDisplayType native_display
 
EGLNativeWindowType native_window
 
AnboxGraphicsFlipMode output_flip_mode
 
AnboxGraphicsTextureFormat texture_format
 
bool avoid_pbuffers
 

Detailed Description

AnboxDisplaySpec describes properties of the Anbox rendering pipeline the platform plugin can influence.

Definition at line 1233 of file types.h.

Member Data Documentation

◆ avoid_pbuffers

bool AnboxGraphicsConfiguration::avoid_pbuffers

If set to true Anbox will avoid querying EGL for configurations with pbuffer support. This is usefull on driver implementations which don't support EGL pbuffers.

The default is false.

Definition at line 1268 of file types.h.

◆ native_display

EGLNativeDisplayType AnboxGraphicsConfiguration::native_display

Native EGL display used to setup EGL

Definition at line 1237 of file types.h.

◆ native_window

EGLNativeWindowType AnboxGraphicsConfiguration::native_window

Native EGL window type used to create the main rendering surface. If set to NULL Anbox will assume rendering in headless mode.

Definition at line 1243 of file types.h.

◆ output_flip_mode

AnboxGraphicsFlipMode AnboxGraphicsConfiguration::output_flip_mode

If the GPU stores texture in a different orientation than the native one the flip mode can be used to tell Anbox to flip frame over during the final render pass.

Definition at line 1250 of file types.h.

◆ texture_format

AnboxGraphicsTextureFormat AnboxGraphicsConfiguration::texture_format

If the texture used for rendering should use a different format as it should to a video encoder the texture format can be used to tell Anbox to flip the color bits during the final render pass.

The default is RGBA.

Definition at line 1259 of file types.h.


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