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

Issue 2042923003: Make GrDashEffect take a AA mode enum. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Add comment #

Patch Set 3 : rm unneeded scoping #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -62 lines) Patch
M src/gpu/batches/GrDashLinePathRenderer.cpp View 1 1 chunk +11 lines, -2 lines 2 comments Download
M src/gpu/effects/GrDashingEffect.h View 1 chunk +8 lines, -2 lines 0 comments Download
M src/gpu/effects/GrDashingEffect.cpp View 1 2 32 chunks +45 lines, -58 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
bsalomon
4 years, 6 months ago (2016-06-07 14:52:42 UTC) #3
bsalomon
I think this more clearly captures the set of intended use cases WRT to AA ...
4 years, 6 months ago (2016-06-07 14:53:15 UTC) #4
egdaniel
lgtm
4 years, 6 months ago (2016-06-07 14:57:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042923003/40001
4 years, 6 months ago (2016-06-07 14:57:52 UTC) #7
csmartdalton
https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashLinePathRenderer.cpp File src/gpu/batches/GrDashLinePathRenderer.cpp (right): https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashLinePathRenderer.cpp#newcode47 src/gpu/batches/GrDashLinePathRenderer.cpp:47: GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled); Just an FYI-- The patch doesn't ...
4 years, 6 months ago (2016-06-07 15:04:32 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/af18fb49fbefb96a6670171a07442b1ccb9f746f
4 years, 6 months ago (2016-06-07 15:10:50 UTC) #10
bsalomon
https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashLinePathRenderer.cpp File src/gpu/batches/GrDashLinePathRenderer.cpp (right): https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashLinePathRenderer.cpp#newcode47 src/gpu/batches/GrDashLinePathRenderer.cpp:47: GrPipelineBuilder pipelineBuilder(*args.fPaint, msaaIsEnabled); On 2016/06/07 15:04:32, csmartdalton wrote: > ...
4 years, 6 months ago (2016-06-07 15:11:58 UTC) #11
csmartdalton
4 years, 6 months ago (2016-06-07 15:13:57 UTC) #12
Message was sent while issue was closed.
On 2016/06/07 15:11:58, bsalomon wrote:
>
https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashL...
> File src/gpu/batches/GrDashLinePathRenderer.cpp (right):
> 
>
https://codereview.chromium.org/2042923003/diff/40001/src/gpu/batches/GrDashL...
> src/gpu/batches/GrDashLinePathRenderer.cpp:47: GrPipelineBuilder
> pipelineBuilder(*args.fPaint, msaaIsEnabled);
> On 2016/06/07 15:04:32, csmartdalton wrote:
> > Just an FYI-- The patch doesn't introduce a change in functionality that I
can
> > see, but until
> > https://codereview.chromium.org/2041283002/, that second parameter to the
> > constructor is just one element to GrPB's formula about whether it should
> enable
> > hwaa.
> > 
> > So for now we are still getting into a weird, half AA half non-AA state when
> > support to disable MSAA exists. Because the PB will disable HWAA when
> > paint.isAntiAlias() is false.
> 
> But that'll be fixed with your upcoming change right?

Yeah, I'll take care of it.

Powered by Google App Engine
This is Rietveld 408576698