summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_common.cc
diff options
context:
space:
mode:
authorwonsik@chromium.org <wonsik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 16:42:11 +0000
committerwonsik@chromium.org <wonsik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 16:42:11 +0000
commit10a30b12845c0599cb83bf7c5548e2d5f739f944 (patch)
treed448d029f6d070c26c03498cb47ca1edf0571daf /cc/test/render_pass_test_common.cc
parent0354f6502c56acaac6ff6ec887d7f13745daa40c (diff)
downloadchromium_src-10a30b12845c0599cb83bf7c5548e2d5f739f944.zip
chromium_src-10a30b12845c0599cb83bf7c5548e2d5f739f944.tar.gz
chromium_src-10a30b12845c0599cb83bf7c5548e2d5f739f944.tar.bz2
cc: Add force anti-aliasing off option to SolidColorDrawQuad
When edge anti-aliasing is used, GL renderer forces blending to be used, which causes hole punching logic to misbehave. Make force anti-aliasing off option to SolidColorDrawQuad to avoid unwanted anti-aliasing. TEST=cc_unittests ; content_unittests BUG=236317 R=enne@chromium.org,danakj@chromium.org,jamesr@chromium.org Review URL: https://chromiumcodereview.appspot.com/13842037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.cc')
-rw-r--r--cc/test/render_pass_test_common.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index c4f6310..9818603 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -143,7 +143,8 @@ void TestRenderPass::AppendOneOfEveryQuadType(
cc::SolidColorDrawQuad::Create();
solid_color_quad->SetNew(shared_state.get(),
rect,
- SK_ColorRED);
+ SK_ColorRED,
+ false);
AppendQuad(solid_color_quad.PassAs<DrawQuad>());
scoped_ptr<cc::StreamVideoDrawQuad> stream_video_quad =