HomeSort by relevance Sort by last modified time
    Searched refs:gls (Results 1 - 25 of 246) sorted by null

1 2 3 4 5 6 7 8 910

  /external/deqp/modules/gles2/functional/
es2fDrawTests.cpp 52 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIterationType type)
54 gls::DrawTestSpec spec(baseSpec);
71 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method)
74 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES;
77 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST;
79 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST;
87 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT;
88 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2
    [all...]
es2fAttribLocationTests.cpp 37 using namespace deqp::gls::AttributeLocationTestUtil;
72 bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRenderContext(), type));
85 bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.getRenderContext(), type));
100 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
104 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type, 1));
107 aliasingGroup->addChild(new gls::BindMaxAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
110 aliasingGroup->addChild(new gls::BindInactiveAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
125 holeGroup->addChild(new gls::BindHoleAttributeTest(context.getTestContext(), context.getRenderContext(), type));
135 bindTimeGroup->addChild(new gls::PreAttachBindAttributeTest(context.getTestContext(), context.getRenderContext()));
136 bindTimeGroup->addChild(new gls::PreLinkBindAttributeTest(context.getTestContext(), context.getRenderContext()))
    [all...]
es2fShaderExecuteTest.cpp 35 using namespace deqp::gls;
56 gls::ShaderLibrary shaderLibrary(m_testCtx, m_context.getRenderContext(), m_context.getContextInfo());
es2fLifetimeTests.cpp 40 namespace lt = gls::LifetimeTests;
es2fShaderTextureFunctionTests.cpp 185 typedef void (*TexEvalFunc) (gls::ShaderEvalContext& c, const TexLookupParams& lookupParams);
187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); }
188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); }
191 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; }
192 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; }
194 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; }
195 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; }
197 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; }
198 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; }
199 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), (…)
    [all...]
  /external/deqp/modules/glshared/
glsLongStressTestUtil.cpp 21 * \brief Utilities for tests with gls::LongStressCase.
42 namespace gls namespace in namespace:deqp
88 gls::ProgramContext ProgramLibrary::generateBufferContext (const int numDummyAttributes) const
126 gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragmentTemplate).c_str(), "a_position");
128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f)));
131 context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float)numDummyAttributes)));
136 gls::ProgramContext ProgramLibrary::generateTextureContext (const int numTextures, const int texWid, const int texHei, const float positionFactor) const
161 gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str(), "a_position");
163 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(positionFactor)));
164 context.attributes.push_back(gls::VarSpec("a_texCoord", Vec2(0.0f), Vec2(1.0f)))
    [all...]
glsLongStressTestUtil.hpp 23 * \brief Utilities for tests with gls::LongStressCase.
34 namespace gls namespace in namespace:deqp
44 gls::ProgramContext generateBufferContext (int numDummyAttributes) const;
45 gls::ProgramContext generateTextureContext (int numTextureObjects, int texWid, int texHei, float positionFactor) const;
46 gls::ProgramContext generateBufferAndTextureContext (int numTextures, int texWid, int texHei) const;
47 gls::ProgramContext generateFragmentPointLightContext (int texWid, int texHei) const;
48 gls::ProgramContext generateVertexUniformLoopLightContext (int texWid, int texHei) const;
58 } // gls
glsFragOpInteractionCase.hpp 44 namespace gls namespace in namespace:deqp
74 gls::RandomShaderProgram* m_program;
87 } // gls
glsBuiltinPrecisionTests.hpp 36 namespace gls namespace in namespace:deqp
64 } // gls
glsShaderLibrary.hpp 35 namespace gls namespace in namespace:deqp
55 } // gls
glsInteractionTestUtil.hpp 38 namespace gls namespace in namespace:deqp
117 gls::FragmentOpUtil::IntegerQuad quad;
122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight);
126 } // gls
glsShaderConstExprTests.hpp 44 namespace gls namespace in namespace:deqp
79 } // gls
glsShaderLibraryCase.hpp 38 namespace gls namespace in namespace:deqp
69 } // gls
  /external/deqp/modules/gles2/stress/
es2sDrawTests.cpp 44 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method)
47 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES;
50 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST;
52 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST;
60 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT;
61 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2;
62 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER;
63 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW;
71 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT
    [all...]
es2sLongRunningTests.cpp 52 const gls::LongStressTestUtil::ProgramLibrary progLib (glu::GLSL_VERSION_100_ES);
54 typedef gls::LongStressCase::FeatureProbabilities Probs;
72 const std::vector<gls::ProgramContext> contexts(1, progLib.generateBufferContext(4));
118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
184 const std::vector<gls::ProgramContext> contexts (1, progLib.generateTextureContext(numTextures, 512, 512, 0.1f));
186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
200 const std::vector<gls::ProgramContext> contexts(1, progLib.generateTextureContext(1, 128, 128, 0.5f));
237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
249 std::vector<gls::ProgramContext> contexts;
274 shaderGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext()
    [all...]
  /external/deqp/modules/gles3/functional/
