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 2131223002: SkSL performance improvements (Closed)

Created:
4 years, 5 months ago by ethannicholas
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : minor fixes #

Total comments: 12

Patch Set 3 : fixed nits #

Patch Set 4 : fixed windows build error #

Total comments: 3

Patch Set 5 : oops, got a bit overzealous #

Patch Set 6 : went back to pointers on global types #

Total comments: 2

Patch Set 7 : built-in types are now managed in a context object #

Total comments: 1

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1032 lines, -956 lines) Patch
M src/gpu/vk/GrVkPipelineStateBuilder.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M src/sksl/SkSLCompiler.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M src/sksl/SkSLCompiler.cpp View 1 2 3 4 5 6 3 chunks +11 lines, -8 lines 0 comments Download
A src/sksl/SkSLContext.h View 1 2 3 4 5 6 7 1 chunk +227 lines, -0 lines 0 comments Download
M src/sksl/SkSLIRGenerator.h View 1 2 3 4 5 6 3 chunks +10 lines, -9 lines 0 comments Download
M src/sksl/SkSLIRGenerator.cpp View 1 2 3 4 5 6 37 chunks +273 lines, -263 lines 0 comments Download
M src/sksl/SkSLParser.cpp View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M src/sksl/SkSLSPIRVCodeGenerator.h View 1 2 3 4 5 6 4 chunks +13 lines, -10 lines 0 comments Download
M src/sksl/SkSLSPIRVCodeGenerator.cpp View 1 2 3 4 5 6 66 chunks +220 lines, -214 lines 0 comments Download
M src/sksl/ir/SkSLBinaryExpression.h View 1 chunk +1 line, -1 line 0 comments Download
M src/sksl/ir/SkSLBlock.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLBoolLiteral.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLConstructor.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/sksl/ir/SkSLExpression.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLField.h View 1 chunk +4 lines, -4 lines 0 comments Download
M src/sksl/ir/SkSLFieldAccess.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLFloatLiteral.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLForStatement.h View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLFunctionCall.h View 2 chunks +4 lines, -4 lines 0 comments Download
M src/sksl/ir/SkSLFunctionDeclaration.h View 1 2 3 4 3 chunks +19 lines, -8 lines 0 comments Download
M src/sksl/ir/SkSLFunctionDefinition.h View 1 chunk +4 lines, -4 lines 0 comments Download
M src/sksl/ir/SkSLFunctionReference.h View 1 2 3 4 5 6 3 chunks +5 lines, -3 lines 0 comments Download
M src/sksl/ir/SkSLIndexExpression.h View 1 2 3 4 5 6 2 chunks +13 lines, -12 lines 0 comments Download
M src/sksl/ir/SkSLIntLiteral.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLInterfaceBlock.h View 1 2 1 chunk +9 lines, -7 lines 0 comments Download
M src/sksl/ir/SkSLProgram.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLSwizzle.h View 1 2 3 4 5 6 2 chunks +24 lines, -25 lines 0 comments Download
M src/sksl/ir/SkSLSymbolTable.h View 1 2 3 2 chunks +13 lines, -6 lines 0 comments Download
M src/sksl/ir/SkSLSymbolTable.cpp View 1 2 4 chunks +48 lines, -33 lines 0 comments Download
M src/sksl/ir/SkSLType.h View 1 2 3 4 5 6 12 chunks +25 lines, -118 lines 0 comments Download
M src/sksl/ir/SkSLType.cpp View 1 2 3 4 5 6 3 chunks +46 lines, -169 lines 0 comments Download
M src/sksl/ir/SkSLTypeReference.h View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download
M src/sksl/ir/SkSLUnresolvedFunction.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLVarDeclaration.h View 3 chunks +4 lines, -4 lines 0 comments Download
M src/sksl/ir/SkSLVariable.h View 1 2 3 chunks +3 lines, -14 lines 0 comments Download
M src/sksl/ir/SkSLVariableReference.h View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 50 (32 generated)
ethannicholas
4 years, 5 months ago (2016-07-08 15:35:16 UTC) #10
dogben
LGTM, aside from the missing return. general nit: It's a little scary to have a ...
4 years, 5 months ago (2016-07-08 19:56:40 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/2131223002/80001
4 years, 5 months ago (2016-07-11 19:06:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/9700)
4 years, 5 months ago (2016-07-11 19:13:39 UTC) #16
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/2131223002/100001
4 years, 5 months ago (2016-07-11 19:21:09 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9562)
4 years, 5 months ago (2016-07-11 19:34:43 UTC) #21
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/2131223002/120001
4 years, 5 months ago (2016-07-11 19:57:03 UTC) #24
dogben
lgtm So, parameters always go into the global symbol table? Does that still give an ...
4 years, 5 months ago (2016-07-11 20:05:33 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9566)
4 years, 5 months ago (2016-07-11 20:07:02 UTC) #27
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/2131223002/140001
4 years, 5 months ago (2016-07-12 14:33:13 UTC) #30
dogben
lgtm https://codereview.chromium.org/2131223002/diff/140001/src/sksl/ir/SkSLType.cpp File src/sksl/ir/SkSLType.cpp (right): https://codereview.chromium.org/2131223002/diff/140001/src/sksl/ir/SkSLType.cpp#newcode171 src/sksl/ir/SkSLType.cpp:171: const Type* kDMat2x2_Type = new Type("dmat2", *kFloat_Type, 2, ...
4 years, 5 months ago (2016-07-12 14:57:47 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:140001) as https://skia.googlesource.com/skia/+/9fd67a1f53809f5eff1210dd107241b450c48acc
4 years, 5 months ago (2016-07-12 16:07:26 UTC) #33
msarett
A revert of this CL (patchset #6 id:140001) has been created in https://codereview.chromium.org/2143323003/ by msarett@google.com. ...
4 years, 5 months ago (2016-07-13 19:51:15 UTC) #34
bungeman-skia
https://codereview.chromium.org/2131223002/diff/140001/src/sksl/ir/SkSLType.cpp File src/sksl/ir/SkSLType.cpp (right): https://codereview.chromium.org/2131223002/diff/140001/src/sksl/ir/SkSLType.cpp#newcode134 src/sksl/ir/SkSLType.cpp:134: const Type* kVoid_Type = new Type("void"); Also, if you ...
4 years, 5 months ago (2016-07-13 20:55:38 UTC) #36
ethannicholas
Does this look more palatable?
4 years, 5 months ago (2016-07-14 20:57:26 UTC) #44
dogben
lgtm I'm sorry that you have to code in C++. https://codereview.chromium.org/2131223002/diff/180001/src/sksl/SkSLContext.h File src/sksl/SkSLContext.h (right): https://codereview.chromium.org/2131223002/diff/180001/src/sksl/SkSLContext.h#newcode15 ...
4 years, 5 months ago (2016-07-14 21:30:04 UTC) #45
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/2131223002/220001
4 years, 4 months ago (2016-07-25 16:45:04 UTC) #48
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 17:08:59 UTC) #50
Message was sent while issue was closed.
Committed patchset #8 (id:220001) as
https://skia.googlesource.com/skia/+/d598f7981f34811e6f2a949207dc13638852f3f7

Powered by Google App Engine
This is Rietveld 408576698