Home
last modified time | relevance | path

Searched refs:currentContext (Results 1 – 5 of 5) sorted by relevance

/hardware/google/gfxstream/host/gl/
DDisplaySurfaceGl.cpp70 EGLContext currentContext = s_egl.eglGetCurrentContext(); in setupContext() local
74 bool needsUpdate = (currentContext != mContext || in setupContext()
81 "current=%p, needed=%p, thread=%p", currentContext, mContext, &sThreadState); in setupContext()
94 {.context = currentContext, in setupContext()
103 EGLContext currentContext = s_egl.eglGetCurrentContext(); in teardownContext() local
113 bool needsUpdate = (currentContext != newContext.context || in teardownContext()
/hardware/google/gfxstream/guest/egl/
DClientAPIExts.cpp97 if (!thread->currentContext) { \
100 int clientMajorVersion = (int)thread->currentContext->majorVersion; \
112 if (!thread->currentContext) { \
115 int idx = (int)thread->currentContext->majorVersion - 1; \
Degl.cpp597 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()
946 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
950 if (tInfo->currentContext->extensionStringArray.size() > 0) { in getExtStringArray()
951 return tInfo->currentContext->extensionStringArray; in getExtStringArray()
993 tInfo->currentContext->extensionStringArray = res; in getExtStringArray()
1002 if (!tInfo || !tInfo->currentContext) { in getGLString()
1016 strPtr = &tInfo->currentContext->versionString; in getGLString()
1019 strPtr = &tInfo->currentContext->vendorString; in getGLString()
1022 strPtr = &tInfo->currentContext->rendererString; in getGLString()
1025 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
[all …]
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DThreadInfo.h29 EGLThreadInfo() : currentContext(NULL), eglError(EGL_SUCCESS), dtor(0) {} in EGLThreadInfo()
32 EGLContext_t *currentContext; member
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DMacNative.m345 NSOpenGLContext* ctx = [NSOpenGLContext currentContext];
352 NSOpenGLContext* ctx = [NSOpenGLContext currentContext];