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

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 years, 8 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.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index b2d27d47d440d0f03dfb2d103f2d70366a2265a5..cbbfebf80ff79d161ba31905d8a39db762381edb 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -63,6 +63,7 @@ class ImageTransportSurface {
virtual void OnNewSurfaceACK(
uint64 surface_id, TransportDIB::Handle surface_handle) = 0;
+ virtual void OnReleaseSurfaceACK(uint64 surface_id, bool success) = 0;
virtual void OnBuffersSwappedACK() = 0;
virtual void OnPostSubBufferACK() = 0;
virtual void OnResizeViewACK() = 0;
@@ -130,6 +131,7 @@ class ImageTransportHelper : public IPC::Channel::Listener {
// IPC::Message handlers.
void OnNewSurfaceACK(uint64 surface_handle, TransportDIB::Handle shm_handle);
+ void OnReleaseSurfaceACK(uint64 surface_id, bool success);
void OnBuffersSwappedACK();
void OnPostSubBufferACK();
void OnResizeViewACK();
@@ -170,6 +172,7 @@ class PassThroughImageTransportSurface
// ImageTransportSurface implementation.
virtual void OnNewSurfaceACK(
uint64 surface_handle, TransportDIB::Handle shm_handle) OVERRIDE;
+ virtual void OnReleaseSurfaceACK(uint64 surface_id, bool success) OVERRIDE;
virtual void OnBuffersSwappedACK() OVERRIDE;
virtual void OnPostSubBufferACK() OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698