Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/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.cpp489 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()
835 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
886 if (!tInfo || !tInfo->currentContext) { in getGLString()
900 strPtr = &tInfo->currentContext->versionString; in getGLString()
903 strPtr = &tInfo->currentContext->vendorString; in getGLString()
906 strPtr = &tInfo->currentContext->rendererString; in getGLString()
909 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
912 strPtr = &tInfo->currentContext->extensionString; in getGLString()
1428 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl()
1453 tInfo->currentContext = 0; in s_eglReleaseThreadImpl()
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DThreadInfo.h27 EGLThreadInfo() : currentContext(NULL), eglError(EGL_SUCCESS) {} in EGLThreadInfo()
29 EGLContext_t *currentContext; member
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
DThreadInfo.h41 EGLThreadInfo() : currentContext(NULL), serverConn(NULL) {} in EGLThreadInfo()
43 EGLWrapperContext *currentContext; member
Degl.cpp483 if (ti->currentContext == wctx) ti->currentContext = NULL; in eglDestroyContext()
512 ti->currentContext = wctx; in eglMakeCurrent()
521 return (ti->currentContext ? ti->currentContext : EGL_NO_CONTEXT); in eglGetCurrentContext()