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

Issue 2316593003: Add GM/slide to simulate Android-style reveal clip (Closed)

Created:
4 years, 3 months ago by robertphillips
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add GM/slide to simulate Android-style reveal clip Hopefully, this will let us play w/ geometric and shader-based solutions. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2316593003 Committed: https://skia.googlesource.com/skia/+/ffac5c4aae18fc706e4077763c190a89c8507fb0 Committed: https://skia.googlesource.com/skia/+/05a4cf59591024d838b204bb0f6fac42598ead28

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : Add geometric clipping #

Patch Set 4 : Remove unused variable #

Patch Set 5 : Fix serialization #

Patch Set 6 : Fix serialization #

Patch Set 7 : Add SkBlurMaskFilter path #

Patch Set 8 : Fixed MSAA version (i.e., not distance vector case) #

Patch Set 9 : Fix overlength line #

Total comments: 2

Patch Set 10 : Make the default color be _opaque_ black #

Total comments: 2

Patch Set 11 : Fix comment #

Patch Set 12 : address code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -11 lines) Patch
M gm/gm.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
A gm/reveal.cpp View 1 2 3 4 5 6 1 chunk +332 lines, -0 lines 0 comments Download
M include/effects/SkGaussianEdgeShader.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M samplecode/GMSampleView.cpp View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M src/effects/SkGaussianEdgeShader.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +17 lines, -10 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M src/ports/SkGlobalInitialization_default.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 45 (30 generated)
robertphillips
4 years, 3 months ago (2016-09-06 17:37:03 UTC) #5
jvanverth1
lgtm
4 years, 3 months ago (2016-09-07 14:03:05 UTC) #6
djsollen
lgtm lgtm
4 years, 3 months ago (2016-09-07 15:03:11 UTC) #11
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/2316593003/100001
4 years, 3 months ago (2016-09-07 17:33:12 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/ffac5c4aae18fc706e4077763c190a89c8507fb0
4 years, 3 months ago (2016-09-07 17:34:09 UTC) #24
robertphillips
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2316303002/ by robertphillips@google.com. ...
4 years, 3 months ago (2016-09-07 18:33:51 UTC) #25
robertphillips
PTAL. I've added an SkBlurMaskFilter path and made GM's able to respond to key presses ...
4 years, 3 months ago (2016-09-08 12:58:24 UTC) #28
jvanverth1
lgtm Does this fix the shader issue?
4 years, 3 months ago (2016-09-08 14:04:18 UTC) #29
robertphillips
On 2016/09/08 14:04:18, jvanverth1 wrote: > lgtm > > Does this fix the shader issue? ...
4 years, 3 months ago (2016-09-08 14:09:01 UTC) #32
robertphillips
4 years, 3 months ago (2016-09-08 14:09:07 UTC) #33
jvanverth1
https://codereview.chromium.org/2316593003/diff/150001/src/effects/SkGaussianEdgeShader.cpp File src/effects/SkGaussianEdgeShader.cpp (right): https://codereview.chromium.org/2316593003/diff/150001/src/effects/SkGaussianEdgeShader.cpp#newcode75 src/effects/SkGaussianEdgeShader.cpp:75: fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); Maybe (0, ...
4 years, 3 months ago (2016-09-08 14:15:52 UTC) #34
egdaniel
nit https://codereview.chromium.org/2316593003/diff/170001/src/effects/SkGaussianEdgeShader.cpp File src/effects/SkGaussianEdgeShader.cpp (right): https://codereview.chromium.org/2316593003/diff/170001/src/effects/SkGaussianEdgeShader.cpp#newcode81 src/effects/SkGaussianEdgeShader.cpp:81: fragBuilder->codeAppendf("float factor = 1.0 - clamp((%s.z - pad)/radius, ...
4 years, 3 months ago (2016-09-08 14:31:09 UTC) #35
robertphillips
https://codereview.chromium.org/2316593003/diff/150001/src/effects/SkGaussianEdgeShader.cpp File src/effects/SkGaussianEdgeShader.cpp (right): https://codereview.chromium.org/2316593003/diff/150001/src/effects/SkGaussianEdgeShader.cpp#newcode75 src/effects/SkGaussianEdgeShader.cpp:75: fragBuilder->codeAppendf("%s = vec4(0, 0, 0, 0);", args.fOutputColor); On 2016/09/08 ...
4 years, 3 months ago (2016-09-08 14:34:50 UTC) #36
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/2316593003/210001
4 years, 3 months ago (2016-09-08 16:01:37 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 16:02:46 UTC) #45
Message was sent while issue was closed.
Committed patchset #12 (id:210001) as
https://skia.googlesource.com/skia/+/05a4cf59591024d838b204bb0f6fac42598ead28

Powered by Google App Engine
This is Rietveld 408576698