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

Unified Diff: services/ui/surfaces/direct_output_surface_ozone.h

Issue 2399983003: cc: Make OutputSurface::Reshape abstract (Closed)
Patch Set: reshapeabstract: . Created 4 years, 2 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 332eb848c3eba9670f4ed44777ee48602f300466..603bd356e1510b4fb95905043a7e7034ac67c297 100644
--- a/services/ui/surfaces/direct_output_surface_ozone.h
+++ b/services/ui/surfaces/direct_output_surface_ozone.h
@@ -57,12 +57,12 @@ class DirectOutputSurfaceOzone : public cc::OutputSurface {
void EnsureBackbuffer() override;
void DiscardBackbuffer() override;
void BindFramebuffer() override;
- void SwapBuffers(cc::OutputSurfaceFrame frame) override;
- uint32_t GetFramebufferCopyTextureFormat() override;
void Reshape(const gfx::Size& size,
- float scale_factor,
+ float device_scale_factor,
const gfx::ColorSpace& color_space,
- bool alpha) override;
+ bool has_alpha) override;
+ void SwapBuffers(cc::OutputSurfaceFrame frame) override;
+ uint32_t GetFramebufferCopyTextureFormat() override;
cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override;
bool IsDisplayedAsOverlayPlane() const override;
unsigned GetOverlayTextureId() const override;
« 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