skia2/tools/gpu
Jim Van Verth 351c9b53d6 Switch to using GrMtlBackendContext for GrDirectContext creation.
Makes the Metal backend more consistent with the other backends,
and allows new init parameters to be added without significantly
changing API.

Added updated sk_cf_obj because I needed some of its functionality.

Bug: skia:10804
Change-Id: I6f1dd1c03ddc4c4b702ea75eff14bc0f98ab5ad2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334426
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-11-12 21:03:51 +00:00
..
d3d Revert "Reland "Use Microsoft's ComPtr to wrap D3D12 objects."" 2020-09-21 22:02:12 +00:00
dawn Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gl Add support for WEBGL_multi_draw_instanced_base_vertex_base_instance 2020-10-09 22:12:03 +00:00
mock Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
mtl Switch to using GrMtlBackendContext for GrDirectContext creation. 2020-11-12 21:03:51 +00:00
vk Update GrAttachment budgeted and gpu memory size calculation. 2020-10-19 17:54:10 +00:00
BackendSurfaceFactory.cpp Ref GrDirectContext in MakeBackendRenderTargetSurface 2020-10-15 15:40:56 +00:00
BackendSurfaceFactory.h Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +00:00
BackendTextureImageFactory.cpp Make ManagedBackendTexture fail on invalid GrBackendTexture 2020-11-05 20:21:14 +00:00
BackendTextureImageFactory.h Revert "Reland "Revert "Use ManagedBackendTexture in place of TestUtils backend texture helpers.""" 2020-10-13 01:22:13 +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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
GrContextFactory.h Add config "glesfakev2". It runs GLES with the version faked as 2. 2020-08-26 20:04:34 +00:00
GrTest.cpp add API for Op creation 2020-10-26 18:51:15 +00:00
ManagedBackendTexture.cpp Revert "Revert changes to unbreak bots." 2020-11-05 14:35:23 +00:00
ManagedBackendTexture.h Make ManagedBackendTexture fail on invalid GrBackendTexture 2020-11-05 20:21:14 +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 Rename GrContextPriv to GrDirectContextPriv 2020-10-14 16:46:01 +00:00
ProxyUtils.h Add support for plumbing GrDstSampleType through Ops and Pipeline creation. 2020-09-11 14:42:34 +00:00
TestContext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TestContext.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
TestOps.cpp add API for Op creation 2020-10-26 18:51:15 +00:00
TestOps.h add API for Op creation 2020-10-26 18:51:15 +00:00
YUVUtils.cpp Revert "Revert changes to unbreak bots." 2020-11-05 14:35:23 +00:00
YUVUtils.h Revert "Revert changes to unbreak bots." 2020-11-05 14:35:23 +00:00