skia2/include/gpu
Brian Salomon 8b40ac35b2 Reintroduce deinstantiate lazy proxy types and use for promise images.
This reverts a fraction of b2c5dae65d to
restore the deinstantiate lazy proxy type, supporting implementation,
and tests.

Use them for promise images to avoid thread safety issues for promise
image resources. Makes promise image instantiation callbacks do a thread
safe unref of their fulfilled GrTexture in GrResourceCache. The
GrResourceCache mechanism for receiving unref messages is extended to
allow multiple pending unrefs. All this is new.


Bug: skia:8800
Change-Id: I7b1d4fea13c053b6fbbd39c0c6eaf567b8bf81f1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/199002
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2019-03-11 20:48:22 +00:00
..
gl Drop support for GL_EXT_raster_multisample 2019-03-05 11:35:21 +00:00
mock Enable wide color support in CCPR 2019-01-10 13:53:31 +00:00
mtl added Metal support to GrBackendSurface 2018-06-29 13:32:17 +00:00
vk Pass render target VkImage in GrVkDrawableInfo 2019-02-26 17:07:30 +00:00
GrBackendDrawableInfo.h Add ability for an SkDevice to handle the drawing of an SkDrawable. 2018-10-19 15:21:54 +00:00
GrBackendSemaphore.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrBackendSurface.h Make vulkan GrBackendFormats with ycbcr external texture types. 2019-03-11 14:01:20 +00:00
GrBlend.h Reland "make enum santizer fatal" 2018-11-06 17:31:00 +00:00
GrConfig.h Add cap to number of oplists we execute before flushing to the gpu. 2018-12-07 17:57:07 +00:00
GrContext.h Move DrawingManager to RecordingContext 2019-02-22 17:25:00 +00:00
GrContextOptions.h Revert "Always explicitly allocate except in Android Framework" 2019-03-11 18:41:22 +00:00
GrContextThreadSafeProxy.h Move "matches" from GrContextThreadSafeProxy to GrContext_Base 2019-02-07 19:26:50 +00:00
GrDriverBugWorkarounds.h Reland "Add driver bug workarounds to GrCaps" 2018-05-14 23:46:49 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h Make it safe to enter the cache from a GrTexture idle proc. 2019-02-22 16:12:35 +00:00
GrRenderTarget.h Restore support for multisample locations 2019-03-07 22:00:48 +00:00
GrSamplerState.h Revert "Move some Gr headers from include/gpu to include/private and src/gpu." 2018-12-11 19:01:41 +00:00
GrSurface.h Default implementation of onSetRelease() on GrSurface 2019-03-05 13:24:52 +00:00
GrTexture.h Reintroduce deinstantiate lazy proxy types and use for promise images. 2019-03-11 20:48:22 +00:00
GrTypes.h Remove a few semicolons. 2019-02-11 14:40:37 +00:00