Home | History | Annotate | Download | only in core

Lines Matching refs:DRAW

29 *        The DRAW_CONTEXT contains all state associated with a draw operation.
149 DRAW,
175 uint32_t numIndices; // DrawIndexed: Number of indices for draw.
176 uint32_t numVerts; // Draw: Number of verts (triangles, lines, etc)
181 uint32_t startVertex; // Draw: Starting vertex in VB to render from.
186 uint32_t startPrimID; // starting primitiveID for this draw batch
187 uint32_t startVertexID; // starting VertexID for this draw batch (only needed for non-indexed draws)
199 DRAW_WORK draw;
350 // Draw State
355 void* pPrivateState; // Its required the driver sets this up for each draw.
357 // pipeline function pointers, filled in by API thread when setting up the draw
373 ///@todo Currently assumes only a single FE can do stream output for a draw.
381 // Draw Context
382 // The api thread sets up a draw context that exists for the life of the draw.
383 // This draw context maintains all of the state needed for the draw operation.
401 bool cleanupState; // True if this is the last draw using an entry in the state ring.
402 volatile bool doneFE; // Is FE work done for this draw?
436 // Draw Context Ring
437 // Each draw needs its own state in order to support mulitple draws in flight across multiple threads.
438 // We maintain N draw contexts configured as a ring. The size of the ring limits the maximum number
442 // 1. State - When an application first sets state we'll request a new draw context to use.
443 // a. If there are no available draw contexts then we'll have to wait until one becomes free.
446 // 2. Draw - Creates submits a work item that is associated with current draw context.
449 // 3. State - When an applications sets state after draw
451 // b. State is copied from prev draw context to current.
454 DRAW_CONTEXT *pCurDrawContext; // This points to DC entry in ring for an unsubmitted draw.
460 // Draw State Ring
461 // When draw are very large (lots of primitives) then the API thread will break these up.
463 // in the Draw Context (DC) we instead store it in a Draw State (DS). This allows multiple DCs