struct CreateSyncKHRCmdHeader

Defined at line 86 of file ../../src/graphics/drivers/misc/goldfish_control/render_control_commands.h

Encoded rcCreateSyncKHR commands have the following layout:

- uint32_t opcode

- uint32_t total command size

- uint32_t type [input argument]

- uint32_t byte-size of attribs array

- int32_t[] attribs [input argument]

- uint32_t byte-size of attribs array

- int32_t destroy_when_signaled [input argument]

- uint32_t size of size_glsync_out (output) [const]

- uint32_t size of size_syncthread_out (output) [const]

Since the size of attribs array is variable, the size of generated

command is also variable. So we separate the command into three parts:

header, attribs array, and footer.

Public Members

uint32_t op
uint32_t size
uint32_t type
uint32_t attribs_size