Searched refs:contexts_ (Results 1 – 2 of 2) sorted by relevance
62 for (std::map<int, EGLContext>::iterator it = contexts_.begin(); in ~GLEnv()63 it != contexts_.end(); in ~GLEnv()83 return (contexts_.size() > 0 && in IsInitialized()121 contexts_[0] = eglGetCurrentContext(); in InitWithCurrentContext()180 contexts_[0] = eglCreateContext(display(), in InitWithNewContext()276 const int id = contexts_.size(); in AddContext()277 contexts_[id] = context; in AddContext()282 const EGLContext* context = FindOrNull(contexts_, context_id); in SwitchToContextId()295 const EGLContext* context = FindOrNull(contexts_, context_id); in ReleaseContextId()297 contexts_.erase(context_id); in ReleaseContextId()
155 return contexts_.find(context_id_)->second; in context()233 std::map<int, EGLContext> contexts_; variable