• Home
  • Raw
  • Download

Lines Matching refs:gls

42 namespace gls  namespace
88 gls::ProgramContext ProgramLibrary::generateBufferContext (const int numDummyAttributes) const in generateBufferContext()
126gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragm… in generateBufferContext()
128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferContext()
131 …context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float… in generateBufferContext()
136 gls::ProgramContext ProgramLibrary::generateTextureContext (const int numTextures, const int texWid… in generateTextureContext()
161gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateTextureContext()
163 …context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(position… in generateTextureContext()
164 context.attributes.push_back(gls::VarSpec("a_texCoord", Vec2(0.0f), Vec2(1.0f))); in generateTextureContext()
166 context.uniforms.push_back(gls::VarSpec("u_sampler", 0)); in generateTextureContext()
167 …context.uniforms.push_back(gls::VarSpec("u_posTrans", translationMat<4>(positionFactor-1.0f), tr… in generateTextureContext()
170 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateTextureContext()
178 gls::ProgramContext ProgramLibrary::generateBufferAndTextureContext (const int numTextures, const i… in generateBufferAndTextureContext()
230gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragm… in generateBufferAndTextureContext()
232 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferAndTextureContext()
236 …context.attributes.push_back(gls::VarSpec("a_texCoord" + de::toString(i), Vec2(0.0f), Vec2(1.0f))); in generateBufferAndTextureContext()
237 context.uniforms.push_back(gls::VarSpec("u_sampler" + de::toString(i), i)); in generateBufferAndTextureContext()
238 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, i, in generateBufferAndTextureContext()
247 gls::ProgramContext ProgramLibrary::generateFragmentPointLightContext (const int texWid, const int … in generateFragmentPointLightContext()
382gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateFragmentPointLightContext()
384 context.attributes.push_back(gls::VarSpec("a_position${NS}", Vec4(-1.0f), Vec4(1.0f))); in generateFragmentPointLightContext()
385 context.attributes.push_back(gls::VarSpec("a_normal${NS}", Vec3(-1.0f), Vec3(1.0f))); in generateFragmentPointLightContext()
386 context.attributes.push_back(gls::VarSpec("a_texCoord0${NS}", Vec4(-1.0f), Vec4(1.0f))); in generateFragmentPointLightContext()
388 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.ambientColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
389 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.diffuseColor", Vec4(0.0f), Vec4(1.… in generateFragmentPointLightContext()
390 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.emissiveColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
391 …context.uniforms.push_back(gls::VarSpec("u_material${NS}.specularColor", Vec3(0.0f), Vec3(1.… in generateFragmentPointLightContext()
392 context.uniforms.push_back(gls::VarSpec("u_material${NS}.shininess", 0.0f, 1.0f)); in generateFragmentPointLightContext()
394 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].color", Vec3(0.0f), Vec3(1.0f))); in generateFragmentPointLightContext()
395 …context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].position", Vec4(-1.0f), Vec4(1.0f)… in generateFragmentPointLightContext()
396 …context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].direction", Vec3(-1.0f), Vec3(1.0f)… in generateFragmentPointLightContext()
397 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].constantAttenuation", 0.1f, 1.0f)); in generateFragmentPointLightContext()
398 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].linearAttenuation", 0.1f, 1.0f)); in generateFragmentPointLightContext()
399 context.uniforms.push_back(gls::VarSpec("u_light${NS}[0].quadraticAttenuation", 0.1f, 1.0f)); in generateFragmentPointLightContext()
401 …context.uniforms.push_back(gls::VarSpec("u_mvpMatrix${NS}", translationMat<4>(-0.2f), transl… in generateFragmentPointLightContext()
402 …context.uniforms.push_back(gls::VarSpec("u_modelViewMatrix${NS}", translationMat<4>(-0.2f), tr… in generateFragmentPointLightContext()
403 …context.uniforms.push_back(gls::VarSpec("u_normalMatrix${NS}", translationMat<3>(-0.2f), tran… in generateFragmentPointLightContext()
404 …context.uniforms.push_back(gls::VarSpec("u_texCoordMatrix0${NS}", translationMat<4>(-0.2f), tr… in generateFragmentPointLightContext()
406 context.uniforms.push_back(gls::VarSpec("u_sampler0${NS}", 0)); in generateFragmentPointLightContext()
408 context.textureSpecs.push_back(gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateFragmentPointLightContext()
416 gls::ProgramContext ProgramLibrary::generateVertexUniformLoopLightContext (const int texWid, const … in generateVertexUniformLoopLightContext()
536gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateVertexUniformLoopLightContext()
538 context.attributes.push_back (gls::VarSpec("a_position${NS}", Vec4(-1.0f), Vec4(1.0f))); in generateVertexUniformLoopLightContext()
539 context.attributes.push_back (gls::VarSpec("a_normal${NS}", Vec3(-1.0f), Vec3(1.0f))); in generateVertexUniformLoopLightContext()
540 …context.attributes.push_back (gls::VarSpec("a_texCoord0${NS}", Vec4(-1.0f), Vec4(1.0f))… in generateVertexUniformLoopLightContext()
542 …context.uniforms.push_back (gls::VarSpec("u_material${NS}.ambientColor", Vec3(0.0f), Vec… in generateVertexUniformLoopLightContext()
543 …context.uniforms.push_back (gls::VarSpec("u_material${NS}.diffuseColor", Vec4(0.0f), Vec… in generateVertexUniformLoopLightContext()
544 …context.uniforms.push_back (gls::VarSpec("u_material${NS}.emissiveColor", Vec3(0.0f), Ve… in generateVertexUniformLoopLightContext()
545 …context.uniforms.push_back (gls::VarSpec("u_material${NS}.specularColor", Vec3(0.0f), Ve… in generateVertexUniformLoopLightContext()
546 context.uniforms.push_back (gls::VarSpec("u_material${NS}.shininess", 0.0f, 1.0f)); in generateVertexUniformLoopLightContext()
548 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].color", Vec3(0.0f), … in generateVertexUniformLoopLightContext()
549 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].position", Vec4(-1.0f), … in generateVertexUniformLoopLightContext()
550 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].direction", Vec3(-1.0f), … in generateVertexUniformLoopLightContext()
551 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].constantAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
552 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].linearAttenuation", 0.1f, … in generateVertexUniformLoopLightContext()
553 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].quadraticAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
554 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].spotExponent", 0.1f, … in generateVertexUniformLoopLightContext()
555 …context.uniforms.push_back (gls::VarSpec("u_directionalLight${NS}[0].spotCutoff", 0.1f, 1… in generateVertexUniformLoopLightContext()
557 context.uniforms.push_back (gls::VarSpec("u_directionalLightCount${NS}", 1)); in generateVertexUniformLoopLightContext()
563 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].color", Vec3(0.0f), … in generateVertexUniformLoopLightContext()
564 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].position", Vec4(-1.0f), … in generateVertexUniformLoopLightContext()
565 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].direction", Vec3(-1.0f), … in generateVertexUniformLoopLightContext()
566 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].constantAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
567 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].linearAttenuation", 0.1f, … in generateVertexUniformLoopLightContext()
568 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].quadraticAttenuation", 0.1f,… in generateVertexUniformLoopLightContext()
569 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].spotExponent", 0.1f, … in generateVertexUniformLoopLightContext()
570 …context.uniforms.push_back(gls::VarSpec("u_spotLight${NS}["+ndxStr+"].spotCutoff", 0.1f, 1… in generateVertexUniformLoopLightContext()
573 context.uniforms.push_back (gls::VarSpec("u_spotLightCount${NS}", 4)); in generateVertexUniformLoopLightContext()
575 …context.uniforms.push_back (gls::VarSpec("u_mvpMatrix${NS}", translationMat<4>(-0.2f), tr… in generateVertexUniformLoopLightContext()
576 …context.uniforms.push_back (gls::VarSpec("u_modelViewMatrix${NS}", translationMat<4>(-0.2f… in generateVertexUniformLoopLightContext()
577 …context.uniforms.push_back (gls::VarSpec("u_normalMatrix${NS}", translationMat<3>(-0.2f), … in generateVertexUniformLoopLightContext()
578 …context.uniforms.push_back (gls::VarSpec("u_texCoordMatrix0${NS}", translationMat<4>(-0.2f… in generateVertexUniformLoopLightContext()
580 context.uniforms.push_back (gls::VarSpec("u_sampler0${NS}", 0)); in generateVertexUniformLoopLightContext()
582 context.textureSpecs.push_back (gls::TextureSpec(glu::TextureTestUtil::TEXTURETYPE_2D, 0, in generateVertexUniformLoopLightContext()