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

Unified Diff: content/browser/compositor/software_browser_compositor_output_surface.h

Issue 2352963002: cc: Make most of cc::OutputSurface abstract. (Closed)
Patch Set: outputsurface-cleanup: rebase Created 4 years, 3 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/browser/compositor/software_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.h b/content/browser/compositor/software_browser_compositor_output_surface.h
index 4258afac08e719027f56ffc22545123bbdf1664f..514b67782f44da3ac46aaf72298a376128e8d4d3 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.h
+++ b/content/browser/compositor/software_browser_compositor_output_surface.h
@@ -32,8 +32,13 @@ class CONTENT_EXPORT SoftwareBrowserCompositorOutputSurface
~SoftwareBrowserCompositorOutputSurface() override;
// OutputSurface implementation.
- void SwapBuffers(cc::CompositorFrame frame) override;
+ void EnsureBackbuffer() override;
+ void DiscardBackbuffer() override;
void BindFramebuffer() override;
+ void SwapBuffers(cc::CompositorFrame frame) override;
+ bool IsDisplayedAsOverlayPlane() const override;
+ unsigned GetOverlayTextureId() const override;
+ bool SurfaceIsSuspendForRecycle() const override;
uint32_t GetFramebufferCopyTextureFormat() override;
private:

Powered by Google App Engine
This is Rietveld 408576698