Home
last modified time | relevance | path

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

/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.h57 GrGLuint programId,
64 GrGLuint programId,
DGrGLShaderStringBuilder.h23 GrGLuint programId,
DGrGLShaderStringBuilder.cpp114 GrGLuint programId, in GrGLCompileAndAttachShader() argument
174 GR_GL_CALL(gli, AttachShader(programId, shaderId)); in GrGLCompileAndAttachShader()
DGrGLProgramBuilder.cpp86 GrGLuint programId, in compileAndAttachShaders() argument
93 programId, in compileAndAttachShaders()
113 GrGLuint programId, in compileAndAttachShaders() argument
128 programId, in compileAndAttachShaders()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp55 GrGLuint programId, in GrGLCompileAndAttachShader() argument
103 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()
/external/deqp/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 …]
/external/deqp/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 …]
/external/deqp/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()
1078 void renderColoredQuad(GLuint programId, const float* positions) const;
1426 void RenderbufferCase::renderColoredQuad(GLuint programId, const float* positions) const in renderColoredQuad() argument
1436 glu::draw(m_context.getRenderContext(), programId, DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderColoredQuad()
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);
644 bool BaseTest::setTextureUniform(GLuint programId) in setTextureUniform() argument
648 gl.useProgram(programId); in setTextureUniform()
650 GLint uniformTex = gl.getUniformLocation(programId, "tex"); in setTextureUniform()
/external/deqp/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()
/external/angle/src/libANGLE/
DvalidationES31.cpp1715 ShaderProgramID programId) in ValidateUseProgramStagesBase() argument
1751 if (programId.value == 0) in ValidateUseProgramStagesBase()
1756 Program *program = context->getProgramNoResolveLink(programId); in ValidateUseProgramStagesBase()
1787 ShaderProgramID programId) in ValidateActiveShaderProgramBase() argument
1800 if ((programId.value != 0) && !context->isProgram(programId) && !context->isShader(programId)) in ValidateActiveShaderProgramBase()
1807 if (context->isShader(programId)) in ValidateActiveShaderProgramBase()
1815 Program *program = context->getProgramNoResolveLink(programId); in ValidateActiveShaderProgramBase()
1816 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()
/external/deqp/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()
/external/deqp/modules/gles31/functional/
Des31fGeometryShaderTests.cpp2052 const GLuint programId = ctx.createProgram(&program); in renderWithContext() local
2053 const GLint attrPosLoc = ctx.getAttribLocation(programId, "a_position"); in renderWithContext()
2054 const GLint attrColLoc = ctx.getAttribLocation(programId, m_dataAttributeName); in renderWithContext()
2097 ctx.useProgram(programId); in renderWithContext()
2100 preRender(ctx, programId); in renderWithContext()
2124 postRender(ctx, programId); in renderWithContext()
2411 const GLuint programId = m_ctx->createProgram(m_program); in iterate() local
2412 const GLint attrPosLoc = m_ctx->getAttribLocation(programId, "a_position"); in iterate()
2433 m_ctx->useProgram(programId); in iterate()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp4795 gl::ShaderProgramID programId; in maybeCapturePostCallUpdates() local
4796 programId.value = lastCall.params.getReturnValue().value.GLuintVal; in maybeCapturePostCallUpdates()
4797 const gl::Program *program = context->getProgramResolveLink(programId); in maybeCapturePostCallUpdates()