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

/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp281 bool GLEnv::SwitchToContextId(int context_id) { argument
282 const EGLContext* context = FindOrNull(contexts_, context_id);
284 if (context_id_ != context_id) {
285 context_id_ = context_id;
293 void GLEnv::ReleaseContextId(int context_id) { argument
294 if (context_id > 0) {
295 const EGLContext* context = FindOrNull(contexts_, context_id);
297 contexts_.erase(context_id);
298 if (context_id_ == context_id && IsActive())

Completed in 302 milliseconds