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

Issue 1321723006: Revert of Minor cleanup in GrTessellatingPathRenderer. (Closed)

Created:
5 years, 3 months ago by Stephen White
Modified:
5 years, 3 months ago
Reviewers:
bsalomon, senorblanco
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Revert of Minor cleanup in GrTessellatingPathRenderer. (patchset #1 id:1 of https://codereview.chromium.org/1322023002/ ) Reason for revert: Patch is incorrect -- floating point errors can cause zero-area monotone polys to be skipped, resulting in a smaller vertex count than estimated. Reproduce as follows: out/Debug/SampleApp --slide Fuzzer --msaa 4 switch to GPU mode. Result: ../../src/gpu/batches/GrTessellatingPathRenderer.cpp:1500: failed assertion "static_cast<int>(end - verts) == vertexCount" Original issue's description: > Minor cleanup in GrTessellatingPathRenderer. > > Vertex counts are always exact, so don't bother handling the case > where they're different. Just assert. > Rename variables to reflect. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/9389b871c3b0f06bb34626cf9bdbfe0c93779327 TBR=bsalomon@google.com,senorblanco@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Committed: https://skia.googlesource.com/skia/+/06f989a61e4b0237e338a54d2cc0efd531cf0041

Patch Set 1 #

Patch Set 2 : Update to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -19 lines) Patch
M src/gpu/batches/GrTessellatingPathRenderer.cpp View 1 7 chunks +20 lines, -19 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Stephen White
Created Revert of Minor cleanup in GrTessellatingPathRenderer.
5 years, 3 months ago (2015-09-02 15:50:41 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321723006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321723006/1
5 years, 3 months ago (2015-09-02 15:50:50 UTC) #2
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrTessellatingPathRenderer.cpp: While running git apply --index -3 -p1; error: src/gpu/GrTessellatingPathRenderer.cpp: ...
5 years, 3 months ago (2015-09-02 15:50:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321723006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321723006/40001
5 years, 3 months ago (2015-09-02 16:05:15 UTC) #6
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 16:05:20 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://skia.googlesource.com/skia/+/06f989a61e4b0237e338a54d2cc0efd531cf0041

Powered by Google App Engine
This is Rietveld 408576698