skia2/src
Jim Van Verth 9f2516f64d Add checks for TextureSampler count in text GeoProcs.
Chrome is seeing unexplained segfaults when trying to access the n-1th
textureSampler while creating textOp GeoProcs -- it's possible that's
because n is 0. Also add checks to make sure n is not > kMaxTextures.

Bug: chromium:1027314
Change-Id: I65a5472980bab37d580b3f237a132a8b23794abe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255985
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2019-11-22 20:28:17 +00:00
..
android Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
atlastext Remove indexes from Geometry in the text op 2019-11-15 14:56:30 +00:00
c Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
codec Optimize SkWuffsCodec's sk_bzero calls 2019-11-22 14:49:33 +00:00
core Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
effects Revert "Make FP optimizations helpers use SkAlphaType not GrColorType" 2019-11-22 04:10:34 +00:00
fonts Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
gpu Add checks for TextureSampler count in text GeoProcs. 2019-11-22 20:28:17 +00:00
image Rename GLRTFBOIDIs0 to WrapsSwapchainSurface and use for Metal. 2019-11-22 15:33:33 +00:00
images Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00
lazy Remove std::move()s from returns of std::unique_ptrs 2019-08-15 23:48:59 +00:00
opts Slightly faster hsl_to_rgb stage 2019-10-24 16:26:02 +00:00
pathops Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
pdf Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
ports Set fixed pitch bit in DirectWrite port. 2019-11-19 16:50:39 +00:00
sfnt Add Symbol encoding when renaming a font. 2019-08-07 20:35:28 +00:00
shaders Revert "Make FP optimizations helpers use SkAlphaType not GrColorType" 2019-11-22 04:10:34 +00:00
sksl SkSL now supports functions defined in sksl_gpu.inc 2019-11-22 19:39:44 +00:00
svg Rename SkDevice::ctm() to localToDevice() 2019-10-18 18:04:31 +00:00
utils Revert "Reland "Revert "Use flat version of path-direction enum""" 2019-11-22 19:09:54 +00:00
xml [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
xps Fix windows DLL builds with shaper included 2019-11-19 14:50:12 +00:00