Home | History | Annotate | Download | only in functional

Lines Matching full:restart

21  * \brief Primitive restart tests.
124 bool m_beginWithRestart; // Whether there will be restart indices at the beginning of the index array.
125 bool m_endWithRestart; // Whether there will be restart indices at the end of the index array.
255 // If testing a case with restart at beginning, add it there.
286 if (row < numRows - 1) // Add a restart after all but last row.
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
353 if (stripNdx < numStrips - 1) // Add a restart after all but last strip.
394 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
425 if (rowNdx < numRows - 1) // Add a restart after all but last row.
436 // If testing a case with restart at end, add it there.
489 // Render reference (same scene as the real deal, but emulate primitive restart without actually using it).
552 // Find the largest non-restart index in the index array (for glDrawRangeElements() end parameter).
573 GLU_CHECK_MSG("Enable primitive restart");
596 GLU_CHECK_MSG("Disable primitive restart");
600 // Draw, emulating primitive restart.
606 int indexArrayStartNdx = 0; // Keep track of the draw start index - first index after a primitive restart, or initially the first index altogether.
610 if (indexArrayNdx >= numIndices || getIndex(indexArrayNdx) == restartIndex) // \note Handle end of array the same way as a restart index encounter.
620 indexArrayStartNdx = indexArrayNdx + 1; // Next draw starts just after this restart index.
628 : TestCaseGroup(context, "primitive_restart", "Primitive restart tests")