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

Unified Diff: cc/output/renderer_pixeltest.cc

Issue 394193003: Implement HiDPI and pinch-zoom scaling of filter params (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra headers; unneeded code in tests Created 6 years, 4 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/output/gl_renderer.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer_pixeltest.cc
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc
index bd1a79a65e687f6ef9c72497be25a06871581823..f172da7e9eb1cd293ccb8fd469b643848ae6304d 100644
--- a/cc/output/renderer_pixeltest.cc
+++ b/cc/output/renderer_pixeltest.cc
@@ -109,6 +109,7 @@ void CreateTestRenderPassDrawQuad(const SharedQuadState* shared_state,
rect, // contents_changed_since_last_frame
gfx::RectF(1.f, 1.f), // mask_uv_rect
FilterOperations(), // foreground filters
+ gfx::Vector2dF(), // filters scale
FilterOperations()); // background filters
}
@@ -811,6 +812,7 @@ TYPED_TEST(RendererPixelTest, FastPassColorFilterAlpha) {
pass_rect,
gfx::RectF(),
filters,
+ gfx::Vector2dF(),
FilterOperations());
RenderPassList pass_list;
@@ -883,6 +885,7 @@ TYPED_TEST(RendererPixelTest, FastPassSaturateFilter) {
pass_rect,
gfx::RectF(),
filters,
+ gfx::Vector2dF(),
FilterOperations());
RenderPassList pass_list;
@@ -954,6 +957,7 @@ TYPED_TEST(RendererPixelTest, FastPassFilterChain) {
pass_rect,
gfx::RectF(),
filters,
+ gfx::Vector2dF(),
FilterOperations());
RenderPassList pass_list;
@@ -1047,6 +1051,7 @@ TYPED_TEST(RendererPixelTest, FastPassColorFilterAlphaTranslation) {
pass_rect,
gfx::RectF(),
filters,
+ gfx::Vector2dF(),
FilterOperations());
RenderPassList pass_list;
@@ -1255,6 +1260,7 @@ TYPED_TEST(RendererPixelTest, RenderPassAndMaskWithPartialQuad) {
sub_rect, // contents_changed_since_last_frame
gfx::RectF(1.f, 1.f), // mask_uv_rect
FilterOperations(), // foreground filters
+ gfx::Vector2dF(), // filters scale
FilterOperations()); // background filters
// White background behind the masked render pass.
@@ -1329,6 +1335,7 @@ class RendererPixelTestWithBackgroundFilter
filter_pass_content_rect_, // contents_changed_since_last_frame
gfx::RectF(), // mask_uv_rect
FilterOperations(), // filters
+ gfx::Vector2dF(), // filters_scale
this->background_filters_);
}
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698