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

Issue 1032253005: Remove some validation and asserts from tessellating path renderer. (Closed)

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

Description

Remove some validation and asserts from tessellating path renderer. In some cases, resolving an intersection can cause a vertex to go slightly out-of-order with edges which have already been processed. This doesn't cause any algorithmic errors, but it's difficult to detect without impacting performance significantly. Also, the GPU infrastructure fires asserts when attempting to allocate 0-length vertex buffers. Early-out instead, since there's nothing to draw. Committed: https://skia.googlesource.com/skia/+/e833107a30b240e0685b354838bf6098066da6f8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -108 lines) Patch
M src/gpu/GrTessellatingPathRenderer.cpp View 12 chunks +3 lines, -108 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Stephen White
Greg: PTAL. Thanks!
5 years, 9 months ago (2015-03-26 18:55:16 UTC) #2
egdaniel
so lgtm but some general question. Since all this validate code only runs in Debug, ...
5 years, 9 months ago (2015-03-26 19:24:22 UTC) #4
Stephen White
On 2015/03/26 19:24:22, egdaniel wrote: > so lgtm but some general question. > > Since ...
5 years, 9 months ago (2015-03-26 19:29:44 UTC) #5
egdaniel
On 2015/03/26 19:29:44, Stephen White wrote: > On 2015/03/26 19:24:22, egdaniel wrote: > > so ...
5 years, 9 months ago (2015-03-26 19:41:28 UTC) #6
Stephen White
On 2015/03/26 19:41:28, egdaniel wrote: > On 2015/03/26 19:29:44, Stephen White wrote: > > On ...
5 years, 9 months ago (2015-03-26 19:47:15 UTC) #7
egdaniel
On 2015/03/26 19:47:15, Stephen White wrote: > On 2015/03/26 19:41:28, egdaniel wrote: > > On ...
5 years, 9 months ago (2015-03-26 20:01:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032253005/1
5 years, 9 months ago (2015-03-26 21:47:42 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 21:52:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/e833107a30b240e0685b354838bf6098066da6f8

Powered by Google App Engine
This is Rietveld 408576698