skia2/src
Brian Osman 634624a185 Micro optimizations to SkSL parser
Some of these are pretty trivial, but a few really moved the needle. In
total, this cut the time in the parser by about 10% in my profiling.

The early returns from peek and checkNext are probably the biggest wins,
everything else is mostly about cutting down on string copying.

Bug: skia:
Change-Id: I3da0a0cfbc557e8cef480cb3a7d301c2b3f8802a
Reviewed-on: https://skia-review.googlesource.com/34720
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-08-15 15:38:26 +00:00
..
android Add a private API for writing the clip to the stencil 2017-08-02 19:56:07 +00:00
c Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
codec remove SK_SUPPORT_LEGACY_CODEC_NEW dead code 2017-07-26 22:10:10 +00:00
core Revert "Revert "Revert "Add an average mode for sigma < 2""" 2017-08-15 15:09:57 +00:00
effects Fix string typing in generated code 2017-08-15 13:41:26 +00:00
fonts Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
gpu Fix string typing in generated code 2017-08-15 13:41:26 +00:00
image Revert "Revert "Revert "Revert "Add support for semaphores to be inserted on GrContext flush"""" 2017-08-02 15:10:18 +00:00
images when encoding PNG, don't assume F16 values are in range 2017-07-21 17:47:24 +00:00
jumper rename confusing lowp guard 2017-08-15 13:19:36 +00:00
lazy SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
opts Retry cleaning up SkLinearBitmapPipeline. 2017-07-20 16:45:52 +00:00
pathops Move all Linux GCE bots to Debian 2017-06-28 12:38:28 +00:00
pdf SkPDF: Use DeviceGray for alpha masks. 2017-07-26 16:13:29 +00:00
pipe Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
ports Move lang to list in Android font manager. 2017-08-14 19:29:05 +00:00
sfnt Set the kMultiMaster_FontFlag in DirectWrite. 2017-04-07 23:07:08 +00:00
shaders Make GrFragmentProcessor be non-refcounted and use std::unique_ptr. 2017-08-11 14:13:26 +00:00
sksl Micro optimizations to SkSL parser 2017-08-15 15:38:26 +00:00
svg Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
utils Make GrFragmentProcessor be non-refcounted and use std::unique_ptr. 2017-08-11 14:13:26 +00:00
views clang on windows support 2017-07-31 18:39:23 +00:00
xml Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
xps SkDocument: consolidate trimBox code 2017-07-05 21:35:37 +00:00