skia2/tools/gpu/gl
Kevin Lubick 2f9a098439 [canvaskit] Remove getproc when creating WebGL interface
This saves about 15kb of wasm code size (4kb gzipped), 11kb
of JS code size (2kb gzipped) and about 10ms
when creating a new surface (~35ms -> 25ms in a local test).

This also gates the webgl code more strongly (off unless you
really request it), since the headers won't be available
except in an emscripten environment.

Change-Id: I303f6c342c72e7cfe29be241f55ae8f5631a3f75
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/311916
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-08-20 14:55:50 +00:00
..
angle add Sk- prefix to SkOSLibrary functions 2020-07-10 16:55:03 +00:00
command_buffer add Sk- prefix to SkOSLibrary functions 2020-07-10 16:55:03 +00:00
egl Add GrContext::oomed() and implement for GL and VK. 2020-06-24 16:04:06 +00:00
glx Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
interface [canvaskit] Remove getproc when creating WebGL interface 2020-08-20 14:55:50 +00:00
iOS Update nanobench and skpbench to use flush API for gpu syncing. 2020-02-24 17:21:35 +00:00
mac Reland "Set up eGPU/discrete support for MacOS." 2020-03-18 19:27:41 +00:00
none rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
win Revert "Revert "Revert "Revert "Don't build GL on Metal, Vulkan, Dawn, Direct3D bots"""" 2020-03-20 17:11:58 +00:00
GLTestContext.cpp Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
GLTestContext.h Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00