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

Issue 2183223002: Implement coverage AA for skewed rects with local coords (Closed)

Created:
4 years, 4 months ago by csmartdalton
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Implement coverage AA for skewed rects with local coords Adds a path fallback for rects with local coords that can't be drawn with an analytic shader. This is accomplished by modifying the view matrix and then drawing the local rect/quad. BUG=skia:5500, 7508 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2183223002 Committed: https://skia.googlesource.com/skia/+/fc49d56feb2d890ccb3827ed087ab32e18a9da12

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implement coverage AA for skewed rects with local coords #

Patch Set 3 : Implement coverage AA for skewed rects with local coords #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -23 lines) Patch
M src/gpu/GrDrawContext.cpp View 1 2 4 chunks +51 lines, -23 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
csmartdalton
https://codereview.chromium.org/2183223002/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2183223002/diff/1/src/gpu/GrDrawContext.cpp#newcode650 src/gpu/GrDrawContext.cpp:650: SkFAIL("Bogus local rect."); // I'm hoping this is illegal ...
4 years, 4 months ago (2016-07-26 20:28:29 UTC) #3
bsalomon
https://codereview.chromium.org/2183223002/diff/1/src/gpu/GrDrawContext.cpp File src/gpu/GrDrawContext.cpp (right): https://codereview.chromium.org/2183223002/diff/1/src/gpu/GrDrawContext.cpp#newcode650 src/gpu/GrDrawContext.cpp:650: SkFAIL("Bogus local rect."); // I'm hoping this is illegal ...
4 years, 4 months ago (2016-07-26 20:33:03 UTC) #4
xidachen
I can confirm that this patch does fix the issue when rotation + scale is ...
4 years, 4 months ago (2016-07-26 20:38:45 UTC) #6
Justin Novosad
On 2016/07/26 20:38:45, xidachen wrote: > I can confirm that this patch does fix the ...
4 years, 4 months ago (2016-07-26 20:42:26 UTC) #7
csmartdalton
On 2016/07/26 20:42:26, Justin Novosad wrote: > On 2016/07/26 20:38:45, xidachen wrote: > > I ...
4 years, 4 months ago (2016-07-26 20:43:47 UTC) #8
xidachen
lgtm
4 years, 4 months ago (2016-07-26 20:46:17 UTC) #9
Justin Novosad
On 2016/07/26 20:46:17, xidachen wrote: > lgtm lgtm 2
4 years, 4 months ago (2016-07-26 20:48:00 UTC) #10
bsalomon
With a passing test lgtm
4 years, 4 months ago (2016-07-26 20:48:39 UTC) #11
bsalomon
Also, I think it'd be safe to print and return rather than SkFAIL() in the ...
4 years, 4 months ago (2016-07-26 20:49:17 UTC) #12
xidachen
On 2016/07/26 20:43:47, csmartdalton wrote: > On 2016/07/26 20:42:26, Justin Novosad wrote: > > On ...
4 years, 4 months ago (2016-07-26 20:50:07 UTC) #13
csmartdalton
Ok, I think this covers all the feedback. I verified that these cases both have ...
4 years, 4 months ago (2016-07-26 21:07:33 UTC) #15
bsalomon
lgtm
4 years, 4 months ago (2016-07-26 21:22:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2183223002/40001
4 years, 4 months ago (2016-07-26 23:21:31 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 00:05:50 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/fc49d56feb2d890ccb3827ed087ab32e18a9da12

Powered by Google App Engine
This is Rietveld 408576698