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

Unified Diff: cc/test/pixel_test_output_surface.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 | « cc/test/fake_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test_output_surface.h
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h
index 3b3f3f967fedc2dc5a7d322dd22b4d996b506215..b11e7b37cb88c1b4dc2ca0d54089e8ccdfa6552a 100644
--- a/cc/test/pixel_test_output_surface.h
+++ b/cc/test/pixel_test_output_surface.h
@@ -23,9 +23,9 @@ class PixelTestOutputSurface : public OutputSurface {
void DiscardBackbuffer() override;
void BindFramebuffer() 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;
bool HasExternalStencilTest() const override;
void ApplyExternalStencil() override;
void SwapBuffers(OutputSurfaceFrame frame) override;
@@ -35,15 +35,11 @@ class PixelTestOutputSurface : public OutputSurface {
bool SurfaceIsSuspendForRecycle() const override;
uint32_t GetFramebufferCopyTextureFormat() override;
- void set_surface_expansion_size(const gfx::Size& surface_expansion_size) {
- surface_expansion_size_ = surface_expansion_size;
- }
void set_has_external_stencil_test(bool has_test) {
external_stencil_test_ = has_test;
}
private:
- gfx::Size surface_expansion_size_;
bool external_stencil_test_;
};
« no previous file with comments | « cc/test/fake_output_surface.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698