Partager via


1.3 Overview

The graphics commands specified in section 2.2 are used to efficiently encode graphics display data generated in the session associated with a remote user and can be separated into five categories.

  1. Cache management commands are used to evict entries from a bitmap cache and to notify the server of cache entries stored in an optional client-side persistent bitmap cache.

    • RDPGFX_EVICT_CACHE_ENTRY_PDU (section 2.2.2.8)

    • RDPGFX_CACHE_IMPORT_OFFER_PDU (section 2.2.2.16)

    • RDPGFX_CACHE_IMPORT_REPLY_PDU (section 2.2.2.17)

  2. Surface management commands are used to manage the lifetime of offscreen surfaces, to map offscreen surfaces to a graphics output buffer, and to adjust the dimensions of any associated graphics output buffers.

    • RDPGFX_CREATE_SURFACE_PDU (section 2.2.2.9)

    • RDPGFX_DELETE_SURFACE_PDU (section 2.2.2.10)

    • RDPGFX_RESET_GRAPHICS_PDU (section 2.2.2.14)

    • RDPGFX_MAP_SURFACE_TO_OUTPUT_PDU (section 2.2.2.15)

  3. Framing commands are used to group graphics commands into logical frames and to indicate to the server that a frame has been decoded.

    • RDPGFX_START_FRAME_PDU (section 2.2.2.11)

    • RDPGFX_END_FRAME_PDU (section 2.2.2.12)

    • RDPGFX_FRAME_ACKNOWLEDGE_PDU (section 2.2.2.13)

  4. Capability exchange commands are used to exchange capability sets (section 2.2.1.4).

    • RDPGFX_CAPS_ADVERTISE_PDU (section 2.2.2.18)

    • RDPGFX_CAPS_CONFIRM_PDU (section 2.2.2.19)

  5. Blit commands are used to transfer bitmaps from the server to an offscreen surface on the client, transfer bitmaps between offscreen surfaces, transfer bitmaps between offscreen surfaces and a bitmap cache, and to fill a rectangular region on an offscreen surface with a predefined color.

    • RDPGFX_WIRE_TO_SURFACE_PDU_1 (section 2.2.2.1)

    • RDPGFX_WIRE_TO_SURFACE_PDU_2 (section 2.2.2.2)

    • RDPGFX_DELETE_ENCODING_CONTEXT_PDU (section 2.2.2.3)

    • RDPGFX_SOLIDFILL_PDU (section 2.2.2.4)

    • RDPGFX_SURFACE_TO_SURFACE_PDU (section 2.2.2.5)

    • RDPGFX_SURFACE_TO_CACHE_PDU (section 2.2.2.6)

    • RDPGFX_CACHE_TO_SURFACE_PDU (section 2.2.2.7)

Overview of the blit commands

Figure 1: Overview of the blit commands

For more details regarding the graphics protocol behavior, sequencing, and processing rules, see section 3.