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.cpp482 getEGLThreadInfo()->currentContext->getGoldfishSyncFd(), in createNativeSync()
724 if (!tInfo || !tInfo->currentContext) { in getExtStringArray()
775 if (!tInfo || !tInfo->currentContext) { in getGLString()
789 strPtr = &tInfo->currentContext->versionString; in getGLString()
792 strPtr = &tInfo->currentContext->vendorString; in getGLString()
795 strPtr = &tInfo->currentContext->rendererString; in getGLString()
798 strPtr = &tInfo->currentContext->shaderVersionString; in getGLString()
801 strPtr = &tInfo->currentContext->extensionString; in getGLString()
1315 EGLContext_t* context = tInfo->currentContext; in s_eglReleaseThreadImpl()
1340 tInfo->currentContext = 0; in s_eglReleaseThreadImpl()
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DThreadInfo.h27 EGLThreadInfo() : currentContext(NULL), hostConn(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()