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

Unified Diff: content/common/gpu/image_transport_surface_mac.cc

Issue 10663003: Merge the IPCs used for GPU process synchronization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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
Index: content/common/gpu/image_transport_surface_mac.cc
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index 466a9c29ed7fe5dd032a768822e036d454e2b1db..4250d482696acc344fdebc6d58cf94eda36c3047 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -44,8 +44,7 @@ class IOSurfaceImageTransportSurface : public gfx::NoOpGLSurfaceCGL,
// ImageTransportSurface implementation
virtual void OnNewSurfaceACK(uint64 surface_handle,
TransportDIB::Handle shm_handle) OVERRIDE;
- virtual void OnBuffersSwappedACK() OVERRIDE;
- virtual void OnPostSubBufferACK() OVERRIDE;
+ virtual void OnBufferPresented() OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
@@ -235,11 +234,7 @@ gfx::Size IOSurfaceImageTransportSurface::GetSize() {
return size_;
}
-void IOSurfaceImageTransportSurface::OnBuffersSwappedACK() {
- helper_->SetScheduled(true);
-}
-
-void IOSurfaceImageTransportSurface::OnPostSubBufferACK() {
+void IOSurfaceImageTransportSurface::OnBufferPresented() {
helper_->SetScheduled(true);
}
« no previous file with comments | « content/common/gpu/image_transport_surface_linux.cc ('k') | content/common/gpu/image_transport_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698