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

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

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: Renaming messages. Updated the other platforms. 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_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index 32e9d8a45b69b51c30135856dbbe3e53ad0dad61..72a8f319a224d697db58cb8e860814fc773b5299 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -49,6 +49,7 @@ class PbufferImageTransportSurface
virtual void OnBuffersSwappedACK() OVERRIDE;
virtual void OnPostSubBufferACK() OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
+ virtual void OnDiscardSurface(uint64 surface_id) OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
private:
@@ -187,6 +188,9 @@ void PbufferImageTransportSurface::OnResizeViewACK() {
NOTREACHED();
}
+void PbufferImageTransportSurface::OnDiscardSurface(uint64 surface_id) {
+}
+
void PbufferImageTransportSurface::OnResize(gfx::Size size) {
if (buffer_allocation_state_ == BUFFER_ALLOCATION_FRONT_AND_BACK)
Resize(size);

Powered by Google App Engine
This is Rietveld 408576698