Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1397)

Unified Diff: cc/output/gl_renderer.h

Issue 2006153002: Revert of Add logic to ResourceProvider to correctly lock GpuMemoryBuffer Resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 2ef63a999ef9af25eb1dd7cecfe302a307e6801f..d1de2c24595fcd0835db3f00cf27aa592c08d331 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -258,19 +258,10 @@
void ScheduleCALayers(DrawingFrame* frame);
void ScheduleOverlays(DrawingFrame* frame);
- using OverlayResourceLock =
- std::unique_ptr<ResourceProvider::ScopedReadLockGpuMemoryBuffer>;
- using OverlayResourceLockList = std::vector<OverlayResourceLock>;
-
- // Resources that have been sent to the GPU process, but not yet swapped.
+ using OverlayResourceLockList =
+ std::vector<std::unique_ptr<ResourceProvider::ScopedReadLockGL>>;
OverlayResourceLockList pending_overlay_resources_;
-
- // Resources that should be shortly swapped by the GPU process.
- std::deque<OverlayResourceLockList> swapping_overlay_resources_;
-
- // Resources that the GPU process has finished swapping.
- std::map<ResourceId, OverlayResourceLock>
- swapped_and_acked_overlay_resources_;
+ std::deque<OverlayResourceLockList> swapped_overlay_resources_;
RendererCapabilitiesImpl capabilities_;
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698