2.2.9.2.3 Frame Marker Command (TS_FRAME_MARKER)

The Frame Marker Command is used to group multiple surface commands so that these commands can be processed and presented to the user as a single entity, a frame.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cmdType

frameAction

frameId

cmdType (2 bytes): A 16-bit, unsigned integer. Surface Command type. This field MUST be set to CMDTYPE_FRAME_MARKER (0x0004).

frameAction (2 bytes): A 16-bit, unsigned integer. Identifies the beginning and end of a frame.

Value

Meaning

SURFACECMD_FRAMEACTION_BEGIN

0x0000

Indicates the start of a new frame.

SURFACECMD_FRAMEACTION_END

0x0001

Indicates the end of the current frame.

frameId (4 bytes): A 32-bit, unsigned integer. The ID identifying the frame.