Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom)
1.6.1.1.10.3 GFX_DoubleBufferDisable Function
This function disables the double buffering feature of the graphics library.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_DoubleBufferDisable();
Returns
Status of the double buffering feature disabling. GFX_STATUS_SUCCESS - the double buffering was successfully disabled.
GFX_STATUS_FAILURE - the double buffering was not successfully disabled.
Description
When double buffering is enabled, calling this function disables the double buffering feature of the graphics library.
After this function executes, all rendering will be performed on the frame buffer.
Preconditions
None.
Example
None.
Function
GFX_STATUS GFX_DoubleBufferDisable(void)
1.6.1.1.10.4 GFX_DoubleBufferEnable Function
This function enables the double buffering feature of the graphics library.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_DoubleBufferEnable();
Returns
Status of the double buffering feature enabling. GFX_STATUS_SUCCESS - the double buffering was successfully enabled.
GFX_STATUS_FAILURE - the double buffering was not successfully enabled.
Description
Double buffering is a feature where two buffers are utilized to perform rendering on one buffer while displaying the other
buffer. The frame buffer is the buffer that is being displayed while the draw buffer is used for rendering.
When this function is called, the buffer with index number 0 is set as the draw buffer while the buffer with index number 1 is
set as the frame buffer. Synchronization of the two buffers is scheduled and sets the count of unsynchronized areas to zero.
Preconditions
None.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
129
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf