skia2/src
John Stiles 95a6610142 Simplify allowed-in-ES2 checks.
We can now pass in a context to `isAllowedInES2,` and it will return
true if the context supports the type. That is, ES2 types always return
true; non-ES2 types return true if the context is not strict-ES2.

Also, renamed `allowedInES2` to `isAllowedInES2` to better match similar
methods in Type.

Change-Id: Ia108bbde1354f6a14df05e8fb05742f04eefc375
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/455661
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-10-05 01:51:20 +00:00
..
android Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
c
codec Only treat PNG_COLOR_TYPE_RGB as 565 2021-09-07 18:45:34 +00:00
core fix deadlock in remote cache logging 2021-10-04 19:03:44 +00:00
effects Implement separate crop filter 2021-09-24 20:18:36 +00:00
fonts Revert "Revert "onMatchFaceStyle is unused, so remove it"" 2021-04-27 16:40:29 +00:00
gpu Enable bind texture 0 workaround for MSAA-RTT on Mali-Gxx. 2021-10-04 17:17:50 +00:00
image Move DeviceFlags and CheckAlphaTypeAndGetFlags to skgpu::BaseDevice 2021-09-08 14:55:31 +00:00
images Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
lazy
opts Redo the types in bilerp_clamp_8888 to make more sense 2021-09-30 20:44:56 +00:00
pathops Fix various cases of variable shadowing in Skia. 2021-08-11 00:03:13 +00:00
pdf Remove ICU check from subset_harfbuzz 2021-09-27 19:17:55 +00:00
ports Avoid finding a font with simulations 2021-10-04 17:51:24 +00:00
sfnt
shaders Scale picture shader (GPU) by input alpha 2021-09-24 19:11:34 +00:00
sksl Simplify allowed-in-ES2 checks. 2021-10-05 01:51:20 +00:00
svg Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
utils Adjust fuzzing behavior for triangulator/dashing 2021-09-16 16:32:11 +00:00
xml
xps Remove ableist language 2021-06-16 21:37:21 +00:00