Graphics Reference
In-Depth Information
In both cases, the existing state of the pipeline is never shared with the command list, and
the state introduced by the command list execution is never left active on the immediate
context. These two possible execution paths are depicted below in Figure 7.6.
7.4.2 The Deferred Context State
The deferred context also contains the same pipeline state structure that the immediate con-
text possesses. When the deferred context is created, it starts out with a default pipeline state.
As the pipeline state is modified through use of the deferred context, the state-changing
calls are accumulated until the application calls FinishCommandList () to generate a com-
mand list. Similar to the immediate context state when calling ExecuteCommandList(),
the deferred context pipeline state will be handled by a Boolean parameter passed to the
FinishCommandList() method. If the passed parameter is set to false, the deferred
Figure 7.7. The two possible ways to handle the deferred context pipeline state after generating a command
list.
Search WWH ::




Custom Search