/third_party/vk-gl-cts/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 | es3fShaderFunctionTests.cpp | 39 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 50 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 96 void ShaderFunctionCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 98 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 100 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
|
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 …]
|
D | es3fShaderLoopTests.cpp | 216 virtual void setup (int programID); 217 virtual void setupUniforms (int programID, const Vec4& constCoords); 231 void ShaderLoopCase::setup (int programID) in setup() argument 233 DE_UNREF(programID); in setup() 236 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 238 DE_UNREF(programID); in setupUniforms()
|
/third_party/vk-gl-cts/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 | es2fShaderFunctionTests.cpp | 39 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& c… 50 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords); 87 void ShaderFunctionCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 89 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 91 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
|
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()
|
D | es2fVertexTextureTests.cpp | 635 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 640 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 649 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 660 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 673 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs() 972 const deUint32 programID = m_program->getProgram(); in setupShaderInputs() local 977 const int positionLoc = glGetAttribLocation(programID, "a_position"); in setupShaderInputs() 986 const int texCoordLoc = glGetAttribLocation(programID, "a_texCoord"); in setupShaderInputs() 997 const int lodLoc = glGetUniformLocation(programID, "u_lod"); in setupShaderInputs() 1010 const int texLoc = glGetUniformLocation(programID, "u_texture"); in setupShaderInputs()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderStructTests.cpp | 50 typedef void (*SetupUniformsFunc)(const glw::Functions& gl, deUint32 programID, const tcu::Vec4& co… 63 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 120 void ShaderStructCase::setupUniforms(deUint32 programID, const tcu::Vec4& constCoords) in setupUniforms() argument 122 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 124 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms() 1148 …void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1150 …int loc = gl.getUniformLocation(programID, name); … 1160 …void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE… 1163 …int loc = gl.getUniformLocation(programID, name); … 1176 void setUniform(const glw::Functions& gl, deUint32 programID, const char* name, float value) in setUniform() argument [all …]
|
D | glcShaderRenderCase.cpp | 490 deUint32 programID = m_program->getProgram(); in iterate() local 491 gl.useProgram(programID); in iterate() 504 render(resImage, programID, quadGrid); in iterate() 523 void ShaderRenderCase::setup(deUint32 programID) in setup() argument 525 DE_UNREF(programID); in setup() 528 void ShaderRenderCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument 530 DE_UNREF(programID); in setupUniforms() 534 void ShaderRenderCase::setupDefaultInputs(int programID) in setupDefaultInputs() argument 540 setupDefaultUniforms(m_renderCtx, programID); in setupDefaultInputs() 658 void ShaderRenderCase::render(Surface& result, int programID, const QuadGrid& quadGrid) in render() argument [all …]
|
D | glcShaderFunctionTests.cpp | 36 typedef void (*SetupUniformsFunc)(const glw::Functions& gl, deUint32 programID, const tcu::Vec4& co… 49 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 106 void ShaderFunctionCase::setupUniforms(deUint32 programID, const tcu::Vec4& constCoords) in setupUniforms() argument 108 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms() 110 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
|
D | glcShaderRenderCase.hpp | 282 virtual void setup(deUint32 programID); 283 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 291 void setupDefaultInputs(int programID); 293 void render(tcu::Surface& result, int programID, const QuadGrid& quadGrid); 322 void setupDefaultUniforms(const glu::RenderContext& context, deUint32 programID);
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLProgramBuilder.cpp | 43 static void cleanup_program(GrGLGpu* gpu, GrGLuint programID, in cleanup_program() argument 45 GR_GL_CALL(gpu->glInterface(), DeleteProgram(programID)); in cleanup_program() 119 void GrGLProgramBuilder::computeCountsAndStrides(GrGLuint programID, in computeCountsAndStrides() argument 133 GL_CALL(BindAttribLocation(programID, i, a.name())); in computeCountsAndStrides() 159 void GrGLProgramBuilder::storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, in storeShaderInCache() argument 170 GL_CALL(GetProgramiv(programID, GL_PROGRAM_BINARY_LENGTH, &length)); in storeShaderInCache() 180 GL_CALL(GetProgramBinary(programID, length, &length, &binaryFormat, binary.get())); in storeShaderInCache() 237 GrGLuint programID; in finalize() local 239 programID = precompiledProgram->fProgramID; in finalize() 241 GL_CALL_RET(programID, CreateProgram()); in finalize() [all …]
|
D | GrGLProgramBuilder.h | 27 GrGLPrecompiledProgram(GrGLuint programID = 0, 29 : fProgramID(programID) in fProgramID() 70 void computeCountsAndStrides(GrGLuint programID, 73 void storeShaderInCache(const SkSL::Program::Inputs& inputs, GrGLuint programID, 77 void bindProgramResourceLocations(GrGLuint programID); 78 bool checkLinkStatus(GrGLuint programID, GrContextOptions::ShaderErrorHandler* errorHandler, 80 void resolveProgramResourceLocations(GrGLuint programID, bool force); 83 sk_sp<GrGLProgram> createProgram(GrGLuint programID);
|
/third_party/vk-gl-cts/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);
|
/third_party/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 112 void GrGLUniformHandler::bindUniformLocations(GrGLuint programID, const GrGLCaps& caps) { in bindUniformLocations() argument 116 GL_CALL(BindUniformLocation(programID, currUniform, uniform.fVariable.c_str())); in bindUniformLocations() 121 GL_CALL(BindUniformLocation(programID, currUniform, sampler.fVariable.c_str())); in bindUniformLocations() 128 void GrGLUniformHandler::getUniformLocations(GrGLuint programID, const GrGLCaps& caps, bool force) { in getUniformLocations() argument 132 GL_CALL_RET(location, GetUniformLocation(programID, uniform.fVariable.c_str())); in getUniformLocations() 137 GL_CALL_RET(location, GetUniformLocation(programID, sampler.fVariable.c_str())); in getUniformLocations()
|
D | GrGLProgram.cpp | 30 GrGLuint programID, in Make() argument 43 programID, in Make() 62 GrGLuint programID, in GrGLProgram() argument 74 , fProgramID(programID) in GrGLProgram()
|
D | GrGLProgram.h | 56 GrGLuint programID, 78 GrGLuint programID() const { return fProgramID; } in programID() function 129 GrGLuint programID,
|
D | GrGLUniformHandler.h | 69 void bindUniformLocations(GrGLuint programID, const GrGLCaps& caps); 72 void getUniformLocations(GrGLuint programID, const GrGLCaps& caps, bool force);
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 227 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 238 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleVariableValidator() argument 241 , m_programID (programID) in SingleVariableValidator() 287 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… 297 …(Context& context, ProgramResourcePropFlags validationProp, glw::GLuint programID, const VariableS… in SingleBlockValidator() argument 300 , m_programID (programID) in SingleBlockValidator() 358 TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& filter); 365 TypeValidator::TypeValidator (Context& context, glw::GLuint programID, const VariableSearchFilter& … in TypeValidator() argument 366 : SingleVariableValidator(context, PROGRAMRESOURCEPROP_TYPE, programID, filter, DE_NULL) in TypeValidator() 433 …ArraySizeValidator (Context& context, glw::GLuint programID, int unsizedArraySize, const Variab… [all …]
|
/third_party/skia/experimental/graphite/src/ |
D | DrawPass.cpp | 192 uint32_t programID = ProgramCache::kInvalidProgramID; in Make() local 195 std::tie(programID, shadingUniformID) = get_ids_from_paint(recorder, in Make() 215 pipelineIndex = programID; in Make()
|