Lines Matching refs:surface_id
80 int surface_id = next_surface_id_++;
81 surface_map_[surface_id] =
84 return surface_id;
104 int surface_id = next_surface_id_++;
105 surface_map_[surface_id] =
107 return surface_id;
110 void GpuSurfaceTracker::RemoveSurface(int surface_id) {
112 DCHECK(surface_map_.find(surface_id) != surface_map_.end());
113 surface_map_.erase(surface_id);
116 bool GpuSurfaceTracker::GetRenderWidgetIDForSurface(int surface_id,
120 SurfaceMap::iterator it = surface_map_.find(surface_id);
131 void GpuSurfaceTracker::SetSurfaceHandle(int surface_id,
134 DCHECK(surface_map_.find(surface_id) != surface_map_.end());
135 SurfaceInfo& info = surface_map_[surface_id];
142 gfx::GLSurfaceHandle GpuSurfaceTracker::GetSurfaceHandle(int surface_id) {
144 SurfaceMap::iterator it = surface_map_.find(surface_id);
150 gfx::AcceleratedWidget GpuSurfaceTracker::AcquireNativeWidget(int surface_id) {
152 SurfaceMap::iterator it = surface_map_.find(surface_id);
165 int surface_id, gfx::AcceleratedWidget widget,
168 SurfaceMap::iterator it = surface_map_.find(surface_id);