Home | History | Annotate | Download | only in glshared

Lines Matching refs:DrawMethod

266 static MethodInfo getMethodInfo (gls::DrawTestSpec::DrawMethod method)
1763 void render (DrawTestSpec::Primitive primitive, DrawTestSpec::DrawMethod drawMethod, int firstVertex, int vertexCount, DrawTestSpec::IndexType indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray);
1842 void AttributePack::render (DrawTestSpec::Primitive primitive, DrawTestSpec::DrawMethod drawMethod, int firstVertex, int vertexCount, DrawTestSpec::IndexType indexType, const void* indexOffset, int rangeStart, int rangeEnd, int instanceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray* indexArray)
1879 if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWARRAYS)
1884 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWARRAYS_INSTANCED)
1889 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS)
1894 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_RANGED)
1899 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_INSTANCED)
1904 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWARRAYS_INDIRECT)
1949 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_INDIRECT)
2000 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_BASEVERTEX)
2005 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_INSTANCED_BASEVERTEX)
2010 else if (drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_RANGED_BASEVERTEX)
2360 std::string DrawTestSpec::drawMethodToString (DrawTestSpec::DrawMethod method)
2417 const MethodInfo methodInfo = getMethodInfo(drawMethod);
2550 if (drawMethod == DRAWMETHOD_DRAWARRAYS)
2556 else if (drawMethod == DRAWMETHOD_DRAWARRAYS_INSTANCED)
2563 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS)
2571 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_RANGED)
2581 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INSTANCED)
2590 else if (drawMethod == DRAWMETHOD_DRAWARRAYS_INDIRECT)
2598 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INDIRECT)
2687 if (drawMethod == DRAWMETHOD_DRAWARRAYS)
2693 else if (drawMethod == DRAWMETHOD_DRAWARRAYS_INSTANCED)
2700 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS)
2708 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_RANGED)
2718 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INSTANCED)
2727 else if (drawMethod == DRAWMETHOD_DRAWARRAYS_INDIRECT)
2735 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INDIRECT)
2746 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_BASEVERTEX)
2755 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INSTANCED_BASEVERTEX)
2765 else if (drawMethod == DRAWMETHOD_DRAWELEMENTS_RANGED_BASEVERTEX)
2830 drawMethod = DRAWMETHOD_LAST;
2845 const MethodInfo methodInfo = getMethodInfo(drawMethod);
2859 const int basicHash = int(primitive) + 10 * primitiveCount + 100 * int(drawMethod);
2868 DE_ASSERT(drawMethod != DRAWMETHOD_LAST);
2870 const MethodInfo methodInfo = getMethodInfo(drawMethod);
2902 if (drawMethod != gls::DrawTestSpec::DRAWMETHOD_DRAWARRAYS && drawMethod != gls::DrawTestSpec::DRAWMETHOD_DRAWELEMENTS)
2904 if (drawMethod == gls::DrawTestSpec::DRAWMETHOD_DRAWELEMENTS && (indexType != INDEXTYPE_BYTE && indexType != INDEXTYPE_SHORT))
2920 if (drawMethod == DRAWMETHOD_DRAWELEMENTS_INDIRECT)
2943 const MethodInfo methodInfo = getMethodInfo(drawMethod);
3161 if (spec.drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_BASEVERTEX ||
3162 spec.drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_INSTANCED_BASEVERTEX ||
3163 spec.drawMethod == DrawTestSpec::DRAWMETHOD_DRAWELEMENTS_RANGED_BASEVERTEX)
3177 const MethodInfo methodInfo = getMethodInfo(spec.drawMethod);
3282 m_glArrayPack->render(spec.primitive, spec.drawMethod, 0, (int)primitiveElementCount, spec.indexType, indexPointer, spec.indexMin, spec.indexMax, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, glArray.get());
3283 m_rrArrayPack->render(spec.primitive, spec.drawMethod, 0, (int)primitiveElementCount, spec.indexType, indexPointer, spec.indexMin, spec.indexMax, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, rrArray.get());
3296 m_glArrayPack->render(spec.primitive, spec.drawMethod, spec.first, (int)primitiveElementCount, DrawTestSpec::INDEXTYPE_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL);
3298 m_rrArrayPack->render(spec.primitive, spec.drawMethod, spec.first, (int)primitiveElementCount, DrawTestSpec::INDEXTYPE_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL);