Home
last modified time | relevance | path

Searched refs:shaderObject (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DTranslatorASM.cpp19 …orASM::TranslatorASM(glsl::Shader *shaderObject, GLenum shaderType) : TCompiler(shaderType), shade… in TranslatorASM() argument
26 glsl::OutputASM outputASM(parseContext, shaderObject); in translate()
DTranslatorASM.h29 TranslatorASM(glsl::Shader *shaderObject, GLenum type);
35 glsl::Shader *const shaderObject;
DOutputASM.cpp305 …utASM(TParseContext &context, Shader *shaderObject) : TIntermTraverser(true, true, true), shaderOb… in OutputASM() argument
311 if(shaderObject) in OutputASM()
313 shader = shaderObject->getShader(); in OutputASM()
314 pixelShader = shaderObject->getPixelShader(); in OutputASM()
315 vertexShader = shaderObject->getVertexShader(); in OutputASM()
2089 …for(ActiveUniformBlocks::const_iterator it = shaderObject->activeUniformBlocks.begin(); it != shad… in getBlockId()
2114 int blockArraySize = shaderObject->activeUniformBlocks[i].arraySize; in getArgumentInfo()
2833 VaryingList &activeVaryings = shaderObject->varyings; in declareVarying()
2919 ActiveAttributes &activeAttributes = shaderObject->activeAttributes; in attributeRegister()
3153 ActiveUniformBlocks &activeUniformBlocks = shaderObject->activeUniformBlocks; in blockMemberLookup()
[all …]
DOutputASM.h219 explicit OutputASM(TParseContext &context, Shader *shaderObject);
311 Shader *const shaderObject; variable
/external/swiftshader/src/OpenGL/libGL/
DResourceManager.cpp176 ShaderMap::iterator shaderObject = mShaderMap.find(shader); in deleteShader() local
178 if(shaderObject != mShaderMap.end()) in deleteShader()
180 if(shaderObject->second->getRefCount() == 0) in deleteShader()
183 delete shaderObject->second; in deleteShader()
184 mShaderMap.erase(shaderObject); in deleteShader()
188 shaderObject->second->flagForDeletion(); in deleteShader()
DlibGL.cpp160 gl::Shader *shaderObject = context->getShader(shader); in glAttachShader() local
174 if(!shaderObject) in glAttachShader()
186 if(!programObject->attachShader(shaderObject)) in glAttachShader()
769 gl::Shader *shaderObject = context->getShader(shader); in glCompileShader() local
771 if(!shaderObject) in glCompileShader()
783 shaderObject->compile(); in glCompileShader()
1547 gl::Shader *shaderObject = context->getShader(shader); in glDetachShader() local
1563 if(!shaderObject) in glDetachShader()
1576 if(!programObject->detachShader(shaderObject)) in glDetachShader()
2919 gl::Shader *shaderObject = context->getShader(shader); in glGetShaderiv() local
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DResourceManager.cpp163 Shader *shaderObject = mShaderNameSpace.find(shader); in deleteShader() local
165 if(shaderObject) in deleteShader()
167 if(shaderObject->getRefCount() == 0) in deleteShader()
169 delete shaderObject; in deleteShader()
175 shaderObject->flagForDeletion(); in deleteShader()
DlibGLESv2.cpp145 es2::Shader *shaderObject = context->getShader(shader); in AttachShader() local
159 if(!shaderObject) in AttachShader()
171 if(!programObject->attachShader(shaderObject)) in AttachShader()
765 es2::Shader *shaderObject = context->getShader(shader); in CompileShader() local
767 if(!shaderObject) in CompileShader()
779 shaderObject->compile(); in CompileShader()
1455 es2::Shader *shaderObject = context->getShader(shader); in DetachShader() local
1471 if(!shaderObject) in DetachShader()
1484 if(!programObject->detachShader(shaderObject)) in DetachShader()
3387 es2::Shader *shaderObject = context->getShader(shader); in GetShaderiv() local
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp336 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local
338 TCU_CHECK(shaderObject != 0); in test()
340 glDeleteShader(shaderObject); in test()
358 bool checkCompileStatus (const GLuint shaderObject) in checkCompileStatus() argument
361 glGetShaderiv(shaderObject, GL_COMPILE_STATUS, &compileStatus); in checkCompileStatus()
370 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local
372 TCU_CHECK(shaderObject != 0); in test()
374 glShaderSource(shaderObject, 1, &shaderSource, 0); in test()
375 glCompileShader(shaderObject); in test()
377 TCU_CHECK(checkCompileStatus(shaderObject)); in test()
[all …]
Des2fNegativeStateApiTests.cpp121 GLuint shaderObject = glCreateShader(GL_VERTEX_SHADER); in init()
131 glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in init()
140 glDeleteShader(shaderObject); in init()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp390 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local
392 TCU_CHECK(shaderObject != 0); in test()
394 glDeleteShader(shaderObject); in test()
412 bool checkCompileStatus (const GLuint shaderObject) in checkCompileStatus() argument
415 glGetShaderiv(shaderObject, GL_COMPILE_STATUS, &compileStatus); in checkCompileStatus()
424 const GLuint shaderObject = glCreateShader(glu::getGLShaderType(m_shaderType)); in test() local
426 TCU_CHECK(shaderObject != 0); in test()
428 glShaderSource(shaderObject, 1, &shaderSource, 0); in test()
429 glCompileShader(shaderObject); in test()
431 TCU_CHECK(checkCompileStatus(shaderObject)); in test()
[all …]
Des3fNegativeStateApiTests.cpp185 GLuint shaderObject = glCreateShader(GL_VERTEX_SHADER); in init()
195 glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in init()
204 glDeleteShader(shaderObject); in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeStateApiTests.cpp268 GLuint shaderObject = ctx.glCreateShader(GL_VERTEX_SHADER); in get_attached_shaders() local
278 ctx.glGetAttachedShaders(shaderObject, 1, &count[0], &shaders[0]); in get_attached_shaders()
287 ctx.glDeleteShader(shaderObject); in get_attached_shaders()