Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.5.1.3 GFX_CONFIG_COLOR_DEPTH Macro
Macro that sets the color depth of the application.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_COLOR_DEPTH 16
Description
Macro: GFX_CONFIG_COLOR_DEPTH
This macro sets the color depth used in the application. The library functions are also set to use the set color depth. The
valid values for the color depth are the following: 1, 4, 8, 16 and 24 bpp. Usage of each is dependent on the support
available on the display driver used. See the specific display driver documentation to verify support of the chosen color depth.
If this macro is not set, a build error will be generated.
Remarks
None.
1.5.1.4 GFX_CONFIG_DOUBLE_BUFFERING_DISABLE Macro
Macro disables the support for double buffering in rendering of pixels to the frame buffer.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_DOUBLE_BUFFERING_DISABLE
Description
Macro: GFX_CONFIG_DOUBLE_BUFFERING_DISABLE
In cases where display drivers has the resources for more than one display buffer, double buffering can be implemented in
the driver. This allows application to hide the rendering effects by rendering on a hidden buffer and displaying another one.
Once the rendering is done, the buffer are swapped. This gives an instantaneous change in the buffers which makes the
change in the screen contents fast. The display driver must support the feature for this mode to work.
In drivers where this feature is not supported, this macro has no effect. In drivers that supports this feature, adding this
macro will disable the feature.
Remarks
None.
1.5.1.5 GFX_CONFIG_FOCUS_DISABLE Macro
Macro that disables the focus feature in objects.
File
gfx_config_template.h
Syntax
#define GFX_CONFIG_FOCUS_DISABLE
1.5 Configuring the Library MLA - Graphics Library Help Configuration Options
62
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf