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

Issue 2608863002: The great shader refactor: Merge fragment shaders into an uber-shader (Closed)

Created:
3 years, 11 months ago by ccameron
Modified:
3 years, 11 months ago
Reviewers:
enne (OOO), ericrk
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The great shader refactor: Merge fragment shaders into an uber-shader None of the fragment shader sub-classes actually need to exist. BUG=667966 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/f9977a81c916aca92d423d9c07c5b01284022d99 Cr-Commit-Position: refs/heads/master@{#441315}

Patch Set 1 #

Patch Set 2 : Fix windows, add force texture2d #

Patch Set 3 : Parameterize input #

Patch Set 4 : Clean up RGBA #

Total comments: 6

Patch Set 5 : Incorporate feedback #

Patch Set 6 : Set upstream branch... #

Total comments: 2

Patch Set 7 : Better variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -481 lines) Patch
M cc/output/shader.h View 1 2 3 4 5 6 5 chunks +126 lines, -127 lines 0 comments Download
M cc/output/shader.cc View 1 2 3 4 5 6 6 chunks +166 lines, -354 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 34 (26 generated)
ccameron
PTAL
3 years, 11 months ago (2016-12-30 19:13:25 UTC) #16
enne (OOO)
This is super great! Thank you for cleaning this up. :) https://codereview.chromium.org/2608863002/diff/60001/cc/output/shader.cc File cc/output/shader.cc (right): ...
3 years, 11 months ago (2017-01-03 21:42:58 UTC) #17
ccameron
Thanks - updated. Btw, can you grab the dependency, too: https://codereview.chromium.org/2601343002/ https://codereview.chromium.org/2608863002/diff/60001/cc/output/shader.cc File cc/output/shader.cc (right): ...
3 years, 11 months ago (2017-01-03 22:12:27 UTC) #18
enne (OOO)
lgtm https://codereview.chromium.org/2608863002/diff/100001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/2608863002/diff/100001/cc/output/shader.cc#newcode1205 cc/output/shader.cc:1205: if (has_rgba_as_sampler_2d_) Do you need this conditional here? ...
3 years, 11 months ago (2017-01-03 22:32:32 UTC) #21
ccameron
Thanks! https://codereview.chromium.org/2608863002/diff/100001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/2608863002/diff/100001/cc/output/shader.cc#newcode1205 cc/output/shader.cc:1205: if (has_rgba_as_sampler_2d_) On 2017/01/03 22:32:31, enne wrote: > ...
3 years, 11 months ago (2017-01-03 22:48:34 UTC) #24
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/2608863002/120001
3 years, 11 months ago (2017-01-04 04:19:50 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
3 years, 11 months ago (2017-01-04 04:26:37 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 04:30:15 UTC) #34
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f9977a81c916aca92d423d9c07c5b01284022d99
Cr-Commit-Position: refs/heads/master@{#441315}

Powered by Google App Engine
This is Rietveld 408576698