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

Issue 1734163002: Replace fWillReadFragmentPosition with a bitfield (Closed)

Created:
4 years, 10 months ago by Chris Dalton
Modified:
4 years, 10 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

Replace fWillReadFragmentPosition with a bitfield Replaces fWillReadFragmentPosition on GrProcessor with a "RequiredFeatures" bitfield. This will allow us to add additional built-in features. Completely removes information about reading the fragment position from GrPipeline and GrProcOptInfo. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1734163002 Committed: https://skia.googlesource.com/skia/+/87332103c605dc3e0f76c0d1250a76c4ff71fddc

Patch Set 1 #

Total comments: 13

Patch Set 2 : comments #

Patch Set 3 : bug #

Patch Set 4 : BuiltInState -> RequiredFeatures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -59 lines) Patch
M include/gpu/GrProcessor.h View 1 2 3 4 chunks +20 lines, -5 lines 0 comments Download
M src/gpu/GrFragmentProcessor.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/gpu/GrPipeline.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M src/gpu/GrPipeline.cpp View 1 1 chunk +0 lines, -9 lines 0 comments Download
M src/gpu/GrProcOptInfo.h View 1 3 chunks +2 lines, -10 lines 0 comments Download
M src/gpu/GrProcOptInfo.cpp View 1 4 chunks +3 lines, -13 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 chunks +4 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.h View 1 2 3 3 chunks +11 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp View 1 2 3 3 chunks +12 lines, -5 lines 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLProgramBuilder.cpp View 1 2 3 4 chunks +8 lines, -5 lines 0 comments Download
M src/gpu/vk/GrVkProgramDesc.cpp View 1 2 3 4 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 28 (9 generated)
Chris Dalton
4 years, 10 months ago (2016-02-25 19:06:51 UTC) #3
Chris Dalton
https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrProcOptInfo.cpp File src/gpu/GrProcOptInfo.cpp (right): https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrProcOptInfo.cpp#newcode63 src/gpu/GrProcOptInfo.cpp:63: fBuiltInState = GrProcessor::kNone_BuiltInState; FYI, this is bad news for ...
4 years, 10 months ago (2016-02-25 19:19:03 UTC) #4
joshualitt
https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h#newcode125 include/gpu/GrProcessor.h:125: void enableBuiltInState(BuiltInState state) { fBuiltInState |= state; } This ...
4 years, 10 months ago (2016-02-25 19:21:29 UTC) #5
Chris Dalton
https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h#newcode125 include/gpu/GrProcessor.h:125: void enableBuiltInState(BuiltInState state) { fBuiltInState |= state; } On ...
4 years, 10 months ago (2016-02-25 19:45:30 UTC) #6
Chris Dalton
https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h#newcode125 include/gpu/GrProcessor.h:125: void enableBuiltInState(BuiltInState state) { fBuiltInState |= state; } On ...
4 years, 10 months ago (2016-02-25 20:38:37 UTC) #7
joshualitt
https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp File src/gpu/GrPipeline.cpp (right): https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp#newcode187 src/gpu/GrPipeline.cpp:187: fBuiltInState = GrProcessor::kNone_BuiltInState; On 2016/02/25 20:38:37, Chris Dalton wrote: ...
4 years, 10 months ago (2016-02-25 20:50:27 UTC) #8
Chris Dalton
https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp File src/gpu/GrPipeline.cpp (right): https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp#newcode187 src/gpu/GrPipeline.cpp:187: fBuiltInState = GrProcessor::kNone_BuiltInState; On 2016/02/25 20:50:27, joshualitt wrote: > ...
4 years, 10 months ago (2016-02-25 20:57:46 UTC) #9
joshualitt
https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp File src/gpu/GrPipeline.cpp (right): https://codereview.chromium.org/1734163002/diff/1/src/gpu/GrPipeline.cpp#newcode187 src/gpu/GrPipeline.cpp:187: fBuiltInState = GrProcessor::kNone_BuiltInState; On 2016/02/25 20:57:46, Chris Dalton wrote: ...
4 years, 10 months ago (2016-02-25 21:00:50 UTC) #10
bsalomon
https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h (right): https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h#newcode125 include/gpu/GrProcessor.h:125: void enableBuiltInState(BuiltInState state) { fBuiltInState |= state; } On ...
4 years, 10 months ago (2016-02-25 21:11:03 UTC) #11
Chris Dalton
Ok, I think patchset 2 addresses most the concerns that came up. https://codereview.chromium.org/1734163002/diff/1/include/gpu/GrProcessor.h File include/gpu/GrProcessor.h ...
4 years, 10 months ago (2016-02-25 22:24:24 UTC) #12
joshualitt
On 2016/02/25 22:24:24, Chris Dalton wrote: > Ok, I think patchset 2 addresses most the ...
4 years, 10 months ago (2016-02-26 13:02:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734163002/40001
4 years, 10 months ago (2016-02-26 16:22:20 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/6990)
4 years, 10 months ago (2016-02-26 16:23:39 UTC) #18
Chris Dalton
On 2016/02/26 16:23:39, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 10 months ago (2016-02-26 16:25:24 UTC) #19
bsalomon
lgtm, but not crazy about the name BuiltInState. We usually use the term "Flags" for ...
4 years, 10 months ago (2016-02-26 16:58:32 UTC) #20
Chris Dalton
On 2016/02/26 16:58:32, bsalomon wrote: > lgtm, but not crazy about the name BuiltInState. > ...
4 years, 10 months ago (2016-02-26 19:51:47 UTC) #22
bsalomon
lgtm
4 years, 10 months ago (2016-02-26 19:54:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1734163002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1734163002/60001
4 years, 10 months ago (2016-02-26 19:55:45 UTC) #26
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 20:22:06 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/87332103c605dc3e0f76c0d1250a76c4ff71fddc

Powered by Google App Engine
This is Rietveld 408576698