Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.6.1.1.10.17 GFX_FrameBufferGet Function
This function returns the index of the current frame buffer.
File
gfx_primitive.h
Syntax
uint16_t GFX_FrameBufferGet();
Returns
The index of the current frame buffer set.
Description
This function returns the index of the current frame buffer. Frame buffer is the buffer that is currently displayed in the screen.
For systems with single buffer this function will always return 0.
Preconditions
None.
Example
None.
Function
uint16_t GFX_FrameBufferGet(void)
1.6.1.1.10.18 GFX_FrameBufferSet Function
This function sets the frame buffer with the given index number.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_FrameBufferSet(uint16_t index);
Returns
Status of the draw buffer set. GFX_STATUS_SUCCESS - the draw buffer was successfully set. GFX_STATUS_FAILURE -
the draw buffer was not successfully set.
Description
This function sets the frame buffer with the given index number. This is the buffer that is displayed on the screen. For
systems with single buffer, frame buffer and draw buffer are the same buffer. Calls to this function will have no effect and will
always return GFX_STATUS_SUCCESS.
Preconditions
None.
Example
None.
Parameters
Parameters Description
index the index of the buffer to be set as the frame buffer.
Function
GFX_STATUS GFX_FrameBufferSet(uint16_t index)
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
136
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf