2.2.2.2.1.3.7 Frame Marker

The Frame Marker Alternate Secondary Drawing Order is used by the server to indicate to the client the beginning and end of a logical frame of graphics data. Breaking graphics data up into logical frames indicates to the client which orders SHOULD be rendered as a logical unit, hence helping to prevent screen tearing. Support for frame markers is specified in the Order Capability Set (see [MS-RDPBCGR] section 2.2.7.1.3).


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

header

action

...

header (1 byte): An Alternate Secondary Drawing Order Header, as defined in section 2.2.2.2.1.3.1.1. The embedded orderType field MUST be set to TS_ALTSEC_FRAME_MARKER (0x0D).

action (4 bytes): A 32-bit, unsigned integer. Indicates the start or end of a logical frame.

Value

Meaning

TS_FRAME_START

0x00000000

Start of a logical frame of graphics data. All drawing orders from this point in the graphics stream are part of the same logical frame and can be rendered as one cohesive unit to prevent tearing.

TS_FRAME_END

0x00000001

End of a logical frame of graphics data.