Searched refs:surfaces_ (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 49 for (std::map<int, SurfaceWindowPair>::iterator it = surfaces_.begin(); in ~GLEnv() 50 it != surfaces_.end(); in ~GLEnv() 84 surfaces_.size() > 0 && in IsInitialized() 122 surfaces_[0] = SurfaceWindowPair(eglGetCurrentSurface(EGL_DRAW), NULL); in InitWithCurrentContext() 175 …surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), N… in InitWithNewContext() 208 surfaces_[id] = SurfaceWindowPair(surface, window_handle); in AddWindowSurface() 219 const SurfaceWindowPair* surface = FindOrNull(surfaces_, surface_id); in SwitchToSurfaceId() 232 const SurfaceWindowPair* surface_window_pair = FindOrNull(surfaces_, surface_id); in ReleaseSurfaceId() 241 surfaces_.erase(surface_id); in ReleaseSurfaceId() 250 const SurfaceWindowPair* surface_window_pair = FindOrNull(surfaces_, in SetSurfaceTimestamp() [all …]
|
D | gl_env.h | 134 return surfaces_.find(surface_id_)->second.first; in surface() 234 std::map<int, SurfaceWindowPair> surfaces_; variable
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 444 surfaces_.resize(state.threads); in SetUp() 447 surfaces_[i] = transport_->CreateSurface(); in SetUp() 448 CHECK(surfaces_[i]); in SetUp() 457 surfaces_.clear(); in TearDown() 465 std::vector<sp<Surface>> surfaces_; member in BufferTransportBenchmark 478 CHECK(surfaces_[state.thread_index]); in BENCHMARK_DEFINE_F() 479 window = static_cast<ANativeWindow*>(surfaces_[state.thread_index].get()); in BENCHMARK_DEFINE_F()
|