Home
last modified time | relevance | path

Searched refs:programId (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp56 GrGLuint programId, in GrGLCompileAndAttachShader() argument
104 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
DGrGLShaderStringBuilder.h25 GrGLuint programId,
DGrGLProgramBuilder.h65 GrGLuint programId,
DGrGLProgramBuilder.cpp100 GrGLuint programId, in compileAndAttachShaders() argument
106 programId, in compileAndAttachShaders()
/third_party/flutter/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp64 GrGLuint programId, in GrGLCompileAndAttachShader() argument
113 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
DGrGLShaderStringBuilder.h26 GrGLuint programId,
DGrGLProgramBuilder.h56 GrGLuint programId,
DGrGLProgramBuilder.cpp89 GrGLuint programId, in compileAndAttachShaders() argument
95 programId, in compileAndAttachShaders()
/third_party/vk-gl-cts/modules/gles2/functional/
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()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
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()
[all …]
/third_party/vk-gl-cts/modules/glshared/
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/
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()
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;
1429 void RenderbufferCase::renderColoredQuad(GLuint programId, const float* positions) const in renderColoredQuad() argument
1439 glu::draw(m_context.getRenderContext(), programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderColoredQuad()
DglcCompressedFormatTests.cpp249 GLuint programId() const;
374 GLuint SharedData::programId () const in programId() function in glcts::__anon399be5110111::SharedData
1581 gl.useProgram(m_data->programId()); in iterate()
1616 gl.useProgram(m_data->programId()); in iterate()
DglcTextureRepeatModeTests.cpp1292 GLint programId = program.getProgram(); in iterate() local
1293 GLint samplerLocation = gl.getUniformLocation(programId, "texture0"); in iterate()
1296 gl.useProgram(programId); in iterate()
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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES31.cpp1845 ShaderProgramID programId) in ValidateUseProgramStagesBase() argument
1881 if (programId.value == 0) in ValidateUseProgramStagesBase()
1886 Program *program = context->getProgramNoResolveLink(programId); in ValidateUseProgramStagesBase()
1918 ShaderProgramID programId) in ValidateActiveShaderProgramBase() argument
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.value != 0) && !program->isLinked()) in ValidateActiveShaderProgramBase()
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/
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/
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/
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()