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

Unified Diff: services/ui/surfaces/direct_output_surface_ozone.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 | « services/ui/surfaces/direct_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/direct_output_surface_ozone.h
diff --git a/services/ui/surfaces/direct_output_surface_ozone.h b/services/ui/surfaces/direct_output_surface_ozone.h
index 29e785d80ff5c38c3b3be094fa8b0885d3e5d7e3..89fe2798a191aa8115e689c956175b5fb853f473 100644
--- a/services/ui/surfaces/direct_output_surface_ozone.h
+++ b/services/ui/surfaces/direct_output_surface_ozone.h
@@ -53,16 +53,22 @@ class DirectOutputSurfaceOzone : public cc::OutputSurface {
private:
// cc::OutputSurface implementation.
- void SwapBuffers(cc::CompositorFrame frame) override;
+ bool BindToClient(cc::OutputSurfaceClient* client) override;
+ void EnsureBackbuffer() override;
+ void DiscardBackbuffer() override;
void BindFramebuffer() override;
+ void SwapBuffers(cc::CompositorFrame frame) override;
uint32_t GetFramebufferCopyTextureFormat() override;
void Reshape(const gfx::Size& size,
float scale_factor,
const gfx::ColorSpace& color_space,
bool alpha) override;
+ cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
bool IsDisplayedAsOverlayPlane() const override;
unsigned GetOverlayTextureId() const override;
- bool BindToClient(cc::OutputSurfaceClient* client) override;
+ bool SurfaceIsSuspendForRecycle() const override;
+ bool HasExternalStencilTest() const override;
+ void ApplyExternalStencil() override;
// Taken from BrowserCompositor specific API.
void OnUpdateVSyncParametersFromGpu(base::TimeTicks timebase,
« no previous file with comments | « services/ui/surfaces/direct_output_surface.cc ('k') | services/ui/surfaces/direct_output_surface_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698