/third_party/skia/experimental/graphite/src/ |
H A D | DrawPass.cpp | 192 uint32_t programID = ProgramCache::kInvalidProgramID; in Make() local 195 std::tie(programID, shadingUniformID) = get_ids_from_paint(recorder, in Make() 213 // TODO: we need to combine the 'programID' with the RenderPass info and the in Make() 215 pipelineIndex = programID; in Make()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderLoopTests.cpp | 221 virtual void setup (int programID); 222 virtual void setupUniforms (int programID, const Vec4& constCoords); 263 void ShaderLoopCase::setup (int programID) in setup() argument 265 DE_UNREF(programID); in setup() 268 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 270 DE_UNREF(programID); in setupUniforms()
|
H A D | es2fShaderIndexingTests.cpp | 159 virtual void setup (int programID); 160 virtual void setupUniforms (int programID, const Vec4& constCoords); 198 void ShaderIndexingCase::setup (int programID) in setup() argument 200 DE_UNREF(programID); in setup() 203 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 209 int arrLoc = gl.getUniformLocation(programID, "u_arr"); in setupUniforms()
|
H A D | es2fShaderTextureFunctionTests.cpp | 230 void setupUniforms (int programID, const tcu::Vec4& constCoords); 534 void ShaderTextureFunctionCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 537 gl.uniform1i(gl.getUniformLocation(programID, "u_sampler"), 0); in setupUniforms()
|
H A D | es2fShaderMatrixTests.cpp | 749 void setupUniforms (int programID, const tcu::Vec4& constCoords); 1045 void ShaderMatrixCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 1057 int loc = gl.getUniformLocation(programID, (string("u_in") + de::toString(inNdx)).c_str()); in setupUniforms()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibraryCase.cpp | 123 static void setUniformValue(const glw::Functions& gl, deUint32 programID, const std::string& name, in setUniformValue() argument 127 int loc = gl.getUniformLocation(programID, name.c_str()); in setUniformValue() 347 deUint32 programID = program.getProgram(); in execute() 348 gl.useProgram(programID); in execute() 352 int positionLoc = gl.getAttribLocation(programID, "dEQP_Position"); in execute() 418 int attribLoc = gl.getAttribLocation(programID, attribName.c_str()); in execute() 450 setUniformValue(gl, programID, refName, val, arrayNdx); in execute() 456 setUniformValue(gl, programID, valueName, val, arrayNdx); in execute()
|
H A D | glcShaderIndexingTests.cpp | 165 virtual void setup(deUint32 programID); 166 virtual void setupUniforms(deUint32 programID, const Vec4& constCoords); 186 void ShaderIndexingCase::setup(deUint32 programID) in setup() argument 188 DE_UNREF(programID); in setup() 191 void ShaderIndexingCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument 197 int arrLoc = gl.getUniformLocation(programID, "u_arr"); in setupUniforms()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | GeometryShaderTest.cpp | 137 GLuint programID = glCreateProgram(); in TEST_P() local 138 glAttachShader(programID, geometryShader); in TEST_P() 140 glDetachShader(programID, geometryShader); in TEST_P() 142 glDeleteProgram(programID); in TEST_P() 897 GLuint programID = glCreateProgram(); 898 glAttachShader(programID, geometryShader); 900 glDetachShader(programID, geometryShader); 902 glDeleteProgram(programID);
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sDrawTests.cpp | 183 const deUint32 programID = program.getProgram(); 184 const deInt32 posLocation = gl.glGetAttribLocation(programID, "a_position"); 185 const deInt32 colorLocation = gl.glGetAttribLocation(programID, "a_color"); 285 gl.glUseProgram(programID);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderIndexingTests.cpp | 146 virtual void setup (int programID); 147 virtual void setupUniforms (int programID, const Vec4& constCoords); 164 void ShaderIndexingCase::setup (int programID) in setup() argument 166 DE_UNREF(programID); in setup() 169 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument 175 int arrLoc = gl.getUniformLocation(programID, "u_arr"); in setupUniforms()
|
H A D | es3fDrawTests.cpp | 686 deUint32 programID = ctx.createProgram(&program); in renderTo() local 687 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); in renderTo() 688 deInt32 offsetLocation = ctx.getAttribLocation(programID, "a_offset"); in renderTo() 689 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); in renderTo() 753 ctx.useProgram(programID); in renderTo() 765 ctx.deleteProgram(programID); in renderTo()
|
H A D | es3fShaderMatrixTests.cpp | 1380 void setupUniforms (int programID, const tcu::Vec4& constCoords); 1744 void ShaderMatrixCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument 1756 int loc = gl.getUniformLocation(programID, (string("u_in") + de::toString(inNdx)).c_str()); in setupUniforms()
|
H A D | es3fShaderTextureFunctionTests.cpp | 451 void setupUniforms (int programID, const tcu::Vec4& constCoords); 946 void ShaderTextureFunctionCase::setupUniforms (int programID, const tcu::Vec4&) in setupUniforms() argument 949 gl.uniform1i(gl.getUniformLocation(programID, "u_sampler"), 0); in setupUniforms() 950 gl.uniform4fv(gl.getUniformLocation(programID, "u_scale"), 1, m_lookupParams.scale.getPtr()); in setupUniforms() 951 gl.uniform4fv(gl.getUniformLocation(programID, "u_bias"), 1, m_lookupParams.bias.getPtr()); in setupUniforms()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fUniformLocationTests.cpp | 372 const deUint32 programID = program.getProgram(); 394 const int gotLoc = gl.getUniformLocation(programID, name.c_str()); 529 const deUint32 programID = program.getProgram(); 530 const deInt32 posLoc = gl.getAttribLocation(programID, "a_position"); 576 gl.useProgram(programID); 591 const int gotLoc = gl.getUniformLocation(programID, name.c_str());
|
H A D | es31fDrawTests.cpp | 822 deUint32 programID = ctx.createProgram(&program); in renderTo() local 823 deInt32 posLocation = ctx.getAttribLocation(programID, "a_position"); in renderTo() 824 deInt32 offsetLocation = ctx.getAttribLocation(programID, "a_offset"); in renderTo() 825 deInt32 colorLocation = ctx.getAttribLocation(programID, "a_color"); in renderTo() 917 ctx.useProgram(programID); in renderTo() 933 ctx.deleteProgram(programID); in renderTo() 2319 deUint32 programID = program.getProgram(); 2320 deInt32 posLocation = gl.getAttribLocation(programID, "a_position"); 2364 gl.useProgram(programID); 2495 const deUint32 programID [all...] |
H A D | es31fGeometryShaderTests.cpp | 1828 virtual void preRender (sglr::Context& ctx, GLuint programID); 1829 virtual void postRender (sglr::Context& ctx, GLuint programID); 2163 void GeometryShaderRenderTest::preRender (sglr::Context& ctx, GLuint programID) in preRender() argument 2166 DE_UNREF(programID); in preRender() 2169 void GeometryShaderRenderTest::postRender (sglr::Context& ctx, GLuint programID) in postRender() argument 2172 DE_UNREF(programID); in postRender() 3756 void preRender (sglr::Context& ctx, GLuint programID); 3855 void VaryingOutputCountCase::preRender (sglr::Context& ctx, GLuint programID) 3859 const int location = ctx.getUniformLocation(programID, "u_emitCount"); 3876 const int location = ctx.getUniformLocation(programID, "u_sample [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/ |
H A D | esextcTextureShadowLodFunctionsTest.cpp | 317 void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords); 921 void TextureShadowLodTestCase::setupUniforms(deUint32 programID, const tcu::Vec4&) in setupUniforms() argument 924 gl.uniform1i(gl.getUniformLocation(programID, "u_sampler"), 0); in setupUniforms() 925 gl.uniform4fv(gl.getUniformLocation(programID, "u_scale"), 1, m_lookupParams.scale.getPtr()); in setupUniforms() 926 gl.uniform4fv(gl.getUniformLocation(programID, "u_bias"), 1, m_lookupParams.bias.getPtr()); in setupUniforms()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 1138 BinaryOpCase::ProgramContext BinaryOpCase::generateSingleProgramData (ProgramID programID) const 1224 const int unrollAmount = programID == PROGRAM_WITH_SMALLER_LOOP ? BINARY_OPERATOR_CASE_SMALL_PROGRAM_UNROLL_AMOUNT : BINARY_OPERATOR_CASE_BIG_PROGRAM_UNROLL_AMOUNT; 1288 description += programID == PROGRAM_WITH_SMALLER_LOOP ? "smaller" 1289 : programID == PROGRAM_WITH_BIGGER_LOOP ? "bigger" 1470 FunctionCase::ProgramContext FunctionCase::generateSingleProgramData (ProgramID programID) const 1613 if (programID == PROGRAM_WITH_FUNCTION_CALLS) 1629 DE_ASSERT(programID == PROGRAM_WITHOUT_FUNCTION_CALLS); 1760 description += programID == PROGRAM_WITHOUT_FUNCTION_CALLS ? "without" 1761 : programID == PROGRAM_WITH_FUNCTION_CALLS ? "with"
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 1138 BinaryOpCase::ProgramContext BinaryOpCase::generateSingleProgramData (ProgramID programID) const 1220 const int unrollAmount = programID == PROGRAM_WITH_SMALLER_LOOP ? BINARY_OPERATOR_CASE_SMALL_PROGRAM_UNROLL_AMOUNT : BINARY_OPERATOR_CASE_BIG_PROGRAM_UNROLL_AMOUNT; 1284 description += programID == PROGRAM_WITH_SMALLER_LOOP ? "smaller" 1285 : programID == PROGRAM_WITH_BIGGER_LOOP ? "bigger" 1466 FunctionCase::ProgramContext FunctionCase::generateSingleProgramData (ProgramID programID) const 1605 if (programID == PROGRAM_WITH_FUNCTION_CALLS) 1621 DE_ASSERT(programID == PROGRAM_WITHOUT_FUNCTION_CALLS); 1752 description += programID == PROGRAM_WITHOUT_FUNCTION_CALLS ? "without" 1753 : programID == PROGRAM_WITH_FUNCTION_CALLS ? "with"
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | ProgramGL.cpp | 163 GLuint programID) in LinkEventNativeParallel() 164 : mPostLinkImplFunctor(functor), mFunctions(functions), mProgramID(programID) in LinkEventNativeParallel() 161 LinkEventNativeParallel(PostLinkImplFunctor &&functor, const FunctionsGL *functions, GLuint programID) LinkEventNativeParallel() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | FrameCapture.cpp | 1580 gl::ShaderProgramID programID = param.value.ShaderProgramIDVal; in CaptureUpdateCurrentProgram() local 1583 paramBuffer.addValueParam("program", ParamType::TShaderProgramID, programID); in CaptureUpdateCurrentProgram() 5095 gl::ShaderProgramID programID = {call.params.getReturnValue().value.GLuintVal}; in maybeCapturePreCallUpdates() local 5099 gl::Program *program = context->getProgramResolveLink(programID); in maybeCapturePreCallUpdates() 5104 setProgramSources(programID, GetAttachedProgramSources(program)); in maybeCapturePreCallUpdates() 5105 handleGennedResource(programID); in maybeCapturePreCallUpdates() 5112 gl::ShaderProgramID programID = {call.params.getReturnValue().value.GLuintVal}; in maybeCapturePreCallUpdates() local 5113 handleGennedResource(programID); in maybeCapturePreCallUpdates() 5144 gl::ShaderProgramID programID = in maybeCapturePreCallUpdates() local 5147 const gl::Program *program = context->getProgramResolveLink(programID); in maybeCapturePreCallUpdates() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context.cpp | 891 const ShaderProgramID programID = PackParam<ShaderProgramID>(createProgram()); in createShaderProgramv() local 892 if (programID.value) in createShaderProgramv() 894 gl::Program *programObject = getProgramNoResolveLink(programID); in createShaderProgramv() 909 deleteProgram(programID); in createShaderProgramv() 915 deleteProgram(programID); in createShaderProgramv() 935 return programID.value; in createShaderProgramv()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 1927 SkASSERT((program == fHWProgram) == (fHWProgramID == program->programID())); in flushProgram() 1931 auto id = program->programID(); in flushProgram()
|