Home | History | Annotate | Download | only in core

Lines Matching refs:DRAW

264     // Set current draw context to NULL so that next state call forces a new draw context to be created and populated.
282 // If current draw context is null then need to obtain a new draw context to use from ring.
316 // If we're splitting our draw then we can just use the same state from the previous
317 // draw. In this case, we won't increment the DS ring index so the next non-split
318 // draw can receive the state.
332 // If its a split draw then just copy the state pointer over
333 // since its the same draw.
367 SWR_ASSERT(isSplitDraw == false, "Split draw should only be used when obtaining a new DC");
986 // complicated logic to test for cases where we don't need backing hottile memory for a draw
1053 /// @param pDC - Draw context to initialize for this draw.
1058 // We don't need to re-setup the scissors/pipeline state again for split draw.
1069 /// @brief We can split the draw for certain topologies for better performance.
1070 /// @param totalVerts - Total vertices for draw
1071 /// @param topology - Topology used for draw
1149 /// @param topology - Specifies topology for draw.
1151 /// @param startVertex - Specifies start vertex for draw. (vertex data)
1193 int draw = 0;
1199 bool isSplitDraw = (draw > 0) ? true : false;
1203 pDC->FeWork.type = DRAW;
1211 pDC->FeWork.desc.draw.numVerts = numVertsForDraw;
1212 pDC->FeWork.desc.draw.startVertex = startVertex;
1213 pDC->FeWork.desc.draw.numInstances = numInstances;
1214 pDC->FeWork.desc.draw.startInstance = startInstance;
1215 pDC->FeWork.desc.draw.startPrimID = draw * primsPerDraw;
1216 pDC->FeWork.desc.draw.startVertexID = draw * maxVertsPerDraw;
1226 draw++;
1239 /// @param topology - Specifies topology for draw.
1240 /// @param startVertex - Specifies start vertex in vertex buffer for draw.
1254 /// @param topology - Specifies topology for draw.
1257 /// @param startVertex - Specifies start vertex for draw. (vertex data)
1274 /// @param topology - Specifies topology for draw.
1315 int draw = 0;
1339 // When breaking up draw, we need to obtain new draw context for each iteration.
1340 bool isSplitDraw = (draw > 0) ? true : false;
1345 pDC->FeWork.type = DRAW;
1353 pDC->FeWork.desc.draw.pDC = pDC;
1354 pDC->FeWork.desc.draw.numIndices = numIndicesForDraw;
1355 pDC->FeWork.desc.draw.pIB = (int*)pIB;
1356 pDC->FeWork.desc.draw.type = pDC->pState->state.indexBuffer.format;
1358 pDC->FeWork.desc.draw.numInstances = numInstances;
1359 pDC->FeWork.desc.draw.startInstance = startInstance;
1360 pDC->FeWork.desc.draw.baseVertex = baseVertex;
1361 pDC->FeWork.desc.draw.startPrimID = draw * primsPerDraw;
1372 draw++;
1386 /// @param topology - Specifies topology for draw.
1404 /// @param topology - Specifies topology for draw.
1604 // enqueue draw
1612 /// draw operation. This is used for external componets such as the
1632 /// @brief Clients can use this to allocate memory for draw/dispatch