3.2.5.1.2.1 Processing Secondary Drawing Orders

All secondary drawing orders are identified by the Secondary Drawing Order Header (section 2.2.2.2.1.2.1.1) and are used to manipulate the RDP caches (section 3.1.1.1):

  • The Cache Bitmap (Revision 1) Secondary Drawing Order (section 3.2.5.1.2.1.1) manages the Revision 1 Bitmap Caches (section 3.1.1.1.1).

  • The Cache Bitmap (Revision 2) Secondary Drawing Order (section 3.2.5.1.2.1.2) and Cache Bitmap (Revision 3) Secondary Drawing Order (section 2.2.2.2.1.2.8) manage the Revision 2 Bitmap Caches (section 3.1.1.1.1).

  • The Cache Color Table Secondary Drawing Order (section 3.2.5.1.2.1.3) manages the Color Table Cache (section 3.1.1.1.3).

  • The Revision 1 and 2 Cache Glyph Secondary Drawing Orders (sections 3.2.5.1.2.1.4 and 3.2.5.1.2.1.5) manage the Glyph Cache (section 3.1.1.1.2).

  • The Cache Brush Secondary Drawing Order (section 3.2.5.1.2.1.6) manages the Brush Cache (section 3.1.1.1.4).

If the client has not advertised support for a particular cache type, it SHOULD ignore any secondary and primary drawing orders associated with that cache, if they are sent by the server.