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

Unified Diff: cc/layer_tree_host_impl_unittest.cc

Issue 11649005: cc: Support anti-aliasing for solid color layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: per edge anti-aliasing Created 8 years 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
Index: cc/layer_tree_host_impl_unittest.cc
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
index 992ae71934324e222fc38b56bb8a99bd15f7c17a..6b43392ac778d8300d02e695512ebbff79780c8e 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -2151,7 +2151,7 @@ public:
SkColor gray = SkColorSetRGB(100, 100, 100);
gfx::Rect quadRect(gfx::Point(0, 0), contentBounds());
scoped_ptr<SolidColorDrawQuad> myQuad = SolidColorDrawQuad::Create();
- myQuad->SetNew(sharedQuadState, quadRect, gray);
+ myQuad->SetNew(sharedQuadState, quadRect, gray, false, false, false, false);
quadSink.append(myQuad.PassAs<DrawQuad>(), appendQuadsData);
}
@@ -4178,7 +4178,7 @@ static void configureRenderPassTestData(const char* testScript, RenderPassRemova
if (*currentChar == 's') {
// Solid color draw quad
scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create();
- quad->SetNew(testData.sharedQuadState.get(), gfx::Rect(0, 0, 10, 10), SK_ColorWHITE);
+ quad->SetNew(testData.sharedQuadState.get(), gfx::Rect(0, 0, 10, 10), SK_ColorWHITE, false, false, false, false);
renderPass->AppendQuad(quad.PassAs<DrawQuad>());
currentChar++;
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/picture_layer_impl.cc » ('j') | cc/solid_color_draw_quad.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698