skia2/include/gpu
Greg Daniel a89b43092e Add syncing of gpu work before releasing resources in GrDirectContext teardowns.
As we start moving backends to tracking resources on command buffers by using
GrGpuResources, we need to make sure we don't release this resources from the
cache during teardown until they have finished on the gpu. Thus this CL adds
a way for the GrDirectContext to tell the GrGpu to finish all outstanding
work.

Bug: skia:11232
Change-Id: I953d89f514ad32f1d2c57279a670b336d7575ffe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/361457
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2021-01-29 20:35:53 +00:00
..
d3d Add sample count field to GrD3DTextureResourceInfo. 2020-09-30 14:03:39 +00:00
dawn Roll dawn and adjust for new SwapChain API. 2020-01-28 18:26:44 +00:00
gl Support luminance-alpha GL format for YUVA planes 2020-12-17 14:54:25 +00:00
mock Stop overflow of windows rects in GrClipStack 2020-11-30 18:12:24 +00:00
mtl Add MTLBinaryArchive support to iOS Metal build 2020-11-19 20:00:30 +00:00
vk Make sure we are using cached cpu memory for vulkan readback buffers. 2021-01-22 23:13:32 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
GrBackendSurface.h Add stencil formats to all the backends. 2020-10-07 17:58:31 +00:00
GrBackendSurfaceMutableState.h Add optional param to setBackendTextureState to return previous state. 2020-09-23 19:54:59 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Make GrDirectContext::updateBackendTexture handle pixmaps with non-type row bytes. 2021-01-29 19:11:18 +00:00
GrContextThreadSafeProxy.h Fix formatting nit. 2020-11-06 16:46:44 +00:00
GrDirectContext.h Add syncing of gpu work before releasing resources in GrDirectContext teardowns. 2021-01-29 20:35:53 +00:00
GrDriverBugWorkarounds.h Fix CanvasKit warnings compiling on Mac with emsdk 2.0.0 2020-09-18 20:35:12 +00:00
GrDriverBugWorkaroundsAutogen.h Rewrite restore_scissor_on_fbo_change 2020-12-09 16:15:09 +00:00
GrRecordingContext.h Reland "Have DDLs honor the reduceOpsTaskSplittingFlag" 2020-12-30 17:20:37 +00:00
GrTypes.h Rename GrMipMapped GrMipmapped 2020-07-21 14:06:35 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00