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

Issue 1461913002: Revert of Fix NVPR assert for equivalent ovals (Closed)

Created:
5 years, 1 month ago by stephana
Modified:
5 years, 1 month ago
CC:
reviews_skia.org, reed1
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Revert of Fix NVPR assert for equivalent ovals (patchset #1 id:1 of https://codereview.chromium.org/1457073002/ ) Reason for revert: Causes failures on Android and Win8: ... ( 137/1245MB 9) 73.9ms unit test GpuLayerCachec:\0\build\slave\workdir\build\skia\include\private\skuniqueptr.h:164: failed assertion "get() != pointer()" Caught exception 2147483651 EXCEPTION_BREAKPOINT ... Original issue's description: > Fix NVPR assert for equivalent ovals > > For oval paths, GrPath ignores the point order and only uses the bounds > when building its key. This is problematic because > > 1) point order is important when dashing > 2) GrStencilAndCoverPathRenderer asserts that the lookup SkPath is equal > to the cached SkPath - which is not the case for ovals with different > directions/different point order. > > With this CL we no longer use the reduced oval key when dashing, and > instead fall through to the more general path cases. The assert is > adjusted to accommodate "equivalent" ovals (when not dashing). > > Also re-enabled & updated the GpuDrawPath unit test (disabled in > https://codereview.chromium.org/1456463003/, presumably due to the use > of uninitialized SkRects). > > R=bsalomon@google.com,robertphillips@google.com,cdalton@nvidia.com > > Committed: https://skia.googlesource.com/skia/+/f9b1577d763988ebc043ddabf80674f71571ecff TBR=bsalomon@google.com,cdalton@nvidia.com,robertphillips@google.com,fmalita@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://skia.googlesource.com/skia/+/1ac3f40b4350e01459b68a5fc598d1dc9e5faa62

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -60 lines) Patch
M src/gpu/GrPath.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/gpu/GrPath.cpp View 2 chunks +1 line, -19 lines 0 comments Download
M tests/GpuDrawPathTest.cpp View 4 chunks +10 lines, -40 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
stephana
Created Revert of Fix NVPR assert for equivalent ovals
5 years, 1 month ago (2015-11-19 02:35:45 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461913002/1
5 years, 1 month ago (2015-11-19 02:35:49 UTC) #2
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 02:36:00 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/1ac3f40b4350e01459b68a5fc598d1dc9e5faa62

Powered by Google App Engine
This is Rietveld 408576698