Home
last modified time | relevance | path

Searched refs:cur_c (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/opengl/libs/EGL/
Degl_display.cpp320 void egl_display_t::loseCurrent(egl_context_t * cur_c) in loseCurrent() argument
322 if (cur_c) { in loseCurrent()
323 egl_display_t* display = cur_c->getDisplay(); in loseCurrent()
325 display->loseCurrentImpl(cur_c); in loseCurrent()
330 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c) in loseCurrentImpl() argument
334 ContextRef _cur_c(cur_c); in loseCurrentImpl()
335 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : NULL); in loseCurrentImpl()
336 SurfaceRef _cur_d(cur_c ? get_surface(cur_c->draw) : NULL); in loseCurrentImpl()
340 cur_c->onLooseCurrent(); in loseCurrentImpl()
352 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, in makeCurrent() argument
[all …]
Degl_display.h50 void loseCurrentImpl(egl_context_t * cur_c);
75 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c,
78 static void loseCurrent(egl_context_t * cur_c);
DeglApi.cpp979 egl_context_t * cur_c = get_context(getContext()); in eglMakeCurrent() local
990 if (cur_c == NULL) { in eglMakeCurrent()
1012 EGLBoolean result = dp->makeCurrent(c, cur_c, in eglMakeCurrent()
1029 if (cur_c != NULL) { in eglMakeCurrent()
1033 ContextRef _c2(dp.get(), cur_c); in eglMakeCurrent()
1034 SurfaceRef _d2(dp.get(), cur_c->draw); in eglMakeCurrent()
1035 SurfaceRef _r2(dp.get(), cur_c->read); in eglMakeCurrent()
1037 c = cur_c; in eglMakeCurrent()
1040 if (cur_c->draw != EGL_NO_SURFACE) { in eglMakeCurrent()
1041 d = get_surface(cur_c->draw); in eglMakeCurrent()
[all …]