[go: nahoru, domu]

Searched refs:context_id (Results 1 - 2 of 2) 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())
H A Dgl_env.h145 bool SwitchToContextId(int context_id);
150 void ReleaseContextId(int context_id);

Completed in 35 milliseconds