skia2/tools/gpu
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
..
d3d Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
dawn Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
gl [canvaskit] Remove getproc when creating WebGL interface 2020-08-20 14:55:50 +00:00
mock Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
mtl Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
vk Enable ClangTidy flag bugprone-suspicious-string-compare. 2020-08-16 03:54:08 +00:00
BackendTextureImageFactory.cpp Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
BackendTextureImageFactory.h Reland "Remove more GrContext imports & usage" 2020-07-21 11:36:05 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlushFinishTracker.cpp Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
FlushFinishTracker.h Update additional tools to take a GrDirectContext 2020-07-01 20:42:25 +00:00
GpuTimer.h Replace skstd::exchange with std::exchange 2020-04-30 11:14:20 +00:00
GrContextFactory.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
GrContextFactory.h Update unit tests to accept GrDirectContext 2020-07-06 15:45:12 +00:00
GrTest.cpp move GrAtlasTextOp creation to GrRenderTargetContext 2020-07-10 20:01:29 +00:00
MemoryCache.cpp Reland "Switch persistent cache to use SkReadBuffer/SkWriteBuffer" 2020-06-10 14:55:37 +00:00
MemoryCache.h Fix caching of GL program binaries 2020-06-05 15:54:19 +00:00
ProxyUtils.cpp sk_gpu_test::MakeTextureProxyFromData -> MakeTextureProxyViewFromData 2020-08-12 20:43:41 +00:00
ProxyUtils.h sk_gpu_test::MakeTextureProxyFromData -> MakeTextureProxyViewFromData 2020-08-12 20:43:41 +00:00
TestContext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TestContext.h Add Context factories to GrDirectContext 2020-07-14 12:40:46 +00:00
TestOps.cpp Update GrPaint APIs to reflect lack of multiple color processors. 2020-07-21 17:09:58 +00:00
TestOps.h Move GrRecordingContext.h and GrDirectContext.h into include/gpu 2020-07-01 17:32:14 +00:00
YUVUtils.cpp Add option to LazyYUVImage to build mip maps 2020-07-31 13:33:25 +00:00
YUVUtils.h Add option to LazyYUVImage to build mip maps 2020-07-31 13:33:25 +00:00