95a6610142
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> |
||
---|---|---|
.. | ||
android | ||
c | ||
codec | ||
core | ||
effects | ||
fonts | ||
gpu | ||
image | ||
images | ||
lazy | ||
opts | ||
pathops | ||
ports | ||
sfnt | ||
shaders | ||
sksl | ||
svg | ||
utils | ||
xml | ||
xps |