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

Unified Diff: content/common/gpu/image_transport_surface_mac.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_mac.cc
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index ed9a4aa81e83fd00f4e106cedfc58bc434990df5..6f05d22d2444430d988290fe9ec90d0d9f1d80ea 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -46,6 +46,7 @@ class IOSurfaceImageTransportSurface : public gfx::NoOpGLSurfaceCGL,
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:
@@ -239,6 +240,9 @@ void IOSurfaceImageTransportSurface::OnResizeViewACK() {
NOTREACHED();
}
+void IOSurfaceImageTransportSurface::OnDiscardSurface(uint64 surface_id) {
+}
+
void IOSurfaceImageTransportSurface::OnResize(gfx::Size size) {
// Caching |context_| from OnMakeCurrent. It should still be current.
DCHECK(context_->IsCurrent(this));

Powered by Google App Engine
This is Rietveld 408576698