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

Unified Diff: cc/surfaces/surface.h

Issue 2129523003: Remove more GpuMemoryBufferId plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « cc/resources/resource_provider_unittest.cc ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface.h
diff --git a/cc/surfaces/surface.h b/cc/surfaces/surface.h
index c3226aaa069e2eefa526fcc6e98af20c3b33ce33..e91d0bf6ad418fca3371484788ae52fde2687e00 100644
--- a/cc/surfaces/surface.h
+++ b/cc/surfaces/surface.h
@@ -49,10 +49,6 @@ class CC_SURFACES_EXPORT Surface {
}
void SetPreviousFrameSurface(Surface* surface);
- void SetGpuMemoryBufferClientId(int gpu_memory_buffer_client_id);
- int gpu_memory_buffer_client_id() const {
- return gpu_memory_buffer_client_id_;
- }
void QueueFrame(CompositorFrame frame, const DrawCallback& draw_callback);
void RequestCopyOfOutput(std::unique_ptr<CopyOutputRequest> copy_request);
@@ -101,7 +97,6 @@ class CC_SURFACES_EXPORT Surface {
SurfaceId surface_id_;
SurfaceId previous_frame_surface_id_;
- int gpu_memory_buffer_client_id_ = -1;
base::WeakPtr<SurfaceFactory> factory_;
// TODO(jamesr): Support multiple frames in flight.
CompositorFrame current_frame_;
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/surfaces/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698