Home
last modified time | relevance | path

Searched refs:DrawTestSpec (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp52 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/
Des2sDrawTests.cpp44 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/
Des3fDrawTests.cpp54 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/
Des3sDrawTests.cpp225 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/glshared/
DglsDrawTest.cpp78 static GLenum targetToGL (DrawTestSpec::Target target) in targetToGL()
86 return de::getSizedArrayElement<DrawTestSpec::TARGET_LAST>(targets, (int)target); in targetToGL()
89 static GLenum usageToGL (DrawTestSpec::Usage usage) in usageToGL()
107 return de::getSizedArrayElement<DrawTestSpec::USAGE_LAST>(usages, (int)usage); in usageToGL()
110 static GLenum inputTypeToGL (DrawTestSpec::InputType type) in inputTypeToGL()
129 return de::getSizedArrayElement<DrawTestSpec::INPUTTYPE_LAST>(types, (int)type); in inputTypeToGL()
132 static std::string outputTypeToGLType (DrawTestSpec::OutputType type) in outputTypeToGLType()
153 return de::getSizedArrayElement<DrawTestSpec::OUTPUTTYPE_LAST>(types, (int)type); in outputTypeToGLType()
156 static GLenum primitiveToGL (DrawTestSpec::Primitive primitive) in primitiveToGL()
173 return de::getSizedArrayElement<DrawTestSpec::PRIMITIVE_LAST>(primitives, (int)primitive); in primitiveToGL()
[all …]
DglsDrawTest.hpp46 struct DrawTestSpec struct
235 DrawTestSpec (void);
245 …DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, c…
249 void addIteration (const DrawTestSpec& spec, const char* description = DE_NULL);
256 bool compare (gls::DrawTestSpec::Primitive primitiveType);
257 float getCoordScale (const DrawTestSpec& spec) const;
258 float getColorScale (const DrawTestSpec& spec) const;
273 std::vector<DrawTestSpec> m_specs;
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp361 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 …]
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp153 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 …]