Home
last modified time | relevance | path

Searched refs:programObject (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
DResourceManager.cpp195 ProgramMap::iterator programObject = mProgramMap.find(program); in deleteProgram() local
197 if(programObject != mProgramMap.end()) in deleteProgram()
199 if(programObject->second->getRefCount() == 0) in deleteProgram()
202 delete programObject->second; in deleteProgram()
203 mProgramMap.erase(programObject); in deleteProgram()
207 programObject->second->flagForDeletion(); in deleteProgram()
DlibGL.cpp159 gl::Program *programObject = context->getProgram(program); in glAttachShader() local
162 if(!programObject) in glAttachShader()
186 if(!programObject->attachShader(shaderObject)) in glAttachShader()
237 gl::Program *programObject = context->getProgram(program); in glBindAttribLocation() local
239 if(!programObject) in glBindAttribLocation()
256 programObject->bindAttributeLocation(index, name); in glBindAttribLocation()
1546 gl::Program *programObject = context->getProgram(program); in glDetachShader() local
1549 if(!programObject) in glDetachShader()
1576 if(!programObject->detachShader(shaderObject)) in glDetachShader()
2245 gl::Program *programObject = context->getProgram(program); in glGetActiveAttrib() local
[all …]
DContext.cpp208 Program *programObject = mResourceManager->getProgram(mState.currentProgram); in ~Context() local
209 if(programObject) in ~Context()
211 programObject->release(); in ~Context()
1990 Program *programObject = getCurrentProgram(); in applyShaders() local
1991 if(!programObject) in applyShaders()
1997 sw::VertexShader *vertexShader = programObject->getVertexShader(); in applyShaders()
1998 sw::PixelShader *pixelShader = programObject->getPixelShader(); in applyShaders()
2003 if(programObject->getSerial() != mAppliedProgramSerial) in applyShaders()
2005 programObject->dirtyAllUniforms(); in applyShaders()
2006 mAppliedProgramSerial = programObject->getSerial(); in applyShaders()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv2.cpp144 es2::Program *programObject = context->getProgram(program); in AttachShader() local
147 if(!programObject) in AttachShader()
171 if(!programObject->attachShader(shaderObject)) in AttachShader()
217 es2::Program *programObject = context->getProgram(program); in BindAttribLocation() local
219 if(!programObject) in BindAttribLocation()
236 programObject->bindAttributeLocation(index, name); in BindAttribLocation()
1454 es2::Program *programObject = context->getProgram(program); in DetachShader() local
1457 if(!programObject) in DetachShader()
1484 if(!programObject->detachShader(shaderObject)) in DetachShader()
2386 es2::Program *programObject = context->getProgram(program); in GetActiveAttrib() local
[all …]
DResourceManager.cpp182 Program *programObject = mProgramNameSpace.find(program); in deleteProgram() local
184 if(programObject) in deleteProgram()
186 if(programObject->getRefCount() == 0) in deleteProgram()
188 delete programObject; in deleteProgram()
194 programObject->flagForDeletion(); in deleteProgram()
DlibGLESv3.cpp2050 es2::Program *programObject = context->getProgram(program); in glTransformFeedbackVaryings() local
2052 if(!programObject) in glTransformFeedbackVaryings()
2057 programObject->setTransformFeedbackVaryings(count, varyings, bufferMode); in glTransformFeedbackVaryings()
2075 es2::Program *programObject = context->getProgram(program); in glGetTransformFeedbackVarying() local
2077 if(!programObject) in glGetTransformFeedbackVarying()
2082 if(index >= static_cast<GLuint>(programObject->getTransformFeedbackVaryingCount())) in glGetTransformFeedbackVarying()
2087 programObject->getTransformFeedbackVarying(index, bufSize, length, size, type, name); in glGetTransformFeedbackVarying()
2355 es2::Program *programObject = context->getProgram(program); in glGetUniformuiv() local
2357 if(!programObject || !programObject->isLinked()) in glGetUniformuiv()
2362 if(!programObject) in glGetUniformuiv()
[all …]
DContext.cpp188 Program *programObject = mResourceManager->getProgram(mState.currentProgram); in ~Context() local
189 if(programObject) in ~Context()
191 programObject->release(); in ~Context()
1473 es2::Program *programObject = getCurrentProgram(); in hasZeroDivisor() local
1476 bool active = (programObject->getAttributeStream(attributeIndex) != -1); in hasZeroDivisor()
3000 Program *programObject = getCurrentProgram(); in applyShaders() local
3001 sw::VertexShader *vertexShader = programObject->getVertexShader(); in applyShaders()
3002 sw::PixelShader *pixelShader = programObject->getPixelShader(); in applyShaders()
3007 if(programObject->getSerial() != mAppliedProgramSerial) in applyShaders()
3009 programObject->dirtyAllUniforms(); in applyShaders()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp506 bool checkLinkStatus (const GLuint programObject) in checkLinkStatus() argument
509 glGetProgramiv(programObject, GL_LINK_STATUS, &linkStatus); in checkLinkStatus()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp560 bool checkLinkStatus (const GLuint programObject) in checkLinkStatus() argument
563 glGetProgramiv(programObject, GL_LINK_STATUS, &linkStatus); in checkLinkStatus()