Home
last modified time | relevance | path

Searched refs:shareGroup (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv31Imp.cpp55 ctx->shareGroup()->getLocalName(NamedObjectType::SHADER_OR_PROGRAM, programName); in glGetProgramPipelineiv()
86 if (ctx->shareGroup().get()) { in glUseProgramStages()
87 …const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(NamedObjectType::SHADER_OR_PROGR… in glUseProgramStages()
95 if (ctx->shareGroup().get()) { in glActiveShaderProgram()
96 …const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(NamedObjectType::SHADER_OR_PROGR… in glActiveShaderProgram()
112 ctx->shareGroup()->genName(ShaderProgramType::PROGRAM, 0, true, glCreateShaderProgramvRET); in glCreateShaderProgramv()
118 …ctx->shareGroup()->setObjectData(NamedObjectType::SHADER_OR_PROGRAM, localProgramName, ObjectDataP… in glCreateShaderProgramv()
126 if (ctx->shareGroup().get()) { in glProgramUniform1f()
129 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName( in glProgramUniform1f()
138 if (ctx->shareGroup().get()) { in glProgramUniform2f()
[all …]
DGLESv30Imp.cpp48 if (ctx->shareGroup().get()) { in glBindBufferRange()
49 …const GLuint globalBufferName = ctx->shareGroup()->getGlobalName(NamedObjectType::VERTEXBUFFER, bu… in glBindBufferRange()
59 if (ctx->shareGroup().get()) { in glBindBufferBase()
60 …const GLuint globalBufferName = ctx->shareGroup()->getGlobalName(NamedObjectType::VERTEXBUFFER, bu… in glBindBufferBase()
104 if (ctx->shareGroup().get()) { in glUniformBlockBinding()
105 …const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(NamedObjectType::SHADER_OR_PROGR… in glUniformBlockBinding()
112 if (ctx->shareGroup().get()) { in glGetUniformBlockIndex()
113 …const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(NamedObjectType::SHADER_OR_PROGR… in glGetUniformBlockIndex()
121 if (ctx->shareGroup().get()) { in glGetUniformIndices()
122 …const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(NamedObjectType::SHADER_OR_PROGR… in glGetUniformIndices()
[all …]
DGLESv2Imp.cpp248 if (!ctx->shareGroup()) { in initContext()
412 !ctx->shareGroup().get()) { in blitFromCurrentReadBufferANDROID()
456 if (ctx && shader && ctx->shareGroup().get()) { in s_detachShader()
457 auto shaderData = ctx->shareGroup()->getObjectData( in s_detachShader()
464 ctx->shareGroup()->deleteName(NamedObjectType::SHADER_OR_PROGRAM, shader); in s_detachShader()
473 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in getTextureData()
476 ctx->shareGroup()->setObjectData(NamedObjectType::TEXTURE, tex, in getTextureData()
502 if(ctx->shareGroup().get()) { in glAttachShader()
503 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName( in glAttachShader()
506 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName( in glAttachShader()
[all …]
DGLESv2Context.cpp241 m_useProgramData = shareGroup()->getObjectDataPtr( in postLoadRestoreCtx()
243 const GLuint globalProgramName = shareGroup()->getGlobalName( in postLoadRestoreCtx()
272 const GLuint globalBufferName = shareGroup() in postLoadRestoreCtx()
336 GLuint globalName = this->shareGroup()->getGlobalName( in postLoadRestoreCtx()
384 shareGroup()->getGlobalName(NamedObjectType::SAMPLER, in postLoadRestoreCtx()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp219 if (!ctx->shareGroup()) { in initContext()
344 if (!ctx->shareGroup()->isObject(NamedObjectType::TEXTURE, tex)) { in getTextureData()
350 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in getTextureData()
353 ctx->shareGroup()->setObjectData(NamedObjectType::TEXTURE, tex, in getTextureData()
374 if(buffer && ctx->shareGroup().get()) { in glIsBuffer()
375 auto objData = ctx->shareGroup()->getObjectData( in glIsBuffer()
468 if (buffer && ctx->shareGroup().get() && in glBindBuffer()
469 !ctx->shareGroup()->isObject(NamedObjectType::VERTEXBUFFER, buffer)) { in glBindBuffer()
470 ctx->shareGroup()->genName(NamedObjectType::VERTEXBUFFER, buffer); in glBindBuffer()
471 ctx->shareGroup()->setObjectData(NamedObjectType::VERTEXBUFFER, buffer, in glBindBuffer()
[all …]
DCoreProfileEngine.cpp725 auto objData = mCtx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in drawTexOES()
822 GLuint cubeMapTexGlobal = mCtx->shareGroup()->getGlobalName( in preDrawTextureUnitEmulation()
841 auto objData = mCtx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in preDrawTextureUnitEmulation()
861 GLuint cubeMapTexGlobal = mCtx->shareGroup()->getGlobalName( in postDrawTextureUnitEmulation()
DGLEScmContext.cpp1709 auto objData = shareGroup()->getObjectData( in drawTexOES()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DThreadInfo.cpp30 shareGroup = share; in updateInfo()
DThreadInfo.h34 ShareGroupPtr shareGroup; member
DEglImp.cpp1431 ShareGroupPtr sg = thread->shareGroup; in eglCreateImageKHR()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DFramebufferData.cpp249 name ? ctx->shareGroup()->getGlobalName(namedObjectType, name) : 0; in setAttachment()
286 ctx->shareGroup()->getObjectData(NamedObjectType::RENDERBUFFER, name); in getAttachmentSamples()
290 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, name); in getAttachmentSamples()
306 ctx->shareGroup()->getObjectData(NamedObjectType::RENDERBUFFER, name); in getAttachmentDimensions()
313 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, name); in getAttachmentDimensions()
332 ctx->shareGroup()->getObjectData(NamedObjectType::RENDERBUFFER, name); in getAttachmentInternalFormat()
336 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, name); in getAttachmentInternalFormat()
DShareGroup.cpp482 for (auto& shareGroup : m_groups) { in preSave() local
483 shareGroup.second->preSave(m_globalNameSpace); in preSave()
DGLEScontext.cpp3027 const GLuint globalProgramName = shareGroup()->getGlobalName( in blitFromReadBufferToTextureFlipped()
3035 shareGroup()->getGlobalName( in blitFromReadBufferToTextureFlipped()
3153 const GLuint globalProgramName = shareGroup()->getGlobalName( in blitFromReadBufferToEGLImage()
3161 shareGroup()->getGlobalName( in blitFromReadBufferToEGLImage()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLEScontext.h256 const ShareGroupPtr& shareGroup() const { return m_shareGroup; } in shareGroup() function