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

Unified Diff: content/browser/compositor/offscreen_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/offscreen_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.h b/content/browser/compositor/offscreen_browser_compositor_output_surface.h
index 197a5d5ec5926a4257f8627da3e58c5700716ef1..76a104100d723c166a8e83d100fe83cf65bcadb7 100644
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.h
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.h
@@ -44,8 +44,11 @@ class OffscreenBrowserCompositorOutputSurface
const gfx::ColorSpace& color_space,
bool alpha) override;
void BindFramebuffer() override;
- uint32_t GetFramebufferCopyTextureFormat() override;
void SwapBuffers(cc::CompositorFrame frame) override;
+ bool IsDisplayedAsOverlayPlane() const override;
+ unsigned GetOverlayTextureId() const override;
+ bool SurfaceIsSuspendForRecycle() const override;
+ uint32_t GetFramebufferCopyTextureFormat() override;
// BrowserCompositorOutputSurface
void OnReflectorChanged() override;
@@ -65,6 +68,8 @@ class OffscreenBrowserCompositorOutputSurface
weak_ptr_factory_;
private:
+ void OnSwapBuffersComplete();
+
DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface);
};

Powered by Google App Engine
This is Rietveld 408576698