Home
last modified time | relevance | path

Searched refs:shaderObject (Results 1 – 14 of 14) 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.cpp502 …utASM(TParseContext &context, Shader *shaderObject) : TIntermTraverser(true, true, true), shaderOb… in OutputASM() argument
508 if(shaderObject) in OutputASM()
510 shader = shaderObject->getShader(); in OutputASM()
511 pixelShader = shaderObject->getPixelShader(); in OutputASM()
512 vertexShader = shaderObject->getVertexShader(); in OutputASM()
2316 …for(ActiveUniformBlocks::const_iterator it = shaderObject->activeUniformBlocks.begin(); it != shad… in getBlockId()
2341 int blockArraySize = shaderObject->activeUniformBlocks[i].arraySize; in getArgumentInfo()
3198 VaryingList &activeVaryings = shaderObject->varyings; in declareVarying()
3378 ActiveAttributes &activeAttributes = shaderObject->activeAttributes; in attributeRegister()
3657 ActiveUniformBlocks &activeUniformBlocks = shaderObject->activeUniformBlocks; in blockMemberLookup()
[all …]
DOutputASM.h224 explicit OutputASM(TParseContext &context, Shader *shaderObject);
340 Shader *const shaderObject; variable
/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.cpp86 es2::Shader *shaderObject = context->getShader(shader); in AttachShader() local
100 if(!shaderObject) in AttachShader()
112 if(!programObject->attachShader(shaderObject)) in AttachShader()
672 es2::Shader *shaderObject = context->getShader(shader); in CompileShader() local
674 if(!shaderObject) in CompileShader()
686 shaderObject->compile(); in CompileShader()
1383 es2::Shader *shaderObject = context->getShader(shader); in DetachShader() local
1399 if(!shaderObject) in DetachShader()
1412 if(!programObject->detachShader(shaderObject)) in DetachShader()
3122 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/angle/src/libANGLE/
DGLES1Renderer.cpp526 Shader *shaderObject = getShader(shader); in compileShader() local
527 ANGLE_CHECK(context, shaderObject, "Missing shader object", GL_INVALID_OPERATION); in compileShader()
529 shaderObject->setSource(1, &src, nullptr); in compileShader()
530 shaderObject->compile(context); in compileShader()
534 if (!shaderObject->isCompiled()) in compileShader()
536 GLint infoLogLength = shaderObject->getInfoLogLength(); in compileShader()
538 shaderObject->getInfoLog(infoLogLength - 1, nullptr, infoLog.data()); in compileShader()
DContext.cpp721 Shader *shaderObject = getShader(shaderID); in createShaderProgramv() local
722 ASSERT(shaderObject); in createShaderProgramv()
723 shaderObject->setSource(count, strings, nullptr); in createShaderProgramv()
724 shaderObject->compile(this); in createShaderProgramv()
731 if (shaderObject->isCompiled()) in createShaderProgramv()
738 programObject->attachShader(this, shaderObject); in createShaderProgramv()
757 programObject->detachShader(this, shaderObject); in createShaderProgramv()
761 programInfoLog << shaderObject->getInfoLogString(); in createShaderProgramv()
5230 Shader *shaderObject = mState.mShaderProgramManager->getShader(shader); in attachShader() local
5231 ASSERT(programObject && shaderObject); in attachShader()
[all …]
DvalidationES2.cpp4240 Shader *shaderObject = GetValidShader(context, shader); in ValidateAttachShader() local
4241 if (!shaderObject) in ValidateAttachShader()
4246 if (programObject->getAttachedShader(shaderObject->getType()) && in ValidateAttachShader()
4247 !programObject->getState().isShaderMarkedForDetach(shaderObject->getType())) in ValidateAttachShader()
4696 Shader *shaderObject = GetValidShader(context, shader); in ValidateDetachShader() local
4697 if (!shaderObject) in ValidateDetachShader()
4702 const Shader *attachedShader = programObject->getAttachedShader(shaderObject->getType()); in ValidateDetachShader()
4703 if (attachedShader != shaderObject) in ValidateDetachShader()
4929 Shader *shaderObject = GetValidShader(context, shader); in ValidateGetShaderInfoLog() local
4930 if (!shaderObject) in ValidateGetShaderInfoLog()
[all …]
/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()