Home
last modified time | relevance | path

Searched refs:programId (Results 1 - 17 of 17) sorted by relevance

/third_party/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.cpp56 GrGLuint programId, in GrGLCompileAndAttachShader()
104 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
55 GrGLCompileAndAttachShader(const GrGLContext& glCtx, GrGLuint programId, GrGLenum type, const SkSL::String& glsl, GrThreadSafePipelineBuilder::Stats* stats, GrContextOptions::ShaderErrorHandler* errorHandler) GrGLCompileAndAttachShader() argument
H A DGrGLShaderStringBuilder.h25 GrGLuint programId,
H A DGrGLProgramBuilder.h65 GrGLuint programId,
H A DGrGLProgramBuilder.cpp100 GrGLuint programId, in compileAndAttachShaders()
106 programId, in compileAndAttachShaders()
99 compileAndAttachShaders(const SkSL::String& glsl, GrGLuint programId, GrGLenum type, SkTDArray<GrGLuint>* shaderIds, GrContextOptions::ShaderErrorHandler* errHandler) compileAndAttachShaders() argument
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fClippingTests.cpp541 const deUint32 programId = ctx.createProgram(&program); in testRender() local
542 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender()
543 const GLint pointSizeLoc = ctx.getAttribLocation(programId, "a_pointSize"); in testRender()
544 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender()
550 ctx.useProgram (programId); in testRender()
558 ctx.deleteProgram (programId); in testRender()
680 const deUint32 programId = ctx.createProgram(&program); in testRender() local
681 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender()
682 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender()
688 ctx.useProgram (programId); in testRender()
908 const deUint32 programId = ctx.createProgram(&program); testRender() local
1139 const deUint32 programId = ctx.createProgram(&program); render() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fClippingTests.cpp544 const deUint32 programId = ctx.createProgram(&program); in testRender() local
545 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender()
546 const GLint pointSizeLoc = ctx.getAttribLocation(programId, "a_pointSize"); in testRender()
547 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender()
553 ctx.useProgram (programId); in testRender()
561 ctx.deleteProgram (programId); in testRender()
683 const deUint32 programId = ctx.createProgram(&program); in testRender() local
684 const GLint positionLoc = ctx.getAttribLocation(programId, "a_position"); in testRender()
685 const GLint colorLoc = ctx.getAttribLocation(programId, "a_color"); in testRender()
691 ctx.useProgram (programId); in testRender()
912 const deUint32 programId = ctx.createProgram(&program); testRender() local
1143 const deUint32 programId = ctx.createProgram(&program); render() local
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsLifetimeTests.cpp1008 GLuint programId = 0; in testDeleteUsed() local
1018 programId = program.getProgram(); in testDeleteUsed()
1020 log() << TestLog::Message << "// Created and linked program " << programId in testDeleteUsed()
1022 GLU_CHECK_CALL_ERROR(glUseProgram(programId), gl().getError()); in testDeleteUsed()
1024 log() << TestLog::Message << "// Deleted program " << programId in testDeleteUsed()
1027 TCU_CHECK(glIsProgram(programId)); in testDeleteUsed()
1030 glGetProgramiv(programId, GL_DELETE_STATUS, &deleteFlagged); in testDeleteUsed()
1034 errors.check(!gl().isProgram(programId), in testDeleteUsed()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcLayoutLocationTests.cpp464 deUint32 programId = program.getProgram(); in iterate() local
465 int location = gl.getUniformLocation(programId, m_specializationMap["OPAQUE_TYPE_NAME"].c_str()); in iterate()
473 gl.useProgram(programId); in iterate()
508 glu::draw(renderContext, programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in iterate()
H A DglcInternalformatTests.cpp161 void renderTexturedQuad(GLuint programId) const;
390 void InternalformatCaseBase::renderTexturedQuad(GLuint programId) const in renderTexturedQuad()
399 glu::draw(m_context.getRenderContext(), programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderTexturedQuad()
1083 void renderColoredQuad(GLuint programId, const float* positions) const;
1436 void RenderbufferCase::renderColoredQuad(GLuint programId, const float* positions) const in renderColoredQuad() argument
1446 glu::draw(m_context.getRenderContext(), programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderColoredQuad()
H A DglcCompressedFormatTests.cpp249 GLuint programId() const;
374 GLuint SharedData::programId () const in programId() function in glcts::__anon27555::SharedData
1581 gl.useProgram(m_data->programId()); in iterate()
1616 gl.useProgram(m_data->programId()); in iterate()
H A DglcPackedDepthStencilTests.cpp312 bool setTextureUniform(GLuint programId);
645 bool BaseTest::setTextureUniform(GLuint programId) in setTextureUniform() argument
649 gl.useProgram(programId); in setTextureUniform()
651 GLint uniformTex = gl.getUniformLocation(programId, "tex"); in setTextureUniform()
H A DglcTextureRepeatModeTests.cpp1292 GLint programId = program.getProgram(); in iterate() local
1293 GLint samplerLocation = gl.getUniformLocation(programId, "texture0"); in iterate()
1296 gl.useProgram(programId); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES31.cpp1845 ShaderProgramID programId) in ValidateUseProgramStagesBase()
1881 if (programId.value == 0) in ValidateUseProgramStagesBase()
1886 Program *program = context->getProgramNoResolveLink(programId); in ValidateUseProgramStagesBase()
1918 ShaderProgramID programId) in ValidateActiveShaderProgramBase()
1931 if ((programId.value != 0) && !context->isProgram(programId) && !context->isShader(programId)) in ValidateActiveShaderProgramBase()
1938 if (context->isShader(programId)) in ValidateActiveShaderProgramBase()
1946 Program *program = context->getProgramNoResolveLink(programId); in ValidateActiveShaderProgramBase()
1947 if ((programId in ValidateActiveShaderProgramBase()
1841 ValidateUseProgramStagesBase(const Context *context, angle::EntryPoint entryPoint, ProgramPipelineID pipeline, GLbitfield stages, ShaderProgramID programId) ValidateUseProgramStagesBase() argument
1915 ValidateActiveShaderProgramBase(const Context *context, angle::EntryPoint entryPoint, ProgramPipelineID pipeline, ShaderProgramID programId) ValidateActiveShaderProgramBase() argument
[all...]
H A DProgramPipeline.cpp108 bool ProgramPipelineState::usesShaderProgram(ShaderProgramID programId) const in usesShaderProgram()
112 if (program && (program->id() == programId)) in usesShaderProgram()
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
H A Des2cTexture3DTests.cpp340 deUint32 programId = testProgram.getProgram(); in renderQuad() local
341 gl.useProgram(programId); in renderQuad()
342 gl.uniform1i(gl.getUniformLocation(programId, "u_sampler"), 0); in renderQuad()
349 glu::draw(m_context.getRenderContext(), programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderQuad()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fGeometryShaderTests.cpp2064 const GLuint programId = ctx.createProgram(&program); in renderWithContext() local
2065 const GLint attrPosLoc = ctx.getAttribLocation(programId, "a_position"); in renderWithContext()
2066 const GLint attrColLoc = ctx.getAttribLocation(programId, m_dataAttributeName); in renderWithContext()
2109 ctx.useProgram(programId); in renderWithContext()
2112 preRender(ctx, programId); in renderWithContext()
2136 postRender(ctx, programId); in renderWithContext()
2423 const GLuint programId = m_ctx->createProgram(m_program); in iterate() local
2424 const GLint attrPosLoc = m_ctx->getAttribLocation(programId, "a_position"); in iterate()
2445 m_ctx->useProgram(programId); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A DFrameCapture.cpp5499 gl::ShaderProgramID programId; in maybeCapturePostCallUpdates() local
5500 programId.value = lastCall.params.getReturnValue().value.GLuintVal; in maybeCapturePostCallUpdates()
5501 const gl::Program *program = context->getProgramResolveLink(programId); in maybeCapturePostCallUpdates()

Completed in 47 milliseconds