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

Issue 1690963003: Add gl_SampleMask functionality to fragment builders (Closed)

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

Description

Add gl_SampleMask functionality to fragment builders Adds methods for overriding and masking a fragment's sample mask. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1690963003 Committed: https://skia.googlesource.com/skia/+/533cefe5b9c7cec2592fc7ca00ee4cf69a26c094 Committed: https://skia.googlesource.com/skia/+/33ad701bc30387127c427fb1e38c781d5de33491

Patch Set 1 #

Patch Set 2 : formatting #

Patch Set 3 : #

Patch Set 4 : consistent API #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Remove GrGLSLIntMinPrecisionForNBits #

Total comments: 1

Patch Set 7 : rework #

Patch Set 8 : #

Patch Set 9 : fix 320 es issue #

Total comments: 1

Patch Set 10 : ordering #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -11 lines) Patch
M src/gpu/gl/GrGLCaps.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +26 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLGLSL.cpp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSL.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSL.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLCaps.h View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLCaps.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.h View 1 2 3 4 5 6 4 chunks +28 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp View 1 2 3 4 5 6 7 2 chunks +42 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.h View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.cpp View 7 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
Chris Dalton
Greg- I've been adding you on the glsl ones, am I correct in believing this ...
4 years, 10 months ago (2016-02-11 22:14:35 UTC) #3
Chris Dalton
Updated the API to be more consistent with the other methods on GrGLSLFragmentBuilder
4 years, 10 months ago (2016-02-12 19:39:37 UTC) #4
bsalomon
Overall looks good. I have some questions about the sample count that is used to ...
4 years, 10 months ago (2016-02-12 19:59:26 UTC) #5
Chris Dalton
On 2016/02/12 19:59:26, bsalomon wrote: > Overall looks good. I have some questions about the ...
4 years, 10 months ago (2016-02-12 20:22:16 UTC) #6
Chris Dalton
Removed the sample count. I like this version a lot better.
4 years, 10 months ago (2016-02-12 20:43:03 UTC) #7
bsalomon
lgtm https://codereview.chromium.org/1690963003/diff/80001/src/gpu/glsl/GrGLSL.h File src/gpu/glsl/GrGLSL.h (right): https://codereview.chromium.org/1690963003/diff/80001/src/gpu/glsl/GrGLSL.h#newcode126 src/gpu/glsl/GrGLSL.h:126: static inline GrSLPrecision GrGLSLIntMinPrecisionForNBits(int bits) { If we're ...
4 years, 10 months ago (2016-02-12 20:58:17 UTC) #8
Chris Dalton
https://codereview.chromium.org/1690963003/diff/80001/src/gpu/glsl/GrGLSL.h File src/gpu/glsl/GrGLSL.h (right): https://codereview.chromium.org/1690963003/diff/80001/src/gpu/glsl/GrGLSL.h#newcode126 src/gpu/glsl/GrGLSL.h:126: static inline GrSLPrecision GrGLSLIntMinPrecisionForNBits(int bits) { On 2016/02/12 20:58:17, ...
4 years, 10 months ago (2016-02-12 21:01:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690963003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690963003/100001
4 years, 10 months ago (2016-02-12 21:02:20 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/533cefe5b9c7cec2592fc7ca00ee4cf69a26c094
4 years, 10 months ago (2016-02-12 21:24:29 UTC) #14
dogben
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1693113002/ by benjaminwagner@google.com. ...
4 years, 10 months ago (2016-02-12 23:20:35 UTC) #15
Chris Dalton
https://codereview.chromium.org/1690963003/diff/100001/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp File src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp (right): https://codereview.chromium.org/1690963003/diff/100001/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp#newcode117 src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp:117: "override_coverage"); As I think about it more, I don't ...
4 years, 10 months ago (2016-02-17 09:39:12 UTC) #17
bsalomon
On 2016/02/17 09:39:12, Chris Dalton wrote: > https://codereview.chromium.org/1690963003/diff/100001/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp > File src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp (right): > > https://codereview.chromium.org/1690963003/diff/100001/src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp#newcode117 ...
4 years, 10 months ago (2016-02-17 17:51:53 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690963003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690963003/120001
4 years, 10 months ago (2016-02-19 03:24:30 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690963003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690963003/140001
4 years, 10 months ago (2016-02-19 03:42:35 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 04:18:56 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690963003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690963003/160001
4 years, 10 months ago (2016-02-19 20:00:53 UTC) #28
Chris Dalton
Ok, this is ready for re-review. - Added maskSampleCoverage and overrideSampleCoverage methods to the fragment ...
4 years, 10 months ago (2016-02-19 20:02:41 UTC) #29
Chris Dalton
Ok, this is ready for re-review. - Added maskSampleCoverage and overrideSampleCoverage methods to the fragment ...
4 years, 10 months ago (2016-02-19 20:02:45 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 20:30:27 UTC) #32
bsalomon
On 2016/02/19 20:30:27, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 10 months ago (2016-02-22 14:38:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690963003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690963003/180001
4 years, 10 months ago (2016-02-22 15:32:57 UTC) #35
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 15:55:47 UTC) #37
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://skia.googlesource.com/skia/+/33ad701bc30387127c427fb1e38c781d5de33491

Powered by Google App Engine
This is Rietveld 408576698