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

Unified Diff: android_webview/browser/parent_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
« no previous file with comments | « no previous file | android_webview/browser/parent_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/parent_output_surface.h
diff --git a/android_webview/browser/parent_output_surface.h b/android_webview/browser/parent_output_surface.h
index 48b7853484439449297c83df45aa5616b842618e..8b5fed6668cd9ba21996498b9fd38d6178588048 100644
--- a/android_webview/browser/parent_output_surface.h
+++ b/android_webview/browser/parent_output_surface.h
@@ -19,6 +19,9 @@ class ParentOutputSurface : NON_EXPORTED_BASE(public cc::OutputSurface) {
// OutputSurface overrides.
void DidLoseOutputSurface() override;
+ void EnsureBackbuffer() override;
+ void DiscardBackbuffer() override;
+ void BindFramebuffer() override;
void Reshape(const gfx::Size& size,
float scale_factor,
const gfx::ColorSpace& color_space,
@@ -27,6 +30,10 @@ class ParentOutputSurface : NON_EXPORTED_BASE(public cc::OutputSurface) {
bool HasExternalStencilTest() const override;
void ApplyExternalStencil() override;
uint32_t GetFramebufferCopyTextureFormat() override;
+ cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
+ bool IsDisplayedAsOverlayPlane() const override;
+ unsigned GetOverlayTextureId() const override;
+ bool SurfaceIsSuspendForRecycle() const override;
private:
DISALLOW_COPY_AND_ASSIGN(ParentOutputSurface);
« no previous file with comments | « no previous file | android_webview/browser/parent_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698