How to: Play Back a Command List

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

A command list is a recorded list of rendering commands. Use a command list to pre-record drawing commands and play them back later. This topic shows how to play back a command list. A command list can be used to split rendering tasks between threads.

This section describes how to play back a command list. For recording a command list, see How to: Record a Command List.

Ff476886.wedge(en-us,VS.85).gifTo play back a command list

ExecuteCommandList must be executed on the immediate context for recorded commands to be run on the graphics processing unit (GPU). Use the immediate context to feed commands to the GPU for execution, use a deferred context to record commands for playback onto another command list. When you call ExecuteCommandList onto another deferred context, you create a ‘merged’ deferred command list. To run the commands on the merged deferred command list, you need to execute them on the immediate context.

Related topics

Command List

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.