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.cpp471 void egl_display_t::loseCurrent(egl_context_t* cur_c) { in loseCurrent() argument
472 if (cur_c) { in loseCurrent()
473 egl_display_t* display = cur_c->getDisplay(); in loseCurrent()
475 display->loseCurrentImpl(cur_c); in loseCurrent()
480 void egl_display_t::loseCurrentImpl(egl_context_t* cur_c) { in loseCurrentImpl() argument
483 ContextRef _cur_c(cur_c); in loseCurrentImpl()
484 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : nullptr); in loseCurrentImpl()
485 SurfaceRef _cur_d(cur_c ? get_surface(cur_c->draw) : nullptr); in loseCurrentImpl()
489 cur_c->onLooseCurrent(); in loseCurrentImpl()
500 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, in makeCurrent() argument
[all …]
Degl_display.h49 void loseCurrentImpl(egl_context_t* cur_c);
74 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c, EGLSurface draw, EGLSurface read,
77 static void loseCurrent(egl_context_t* cur_c);
Degl_platform_entries.cpp1010 egl_context_t* cur_c = get_context(getContext()); in eglMakeCurrentImpl() local
1021 if (cur_c == nullptr) { in eglMakeCurrentImpl()
1042 EGLBoolean result = dp->makeCurrent(c, cur_c, draw, read, ctx, impl_draw, impl_read, impl_ctx); in eglMakeCurrentImpl()