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.cpp508 void egl_display_t::loseCurrent(egl_context_t * cur_c) in loseCurrent() argument
510 if (cur_c) { in loseCurrent()
511 egl_display_t* display = cur_c->getDisplay(); in loseCurrent()
513 display->loseCurrentImpl(cur_c); in loseCurrent()
518 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c) in loseCurrentImpl() argument
522 ContextRef _cur_c(cur_c); in loseCurrentImpl()
523 SurfaceRef _cur_r(cur_c ? get_surface(cur_c->read) : nullptr); in loseCurrentImpl()
524 SurfaceRef _cur_d(cur_c ? get_surface(cur_c->draw) : nullptr); in loseCurrentImpl()
528 cur_c->onLooseCurrent(); in loseCurrentImpl()
540 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, in makeCurrent() argument
[all …]
Degl_display.h54 void loseCurrentImpl(egl_context_t * cur_c);
79 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c,
82 static void loseCurrent(egl_context_t * cur_c);
Degl_platform_entries.cpp1055 egl_context_t * cur_c = get_context(getContext()); in eglMakeCurrentImpl() local
1066 if (cur_c == nullptr) { in eglMakeCurrentImpl()
1088 EGLBoolean result = dp->makeCurrent(c, cur_c, in eglMakeCurrentImpl()