/external/deqp/external/openglcts/modules/common/ |
D | glcShaderStructTests.cpp | 49 typedef void (*SetupUniformsFunc)(const glw::Functions& gl, deUint32 programID, const tcu::Vec4& co… 62 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 119 void ShaderStructCase::setupUniforms(deUint32 programID, const tcu::Vec4& constCoords) in setupUniforms() argument 121 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 123 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 980 …void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 982 …int loc = gl.getUniformLocation(programID, name); … 992 …void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 995 …int loc = gl.getUniformLocation(programID, name); … 1008 void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | glcShaderRenderCase.cpp | 475 deUint32 programID = m_program->getProgram(); in iterate() local 476 gl.useProgram(programID); in iterate() 489 render(resImage, programID, quadGrid); in iterate() 508 void ShaderRenderCase::setup(deUint32 programID) in setup() argument 510 DE_UNREF(programID); in setup() 513 void ShaderRenderCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument 515 DE_UNREF(programID); in setupUniforms() 519 void ShaderRenderCase::setupDefaultInputs(int programID) in setupDefaultInputs() argument 525 setupDefaultUniforms(m_renderCtx, programID); in setupDefaultInputs() 639 void ShaderRenderCase::render(Surface& result, int programID, const QuadGrid& quadGrid) in render() argument [all …]
|
D | glcShaderRenderCase.hpp | 270 virtual void setup(deUint32 programID); 271 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 279 void setupDefaultInputs(int programID); 281 void render(tcu::Surface& result, int programID, const QuadGrid& quadGrid); 310 void setupDefaultUniforms(const glu::RenderContext& context, deUint32 programID);
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderStructTests.cpp | 54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 113 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 1293 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1295 int loc = gl.getUniformLocation(programID, name); \ 1302 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1304 int loc = gl.getUniformLocation(programID, name); \ 1314 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | es3fDepthTests.cpp | 54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color); 85 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument 87 ctx.useProgram(programID); in setColor() 88 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
|
D | es3fShaderDiscardTests.cpp | 61 void setupUniforms (int programID, const tcu::Vec4& constCoords); 111 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 114 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
D | es3fVertexTextureTests.cpp | 735 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 740 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 749 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 760 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 773 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() 1070 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 1075 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 1084 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 1095 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 1108 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStructTests.cpp | 62 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 73 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 149 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 151 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 153 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 1289 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1291 int loc = gl.getUniformLocation(programID, name); \ 1298 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1300 int loc = gl.getUniformLocation(programID, name); \ 1310 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | es2fDepthTests.cpp | 54 void setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color); 82 void DepthShader::setColor (sglr::Context& ctx, deUint32 programID, const tcu::Vec4& color) in setColor() argument 84 ctx.useProgram(programID); in setColor() 85 ctx.uniform4fv(ctx.getUniformLocation(programID, "u_color"), 1, color.getPtr()); in setColor()
|
D | es2fShaderDiscardTests.cpp | 67 void setupUniforms (int programID, const tcu::Vec4& constCoords); 131 void ShaderDiscardCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 134 gl.uniform1i(gl.getUniformLocation(programID, "ut_brick"), 0); in setupUniforms()
|
/external/skqp/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 135 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides() argument 149 GL_CALL(BindAttribLocation(programID, i, a.name())); in computeCountsAndStrides() 174 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache() argument 183 GL_CALL(GetProgramiv(programID, GL_PROGRAM_BINARY_LENGTH, &length)); in storeShaderInCache() 187 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache() 216 GrGLuint programID; in finalize() local 217 GL_CALL_RET(programID, CreateProgram()); in finalize() 218 if (0 == programID) { in finalize() 224 GL_CALL(ProgramParameteri(programID, GR_GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GR_GL_TRUE)); in finalize() 258 ProgramBinary(programID, binaryFormat, (void*) (bytes + offset), in finalize() [all …]
|
D | GrGLProgramBuilder.h | 69 void computeCountsAndStrides(GrGLuint programID, const GrPrimitiveProcessor& primProc, 71 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, 74 void bindProgramResourceLocations(GrGLuint programID); 75 bool checkLinkStatus(GrGLuint programID); 76 void resolveProgramResourceLocations(GrGLuint programID); 77 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 81 GrGLProgram* createProgram(GrGLuint programID);
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 135 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides() argument 149 GL_CALL(BindAttribLocation(programID, i, a.name())); in computeCountsAndStrides() 216 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache() argument 225 GL_CALL(GetProgramiv(programID, GL_PROGRAM_BINARY_LENGTH, &length)); in storeShaderInCache() 229 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache() 264 GrGLuint programID; in finalize() local 265 GL_CALL_RET(programID, CreateProgram()); in finalize() 266 if (0 == programID) { in finalize() 272 GL_CALL(ProgramParameteri(programID, GR_GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GR_GL_TRUE)); in finalize() 307 ProgramBinary(programID, binaryFormat, (void*) (bytes + offset), in finalize() [all …]
|
D | GrGLProgramBuilder.h | 70 void computeCountsAndStrides(GrGLuint programID, const GrPrimitiveProcessor& primProc, 72 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, 75 void bindProgramResourceLocations(GrGLuint programID); 76 bool checkLinkStatus(GrGLuint programID); 77 void resolveProgramResourceLocations(GrGLuint programID); 78 void cleanupProgram(GrGLuint programID, const SkTDArray<GrGLuint>& shaderIDs); 82 GrGLProgram* createProgram(GrGLuint programID);
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 427 deUint32 programID = m_program->getProgram(); in iterate() local 428 gl.useProgram(programID); in iterate() 440 render(resImage, programID, quadGrid); in iterate() 464 void ShaderRenderCase::setup (int programID) in setup() argument 466 DE_UNREF(programID); in setup() 469 void ShaderRenderCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 471 DE_UNREF(programID); in setupUniforms() 475 void ShaderRenderCase::setupDefaultInputs (int programID) in setupDefaultInputs() argument 481 setupDefaultUniforms(m_renderCtx, programID); in setupDefaultInputs() 590 void ShaderRenderCase::render (Surface& result, int programID, const QuadGrid& quadGrid) in render() argument [all …]
|
D | glsShaderRenderCase.hpp | 218 virtual void setup (int programID); 219 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 233 void setupDefaultInputs (int programID); 235 void render (tcu::Surface& result, int programID, const QuadGrid& quadGrid); 264 void setupDefaultUniforms (const glu::RenderContext& context, deUint32 programID);
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 101 void GrGLUniformHandler::bindUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in bindUniformLocations() argument 105 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations() 109 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations() 115 void GrGLUniformHandler::getUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in getUniformLocations() argument 120 GL_CALL_RET(location, GetUniformLocation(programID, fUniforms[i].fVariable.c_str())); in getUniformLocations() 125 GL_CALL_RET(location, GetUniformLocation(programID, fSamplers[i].fVariable.c_str())); in getUniformLocations()
|
D | GrGLUniformHandler.h | 55 void bindUniformLocations(GrGLuint programID, const GrGLCaps& caps); 58 void getUniformLocations(GrGLuint programID, const GrGLCaps& caps);
|
D | GrGLProgram.cpp | 31 GrGLuint programID, in GrGLProgram() argument 45 , fProgramID(programID) in GrGLProgram() 56 , fProgramDataManager(gpu, programID, uniforms, pathProcVaryings) in GrGLProgram()
|
D | GrGLProgram.h | 52 GrGLuint programID, 76 GrGLuint programID() const { return fProgramID; } in programID() function
|
/external/skqp/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 106 void GrGLUniformHandler::bindUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in bindUniformLocations() argument 110 GL_CALL(BindUniformLocation(programID, currUniform, fUniforms[i].fVariable.c_str())); in bindUniformLocations() 114 GL_CALL(BindUniformLocation(programID, currUniform, fSamplers[i].fVariable.c_str())); in bindUniformLocations() 120 void GrGLUniformHandler::getUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in getUniformLocations() argument 125 GL_CALL_RET(location, GetUniformLocation(programID, fUniforms[i].fVariable.c_str())); in getUniformLocations() 130 GL_CALL_RET(location, GetUniformLocation(programID, fSamplers[i].fVariable.c_str())); in getUniformLocations()
|
D | GrGLUniformHandler.h | 56 void bindUniformLocations(GrGLuint programID, const GrGLCaps& caps); 59 void getUniformLocations(GrGLuint programID, const GrGLCaps& caps);
|
D | GrGLProgram.cpp | 31 GrGLuint programID, in GrGLProgram() argument 45 , fProgramID(programID) in GrGLProgram() 56 , fProgramDataManager(gpu, programID, uniforms, pathProcVaryings) in GrGLProgram()
|
D | GrGLProgram.h | 52 GrGLuint programID, 76 GrGLuint programID() const { return fProgramID; } in programID() function
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 226 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 237 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleVariableValidator() argument 240 , m_programID (programID) in SingleVariableValidator() 286 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 296 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleBlockValidator() argument 299 , m_programID (programID) in SingleBlockValidator() 357 TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter); 364 TypeValidator::TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& … in TypeValidator() argument 365 : SingleVariableValidator(context, PROGRAMRESOURCEPROP_TYPE, programID, filter, DE_NULL) in TypeValidator() 432 …ArraySizeValidator (Context& context, glw::GLuint programID, int unsizedArraySize, const Variab… [all …]
|