Searched defs:context_id (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp278 bool GLEnv::SwitchToContextId(int context_id) { argument
279 const EGLContext* context = FindOrNull(contexts_, context_id);
281 if (context_id_ != context_id) {
282 context_id_ = context_id;
290 void GLEnv::ReleaseContextId(int context_id) { argument
291 if (context_id > 0) {
292 const EGLContext* context = FindOrNull(contexts_, context_id);
294 contexts_.erase(context_id);
295 if (context_id_ == context_id && IsActive())

Completed in 344 milliseconds