3.2.5 Message Processing Events and Sequencing Rules
It is unnecessary for the sink to display the mouse pointer for every individual shape or position message received—just the most recent one. For example, if during one frame the sink receives 10 position updates and 5 shape changes, then the mouse pointer position and shape for the next frame should be the most recent position and shape that the sink received.
For example:
|
Event |
Frame number being scanned out to TV/monitor |
Mouse position displayed on screen |
Mouse shape displayed on screen |
|---|---|---|---|
|
VSync of TV/monitor |
0 |
Pos1 |
Shape1 |
|
VSync of TV/monitor |
1 |
Pos1 |
Shape1 |
|
Receive new mouse position Pos2 |
1 |
Pos1 |
Shape1 |
|
Receive new mouse position Pos3 |
1 |
Pos1 |
Shape1 |
|
Receive new mouse shape Shape2 Pos 4 |
1 |
Pos1 |
Shape1 |
|
VSync of TV/monitor |
2 |
Pos4 |
Shape2 |
|
Receive new mouse position Pos5 |
2 |
Pos4 |
Shape2 |
|
Receive new mouse shape Shape3 Pos 6 |
2 |
Pos4 |
Shape2 |
|
Receive new mouse position Pos7 |
2 |
Pos4 |
Shape2 |
|
Receive new mouse shape Shape4 Pos 8 |
2 |
Pos4 |
Shape2 |
|
Receive new mouse position Pos9 |
2 |
Pos4 |
Shape2 |
|
Receive new mouse position Pos10 |
2 |
Pos4 |
Shape2 |
|
VSync of TV/monitor |
3 |
Pos10 |
Shape4 |