Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Description
Double buffering mode maintains an array of these GFX_RECTANGULAR_AREA that needs synchronization. The array
serves as a list of pixel areas that needs to be synchronized.
This function returns a rectangular area that needs synchronization specified by the given index. The returned value is a
pointer to the structure GFX_RECTANGULAR_AREA that describes the rectangular area of interest.
Preconditions
Double buffering feature must be enabled.
Example
None.
Parameters
Parameters Description
index the index of the rectangular area located in the array of
areas that needs synchronization.
Function
GFX_RECTANGULAR_AREA GFX_DoubleBufferAreaGet(uint16_t index)
1.6.1.1.10.2 GFX_DoubleBufferAreaMark Function
This function adds the given rectangular area as an area that will be included in the list of areas for synchronization.
File
gfx_primitive.h
Syntax
void GFX_DoubleBufferAreaMark(uint16_t left, uint16_t top, uint16_t right, uint16_t bottom);
Returns
None.
Description
When double buffering mode is enabled, this function adds the given rectangular area into the list of rectangular areas for
synchronization. When this function is called, the given rectangular area is assumed to contain new pixel information and is
added into the list of areas to be synchronized.
Synchronization can be scheduled using the GFX_DoubleBufferSynchronizeRequest() or immediately performed using
GFX_DoubleBufferSynchronize().
Preconditions
Double buffering feature must be enabled.
Example
None.
Parameters
Parameters Description
left defines the left most pixel of the rectangular area.
top defines the top most pixel of the rectangular area.
right defines the right most pixel of the rectangular area.
bottom defines the bottom most pixel of the rectangular area.
Function
void GFX_DoubleBufferAreaMark(
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
128

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh