3.3.5.1.2.1.6 Construction of Cache Brush

The structure and fields of the Cache Brush Secondary Drawing Order are specified in section 2.2.2.2.1.2.7. The order fields MUST be populated in accordance with this description.

The brushes that are cached by the Cache Brush Secondary Drawing Order can be consumed by a number of primary drawing orders:

The cache index to use is selected by the server based on the management policies that are implemented (for example, an LRU policy might be in effect).

The Cache Brush Order MUST NOT be sent to the client if support for brush caching was not specified using the Brush Capability Set (see [MS-RDPBCGR] section 2.2.7.1.7). Furthermore, if the client does not support any primary drawing orders that use cached brushes, the Cache Brush Order SHOULD NOT be sent to the client.