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

Issue 379113004: Makes GrGLProgramDesc's key store the lengths as well as offsets of the effect keys. (Closed)

Created:
6 years, 5 months ago by bsalomon
Modified:
6 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@key
Visibility:
Public.

Description

Makes GrGLProgramDesc's key store the lengths as well as offsets of the effect keys. Makes it possible to use GrBackendEffectFactories other than GrTBEF by moving meta-key generation out of GrTBEF. Cleans up docs around GrBackendEffectFactory. Committed: https://skia.googlesource.com/skia/+/c0ea398aff8254e31152cbb94c9ab6150428e252 Committed: https://skia.googlesource.com/skia/+/929f29a5c1bffa7f7c1b5a376351d0762b8ac561

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : fix typo #

Total comments: 14

Patch Set 4 : address comments #

Total comments: 2

Patch Set 5 : update comment at Rob's suggestion. #

Patch Set 6 : suppress warning #

Patch Set 7 : Fix sizeof(uint32_t) bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -124 lines) Patch
M include/gpu/GrBackendEffectFactory.h View 1 2 3 4 3 chunks +58 lines, -29 lines 0 comments Download
M include/gpu/GrTBackendEffectFactory.h View 1 2 3 4 chunks +27 lines, -29 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.h View 1 2 3 4 chunks +24 lines, -6 lines 0 comments Download
M src/gpu/gl/GrGLProgramDesc.cpp View 1 2 3 4 5 6 3 chunks +53 lines, -31 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.h View 3 chunks +15 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.cpp View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 chunk +15 lines, -24 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
bsalomon
I'll need the effect key lengths in a subsequent change. Requires https://codereview.chromium.org/356513003/ to land first.
6 years, 5 months ago (2014-07-11 16:49:03 UTC) #1
robertphillips
First round https://codereview.chromium.org/379113004/diff/40001/include/gpu/GrBackendEffectFactory.h File include/gpu/GrBackendEffectFactory.h (right): https://codereview.chromium.org/379113004/diff/40001/include/gpu/GrBackendEffectFactory.h#newcode57 include/gpu/GrBackendEffectFactory.h:57: * This sentence seems a bit garbled ...
6 years, 5 months ago (2014-07-11 17:24:59 UTC) #2
bsalomon
https://codereview.chromium.org/379113004/diff/40001/include/gpu/GrBackendEffectFactory.h File include/gpu/GrBackendEffectFactory.h (right): https://codereview.chromium.org/379113004/diff/40001/include/gpu/GrBackendEffectFactory.h#newcode57 include/gpu/GrBackendEffectFactory.h:57: * On 2014/07/11 17:24:58, robertphillips wrote: > This sentence ...
6 years, 5 months ago (2014-07-11 17:52:56 UTC) #3
robertphillips
lgtm + comment suggestion https://codereview.chromium.org/379113004/diff/60001/include/gpu/GrBackendEffectFactory.h File include/gpu/GrBackendEffectFactory.h (right): https://codereview.chromium.org/379113004/diff/60001/include/gpu/GrBackendEffectFactory.h#newcode52 include/gpu/GrBackendEffectFactory.h:52: * effect object. Also tracks ...
6 years, 5 months ago (2014-07-11 18:19:14 UTC) #4
bsalomon
https://codereview.chromium.org/379113004/diff/60001/include/gpu/GrBackendEffectFactory.h File include/gpu/GrBackendEffectFactory.h (right): https://codereview.chromium.org/379113004/diff/60001/include/gpu/GrBackendEffectFactory.h#newcode52 include/gpu/GrBackendEffectFactory.h:52: * effect object. Also tracks equivalence of shaders generated ...
6 years, 5 months ago (2014-07-11 20:00:39 UTC) #5
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 5 months ago (2014-07-12 04:55:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/379113004/80001
6 years, 5 months ago (2014-07-12 04:55:49 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on tryserver.skia ...
6 years, 5 months ago (2014-07-12 05:11:12 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-12 05:26:12 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot/builds/3236)
6 years, 5 months ago (2014-07-12 05:26:13 UTC) #10
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 5 months ago (2014-07-15 14:00:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/379113004/100001
6 years, 5 months ago (2014-07-15 14:00:50 UTC) #12
commit-bot: I haz the power
Change committed as c0ea398aff8254e31152cbb94c9ab6150428e252
6 years, 5 months ago (2014-07-16 02:41:21 UTC) #13
mtklein
A revert of this CL has been created in https://codereview.chromium.org/394213002/ by mtklein@google.com. The reason for ...
6 years, 5 months ago (2014-07-16 13:16:17 UTC) #14
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 5 months ago (2014-07-17 14:43:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/379113004/120001
6 years, 5 months ago (2014-07-17 14:43:59 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 14:55:15 UTC) #17
Message was sent while issue was closed.
Change committed as 929f29a5c1bffa7f7c1b5a376351d0762b8ac561

Powered by Google App Engine
This is Rietveld 408576698