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

Issue 2442063002: Reduced skslc memory consumption (Closed)

Created:
4 years, 2 months ago by ethannicholas
Modified:
4 years, 1 month ago
Reviewers:
dogben, reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Reduced skslc memory consumption The big change here is smarter generic type handling which allows us to keep far fewer entries in the core symboltable. This also comments out a number of OpenGL builtin functions which Skia does not use and is unlikely to in the future. BUG=655673 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2442063002 Committed: https://skia.googlesource.com/skia/+/cffaa70896fa5bc6c7bf98abbaafb1a755b49762 Committed: https://skia.googlesource.com/skia/+/471e89405b71f04e07ae2887bde061185e262c81

Patch Set 1 #

Patch Set 2 : improved error reporting #

Total comments: 4

Patch Set 3 : fixed nits #

Patch Set 4 : re-added texelFetch #

Patch Set 5 : one more variant #

Patch Set 6 : texture2DProj #

Patch Set 7 : added some bit functions back #

Patch Set 8 : added a few more functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -126 lines) Patch
M src/sksl/SkSLContext.h View 1 2 3 chunks +11 lines, -9 lines 0 comments Download
M src/sksl/SkSLIRGenerator.cpp View 1 6 chunks +28 lines, -46 lines 0 comments Download
M src/sksl/SkSLParser.cpp View 1 2 3 1 chunk +12 lines, -3 lines 0 comments Download
M src/sksl/SkSLToken.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/sksl/ir/SkSLFunctionCall.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLFunctionDeclaration.h View 1 2 chunks +45 lines, -0 lines 0 comments Download
M src/sksl/ir/SkSLType.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/sksl/sksl.include View 1 2 3 4 5 6 7 15 chunks +84 lines, -64 lines 0 comments Download
M tests/SkSLErrorTest.cpp View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 38 (27 generated)
ethannicholas
4 years, 2 months ago (2016-10-21 20:06:00 UTC) #9
dogben
lgtm Sorry, this got lost in my inbox. LGTM, just nits and nit-picky questions. https://codereview.chromium.org/2442063002/diff/30001/src/sksl/SkSLContext.h ...
4 years, 1 month ago (2016-10-25 13:56:50 UTC) #14
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/2442063002/50001
4 years, 1 month ago (2016-10-26 19:38:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/294237)
4 years, 1 month ago (2016-10-26 20:01:48 UTC) #19
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/2442063002/50001
4 years, 1 month ago (2016-10-27 13:16:07 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:50001) as https://skia.googlesource.com/skia/+/cffaa70896fa5bc6c7bf98abbaafb1a755b49762
4 years, 1 month ago (2016-10-27 15:15:53 UTC) #23
reed1
Is this breaking on the bots (SkSL failing to compile)?
4 years, 1 month ago (2016-10-27 16:03:20 UTC) #25
dogben
On 2016/10/27 at 16:03:20, reed wrote: > Is this breaking on the bots (SkSL failing ...
4 years, 1 month ago (2016-10-27 16:07:17 UTC) #26
dogben
A revert of this CL (patchset #3 id:50001) has been created in https://codereview.chromium.org/2458723002/ by benjaminwagner@google.com. ...
4 years, 1 month ago (2016-10-27 16:07:52 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/2442063002/150001
4 years, 1 month ago (2016-10-28 15:42:55 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 16:02:50 UTC) #37
Message was sent while issue was closed.
Committed patchset #8 (id:150001) as
https://skia.googlesource.com/skia/+/471e89405b71f04e07ae2887bde061185e262c81

Powered by Google App Engine
This is Rietveld 408576698