diff options
author | 2012-12-10 19:10:17 +0000 | |
---|---|---|
committer | 2012-12-10 19:10:17 +0000 | |
commit | 45a15f551b5b3c6c747d8eaf6466b7d3b76a8fae (patch) | |
tree | 49c9fd68caf3a90c7ed5a1ac89f418d6ce7b4afb /tests | |
parent | 6f9286202831dd807daf9b1e39271da8f390210e (diff) |
Modifications to GrPatherRenderer(Chain) interfaces to support clip mask manager.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6904069
git-svn-id: http://skia.googlecode.com/svn/trunk@6741 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GLProgramsTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 1aaefbf2d0..46d0820079 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -92,8 +92,10 @@ bool GrGpuGL::programUnitTest() { pdesc.fVertexLayout |= GrDrawTarget::kEdge_VertexLayoutBit; if (this->getCaps().shaderDerivativeSupport()) { pdesc.fVertexEdgeType = (GrDrawState::VertexEdgeType) random_int(&random, GrDrawState::kVertexEdgeTypeCnt); + pdesc.fDiscardIfOutsideEdge = random.nextBool(); } else { pdesc.fVertexEdgeType = GrDrawState::kHairLine_EdgeType; + pdesc.fDiscardIfOutsideEdge = false; } } else { } |