Searched refs:DrawTestSpec (Results 1 – 9 of 9) sorted by relevance
/external/deqp/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 52 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIteratio… in addTestIterations() 54 gls::DrawTestSpec spec(baseSpec); in addTestIterations() 71 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 74 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec() 77 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec() 79 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec() 87 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 88 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() 89 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 90 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 44 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 47 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec() 50 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec() 52 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec() 60 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 61 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() 62 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 63 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() 71 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 72 spec.attribs[1].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fDrawTests.cpp | 54 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIteratio… in addTestIterations() 56 gls::DrawTestSpec spec(baseSpec); in addTestIterations() 91 if (spec.primitive == gls::DrawTestSpec::PRIMITIVE_POINTS) in addTestIterations() 102 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 105 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec() 108 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec() 110 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec() 118 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 119 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() 120 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 225 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 228 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec() 231 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec() 233 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec() 241 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 242 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() 243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 244 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() 252 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 253 spec.attribs[1].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 64 static size_t getElementCount (gls::DrawTestSpec::Primitive primitive, size_t primitiveCount) in getElementCount() 68 case gls::DrawTestSpec::PRIMITIVE_POINTS: return primitiveCount; in getElementCount() 69 case gls::DrawTestSpec::PRIMITIVE_TRIANGLES: return primitiveCount * 3; in getElementCount() 70 case gls::DrawTestSpec::PRIMITIVE_TRIANGLE_FAN: return primitiveCount + 2; in getElementCount() 71 case gls::DrawTestSpec::PRIMITIVE_TRIANGLE_STRIP: return primitiveCount + 2; in getElementCount() 72 case gls::DrawTestSpec::PRIMITIVE_LINES: return primitiveCount * 2; in getElementCount() 73 case gls::DrawTestSpec::PRIMITIVE_LINE_STRIP: return primitiveCount + 1; in getElementCount() 74 …case gls::DrawTestSpec::PRIMITIVE_LINE_LOOP: return (primitiveCount==1) ? (2) : (primitiveCoun… in getElementCount() 75 case gls::DrawTestSpec::PRIMITIVE_LINES_ADJACENCY: return primitiveCount * 4; in getElementCount() 76 case gls::DrawTestSpec::PRIMITIVE_LINE_STRIP_ADJACENCY: return primitiveCount + 3; in getElementCount() [all …]
|
D | es31fDrawTests.cpp | 153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations() 181 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 184 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES; in genBasicSpec() 187 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST; in genBasicSpec() 189 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST; in genBasicSpec() 198 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 199 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec() 200 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec() 201 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() 209 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() [all …]
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 79 static GLenum targetToGL (DrawTestSpec::Target target) in targetToGL() 87 return de::getSizedArrayElement<DrawTestSpec::TARGET_LAST>(targets, (int)target); in targetToGL() 90 static GLenum usageToGL (DrawTestSpec::Usage usage) in usageToGL() 108 return de::getSizedArrayElement<DrawTestSpec::USAGE_LAST>(usages, (int)usage); in usageToGL() 111 static GLenum inputTypeToGL (DrawTestSpec::InputType type) in inputTypeToGL() 130 return de::getSizedArrayElement<DrawTestSpec::INPUTTYPE_LAST>(types, (int)type); in inputTypeToGL() 133 static std::string outputTypeToGLType (DrawTestSpec::OutputType type) in outputTypeToGLType() 154 return de::getSizedArrayElement<DrawTestSpec::OUTPUTTYPE_LAST>(types, (int)type); in outputTypeToGLType() 157 static GLenum primitiveToGL (DrawTestSpec::Primitive primitive) in primitiveToGL() 174 return de::getSizedArrayElement<DrawTestSpec::PRIMITIVE_LAST>(primitives, (int)primitive); in primitiveToGL() [all …]
|
D | glsDrawTest.hpp | 51 struct DrawTestSpec struct 240 DrawTestSpec (void); 250 …DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, c… 254 void addIteration (const DrawTestSpec& spec, const char* description = DE_NULL); 261 bool compare (gls::DrawTestSpec::Primitive primitiveType); 262 float getCoordScale (const DrawTestSpec& spec) const; 263 float getColorScale (const DrawTestSpec& spec) const; 279 std::vector<DrawTestSpec> m_specs;
|
/external/deqp/modules/gles31/stress/ |
D | es31sDrawTests.cpp | 361 gls::DrawTestSpec::Primitive primitives[] = in init() 363 gls::DrawTestSpec::PRIMITIVE_POINTS, in init() 364 gls::DrawTestSpec::PRIMITIVE_TRIANGLES, in init() 365 gls::DrawTestSpec::PRIMITIVE_TRIANGLE_FAN, in init() 366 gls::DrawTestSpec::PRIMITIVE_TRIANGLE_STRIP, in init() 367 gls::DrawTestSpec::PRIMITIVE_LINES, in init() 368 gls::DrawTestSpec::PRIMITIVE_LINE_STRIP, in init() 369 gls::DrawTestSpec::PRIMITIVE_LINE_LOOP in init() 373 gls::DrawTestSpec::DrawMethod drawMethods[] = in init() 375 gls::DrawTestSpec::DRAWMETHOD_DRAWARRAYS_INDIRECT, in init() [all …]
|