Home
last modified time | relevance | path

Searched refs:DrawTestSpec (Results 1 - 9 of 9) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDrawTests.cpp52 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIterationType type) 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 in genBasicSpec()
[all...]
/third_party/vk-gl-cts/modules/gles2/stress/
H A 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 in genBasicSpec()
[all...]
/third_party/vk-gl-cts/modules/gles3/stress/
H A 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 in genBasicSpec()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawElementsBaseVertexTests.cpp64 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) : (primitiveCount); in getElementCount()
75 case gls::DrawTestSpec::PRIMITIVE_LINES_ADJACENCY: return primitiveCount * 4; in getElementCount()
76 case gls::DrawTestSpec in getElementCount()
[all...]
H A Des31fDrawTests.cpp153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations()
181 static void genBasicSpec (gls::DrawTestSpec& spec, glu::ContextType contextType, 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 in genBasicSpec()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawTests.cpp54 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIterationType type) 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 in genBasicSpec()
[all...]
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sDrawTests.cpp361 gls::DrawTestSpec::Primitive primitives[] =
363 gls::DrawTestSpec::PRIMITIVE_POINTS,
364 gls::DrawTestSpec::PRIMITIVE_TRIANGLES,
365 gls::DrawTestSpec::PRIMITIVE_TRIANGLE_FAN,
366 gls::DrawTestSpec::PRIMITIVE_TRIANGLE_STRIP,
367 gls::DrawTestSpec::PRIMITIVE_LINES,
368 gls::DrawTestSpec::PRIMITIVE_LINE_STRIP,
369 gls::DrawTestSpec::PRIMITIVE_LINE_LOOP
373 gls::DrawTestSpec::DrawMethod drawMethods[] =
375 gls::DrawTestSpec
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsDrawTest.cpp80 static GLenum targetToGL (DrawTestSpec::Target target) in targetToGL()
88 return de::getSizedArrayElement<DrawTestSpec::TARGET_LAST>(targets, (int)target); in targetToGL()
91 static GLenum usageToGL (DrawTestSpec::Usage usage) in usageToGL()
109 return de::getSizedArrayElement<DrawTestSpec::USAGE_LAST>(usages, (int)usage); in usageToGL()
112 static GLenum inputTypeToGL (DrawTestSpec::InputType type) in inputTypeToGL()
131 return de::getSizedArrayElement<DrawTestSpec::INPUTTYPE_LAST>(types, (int)type); in inputTypeToGL()
134 static std::string outputTypeToGLType (DrawTestSpec::OutputType type) in outputTypeToGLType()
155 return de::getSizedArrayElement<DrawTestSpec::OUTPUTTYPE_LAST>(types, (int)type); in outputTypeToGLType()
158 static GLenum primitiveToGL (DrawTestSpec::Primitive primitive) in primitiveToGL()
175 return de::getSizedArrayElement<DrawTestSpec in primitiveToGL()
2846 DrawTestSpec::DrawTestSpec (void) DrawTestSpec() function in deqp::gls::DrawTestSpec
[all...]
H A DglsDrawTest.hpp51 struct DrawTestSpec struct
240 DrawTestSpec (void);
250 DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, const char* name, const char* desc);
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;

Completed in 11 milliseconds