Home
last modified time | relevance | path

Searched refs:isGles2Gles (Results 1 – 17 of 17) sorted by relevance

/hardware/google/gfxstream/host/tests/
DGLES1Dispatch_unittest.cpp30 if (isGles2Gles()) { in TEST_F()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLutils.cpp35 void setGles2Gles(bool isGles2Gles) { in setGles2Gles() argument
36 __atomic_store_n(&s_gles2Gles, isGles2Gles ? 1 : 0, __ATOMIC_RELAXED); in setGles2Gles()
39 bool isGles2Gles() { in isGles2Gles() function
DSaveableTexture.cpp611 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in onSave()
699 if (!isGles2Gles()) { in onSave()
710 if (!isGles2Gles()) { in onSave()
811 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in onSave()
873 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in restore()
910 if (!isGles2Gles() && m_type == GL_UNSIGNED_BYTE && m_format == GL_BGRA_EXT && in restore()
1030 if (isGles2Gles() && pixelStoreIndexes[i] != GL_PACK_ALIGNMENT && in restore()
DGLEScontext.cpp917 if (isGles2Gles()) { in postLoadRestoreCtx()
1812 if ((::isCoreProfile() || isGles2Gles()) && !glSupport.maxTexUnits) { in initCapsLocked()
1901 (isGles2Gles() && strstr(cstring, "GL_EXT_texture_format_BGRA8888")) || in initCapsLocked()
1902 (!isGles2Gles() && !(Version((const char*)glVersion) < Version("1.2")))) in initCapsLocked()
1933 || isGles2Gles()) in initCapsLocked()
1964 && isGles2Gles()) { in initCapsLocked()
2700 if (isGles2Gles()) { in copyTexImageWithEmulation()
3006 if (isGles2Gles()) { in blitFromReadBufferToTextureFlipped()
3062 if (isGles2Gles()) { in blitFromReadBufferToTextureFlipped()
3133 if (isGles2Gles()) { in blitFromReadBufferToEGLImage()
[all …]
DFramebufferData.cpp343 if (isGles2Gles()) return; in separateDepthStencilWorkaround()
517 if (isGles2Gles()) return; in validate()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglGlobalInfo.cpp54 return isGles2Gles(); in isEgl2Egl()
62 return !isGles2Gles() || sEgl2EglSyncSafeToUse; in isEgl2EglSyncSafeToUse()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLutils.h28 bool isGles2Gles();
DTranslatorIfaces.h96 void (*initGLESx)(bool isGles2Gles);
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DANGLEShaderParser.h59 bool isGles2Gles,
DShaderParser.cpp89 if (isGles2Gles()) { in restore()
108 if (isGles2Gles()) { in convertESSLToGLSL()
DANGLEShaderParser.cpp254 bool isGles2Gles, in globalInitialize() argument
257 sIsGles2Gles = isGles2Gles; in globalInitialize()
DGLESv2Context.cpp81 if (m_glesMajorVersion > 2 && !isGles2Gles()) { in init()
526 bool needPointEmulation = mode == GL_POINTS && !isGles2Gles(); in drawWithEmulations()
529 if (!isGles2Gles() && primitiveRestartEnabled() && type) { in drawWithEmulations()
784 …if (glSupport.ext_GL_EXT_shader_framebuffer_fetch && isGles2Gles()) ext += "GL_EXT_shader_framebuf… in InitExtensionString()
DProgramData.cpp195 if (!isGles2Gles()) { in getUniformValue()
421 if (!isGles2Gles()) { in restore()
666 if (isGles2Gles()) { in getTranslatedName()
683 if (isGles2Gles()) { in getDetranslatedName()
807 if (is310 || isGles2Gles()) { in setLinkStatus()
DGLESv2Imp.cpp77 static void initGLESx(bool isGles2Gles);
278 static void initGLESx(bool isGles2Gles) { in initGLESx() argument
279 setGles2Gles(isGles2Gles); in initGLESx()
631 if (ctx->getMajorVersion() < 3 || isGles2Gles()) { in sUpdateFboEmulation()
787 if (!ctx->isCoreProfile() && !isGles2Gles()) { in glBindTexture()
873 if (isGles2Gles()) { in glClearDepthf()
1285 isGles2Gles(), in glCreateShader()
1498 if (isGles2Gles()) { in glDepthRangef()
1541 if (!isGles2Gles()) { in glDisable()
1566 if (isGles2Gles()) { in s_glDrawPre()
[all …]
DGLESv30Imp.cpp1061 if (!isGles2Gles() && type == GL_UNSIGNED_BYTE && format == GL_BGRA_EXT && in glTexImage3D()
1083 if (!isGles2Gles() && type == GL_UNSIGNED_BYTE && format == GL_BGRA_EXT && in glTexStorage3D()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp66 static void initGLESx(bool isGles2Gles);
201 static void initGLESx(bool isGles2Gles) { in initGLESx() argument
202 setGles2Gles(isGles2Gles); in initGLESx()
1487 if (isGles2Gles() || isCoreProfile()) { in glHint()
1994 if ((isCoreProfile() || isGles2Gles()) && in glTexImage2D()
1997 } else if (isGles2Gles()) { in glTexImage2D()
2017 if (isCoreProfile() || isGles2Gles() || in handleMipmapGeneration()
2272 if (isCoreProfile() || isGles2Gles()) { in glEGLImageTargetRenderbufferStorageOES()
2280 if (isCoreProfile() || isGles2Gles()) { in glEGLImageTargetRenderbufferStorageOES()
2294 if (isCoreProfile() || isGles2Gles()) { in glEGLImageTargetRenderbufferStorageOES()
[all …]
DGLEScmContext.cpp60 } else if (isGles2Gles()) { in init()
296 } else if (isGles2Gles()) { in postLoadRestoreCtx()