es3fDrawTests.cpp 54 static void addTestIterations (gls::DrawTest* test, const gls::DrawTestSpec& baseSpec, TestIterationType type)
56 gls::DrawTestSpec spec(baseSpec);
91 if (spec.primitive == gls::DrawTestSpec::PRIMITIVE_POINTS)
102 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method)
105 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES;
108 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST;
110 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST;
118 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT
    [all...]
es3fAttribLocationTests.cpp 30 using namespace deqp::gls::AttributeLocationTestUtil;
99 bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRenderContext(), type));
112 bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.getRenderContext(), type));
127 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
131 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type, 1));
134 aliasingGroup->addChild(new gls::BindMaxAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
137 aliasingGroup->addChild(new gls::BindInactiveAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type));
152 holeGroup->addChild(new gls::BindHoleAttributeTest(context.getTestContext(), context.getRenderContext(), type));
162 bindTimeGroup->addChild(new gls::PreAttachBindAttributeTest(context.getTestContext(), context.getRenderContext()));
163 bindTimeGroup->addChild(new gls::PreLinkBindAttributeTest(context.getTestContext(), context.getRenderContext()))
    [all...]
es3fBuiltinPrecisionTests.cpp 37 namespace bpt = gls::BuiltinPrecisionTests;
es3fSamplerStateQueryTests.cpp 31 using namespace deqp::gls::StateQueryUtil;
66 using namespace gls::TextureStateQueryTests;
  /external/deqp/modules/gles3/stress/
es3sDrawTests.cpp 225 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method)
228 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES;
231 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST;
233 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST;
241 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT;
242 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2;
243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER;
244 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW;
252 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT
    [all...]
es3sLongRunningTests.cpp 52 const gls::LongStressTestUtil::ProgramLibrary progLib (glu::GLSL_VERSION_300_ES);
54 typedef gls::LongStressCase::FeatureProbabilities Probs;
72 const std::vector<gls::ProgramContext> contexts(1, progLib.generateBufferContext(4));
118 bufferGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
184 const std::vector<gls::ProgramContext> contexts (1, progLib.generateTextureContext(numTextures, 512, 512, 0.1f));
186 textureGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
200 const std::vector<gls::ProgramContext> contexts(1, progLib.generateTextureContext(1, 128, 128, 0.5f));
237 drawCallGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext(),
249 std::vector<gls::ProgramContext> contexts;
274 shaderGroup->addChild(new gls::LongStressCase(m_context.getTestContext(), m_context.getRenderContext()
    [all...]
  /external/deqp/modules/gles31/stress/
es31sDrawTests.cpp 361 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::DRAWMETHOD_DRAWARRAYS_INDIRECT
    [all...]
  /external/deqp/modules/gles31/functional/
es31fDrawTests.cpp 153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type)
181 static void genBasicSpec (gls::DrawTestSpec& spec, gls::DrawTestSpec::DrawMethod method)
184 spec.primitive = gls::DrawTestSpec::PRIMITIVE_TRIANGLES;
187 spec.indexType = gls::DrawTestSpec::INDEXTYPE_LAST;
189 spec.indexStorage = gls::DrawTestSpec::STORAGE_LAST;
198 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT;
199 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2;
200 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER
    [all...]
es31fNegativeShaderImageLoadStoreTests.cpp 85 static const gls::TextureTestUtil::TextureType s_imageTypes[] =
87 gls::TextureTestUtil::TEXTURETYPE_2D,
88 gls::TextureTestUtil::TEXTURETYPE_3D,
89 gls::TextureTestUtil::TEXTURETYPE_CUBE,
90 gls::TextureTestUtil::TEXTURETYPE_2D_ARRAY,
91 gls::TextureTestUtil::TEXTURETYPE_BUFFER,
92 gls::TextureTestUtil::TEXTURETYPE_CUBE_ARRAY
128 std::string getShaderImageTypeDeclaration (const tcu::TextureFormat& format, gls::TextureTestUtil::TextureType imageType)
156 case gls::TextureTestUtil::TEXTURETYPE_2D: declaration << "2D"; break;
157 case gls::TextureTestUtil::TEXTURETYPE_3D: declaration << "3D"; break
    [all...]
  /external/deqp/modules/gles3/performance/
es3pTextureCases.hpp 39 class Texture2DRenderCase : public gls::ShaderPerformanceCase

Completed in 551 milliseconds

1 2 3 4 5 6 7 8 910