skia2/modules/canvaskit
Kevin Lubick 3902628e35 Support WebGL 1.0 with caps
There is some logic in here for 2.0 as well, just as a
"as long as I was looking at the specs", but only 1.0
is really supported.

This seems to resolve the bug where some GPUs weren't
advertising correctly that they had vertex array object
support, by checking for both extension names (with and
without "GL_" prefix)

Of note, this saves about 18 Kb (5.5 Kb gzipped) of code size
by compiling out the unneeded GLES checks/functionality.

Bug: skia:8378
Change-Id: I773bf4dbf231b991051d2a9f640b8047a9010e7d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/203461
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-03-28 17:21:23 +00:00
..
canvaskit Expose gpu cache knobs 2019-03-25 11:48:25 +00:00
fonts [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
htmlcanvas [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
perf [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
tests [canvaskit] Add TextOnPath helper to TextBlob 2019-03-15 22:28:17 +00:00
.gitignore [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
canvaskit_bindings.cpp Expose gpu cache knobs 2019-03-25 11:48:25 +00:00
CHANGELOG.md Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
compile.sh Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
cpu.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
debug.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
externs.js Expose gpu cache knobs 2019-03-25 11:48:25 +00:00
gpu.js Expose gpu cache knobs 2019-03-25 11:48:25 +00:00
helper.js [canvaskit] Add TextOnPath helper to TextBlob 2019-03-15 22:28:17 +00:00
interface.js Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
karma.bench.conf.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
karma.conf.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
Makefile [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
package.json [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
particles_bindings.cpp [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
postamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
preamble.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
ready.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
release.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
serve.py [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
skottie_bindings.cpp [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
skottie.js [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00
WasmAliases.h [canvaskit] Move from experimental to modules 2019-03-11 21:09:52 +00:00