Lines Matching defs:PrimitiveRestartCase

57 class PrimitiveRestartCase : public TestCase
91 PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts);
92 ~PrimitiveRestartCase (void);
99 PrimitiveRestartCase (const PrimitiveRestartCase& other);
100 PrimitiveRestartCase& operator= (const PrimitiveRestartCase& other);
131 PrimitiveRestartCase::PrimitiveRestartCase (Context& context, const char* name, const char* description, PrimitiveType primType, IndexType indexType, Function function, bool beginWithRestart, bool endWithRestart, bool duplicateRestarts)
143 PrimitiveRestartCase::~PrimitiveRestartCase (void)
145 PrimitiveRestartCase::deinit();
148 void PrimitiveRestartCase::deinit (void)
154 void PrimitiveRestartCase::addIndex (deUint32 index)
175 deUint32 PrimitiveRestartCase::getIndex (int indexNdx)
188 int PrimitiveRestartCase::getNumIndices (void)
202 void* PrimitiveRestartCase::getIndexPtr (int indexNdx)
215 void PrimitiveRestartCase::init (void)
472 PrimitiveRestartCase::IterateResult PrimitiveRestartCase::iterate (void)
522 void PrimitiveRestartCase::draw (int startNdx, int count)
583 void PrimitiveRestartCase::renderWithRestart (void)
585 GLU_CHECK_MSG("PrimitiveRestartCase::renderWithRestart() begin");
590 GLU_CHECK_MSG("Clear in PrimitiveRestartCase::renderWithRestart()");
594 GLU_CHECK_MSG("Draw in PrimitiveRestartCase::renderWithRestart()");
596 GLU_CHECK_MSG("PrimitiveRestartCase::renderWithRestart() end");
599 void PrimitiveRestartCase::renderWithoutRestart (void)
601 GLU_CHECK_MSG("PrimitiveRestartCase::renderWithoutRestart() begin");
613 GLU_CHECK_MSG("Clear in PrimitiveRestartCase::renderWithoutRestart()");
632 GLU_CHECK_MSG("Draw in PrimitiveRestartCase::renderWithoutRestart()");
639 GLU_CHECK_MSG("PrimitiveRestartCase::renderWithoutRestart() end");
673 for (int primType = 0; primType < (int)PrimitiveRestartCase::PRIMITIVE_LAST; primType++)
675 const char* primTypeName = primType == (int)PrimitiveRestartCase::PRIMITIVE_POINTS ? "points"
676 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_STRIP ? "line_strip"
677 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINE_LOOP ? "line_loop"
678 : primType == (int)PrimitiveRestartCase::PRIMITIVE_LINES ? "lines"
679 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_STRIP ? "triangle_strip"
680 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLE_FAN ? "triangle_fan"
681 : primType == (int)PrimitiveRestartCase::PRIMITIVE_TRIANGLES ? "triangles"
689 for (int indexType = 0; indexType < (int)PrimitiveRestartCase::INDEX_LAST; indexType++)
691 const char *indexTypeName = indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_BYTE ? "unsigned_byte"
692 : indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_SHORT ? "unsigned_short"
693 : indexType == (int)PrimitiveRestartCase::INDEX_UNSIGNED_INT ? "unsigned_int"
701 for (int function = 0; function < (int)PrimitiveRestartCase::FUNCTION_LAST; function++)
703 const char* functionName = function == (int)PrimitiveRestartCase::FUNCTION_DRAW_ELEMENTS ? "draw_elements"
704 : function == (int)PrimitiveRestartCase::FUNCTION_DRAW_ELEMENTS_INSTANCED ? "draw_elements_instanced"
705 : function == (int)PrimitiveRestartCase::FUNCTION_DRAW_RANGE_ELEMENTS ? "draw_range_elements"
710 indexTypeGroup->addChild(new PrimitiveRestartCase(m_context,
713 (PrimitiveRestartCase::PrimitiveType)primType,
714 (PrimitiveRestartCase::IndexType)indexType,
715 (PrimitiveRestartCase::Function)function,