skia2/include/gpu/gl
Brian Osman 9ad1f92e2f Add GrExternalTextureData and SkCrossContextImageData
GrExternalTextureData is an API for exporting the backend-specific
information about a texture in a type-safe way, and without pointing
into the GrTexture. The new detachBackendTexture API lets us release
ownership of a texture to the client.

SkCrossContextImageData is the public API that lets clients upload
textures on one thread/GrContext, then safely transfer ownership to
another thread and GrContext for rendering.

Only GL is implemented/supported right now. Vulkan support requires
that we add thread-safe memory pools, or otherwise transfer the
actual memory block containing the texture to the new context.

BUG=skia:

Change-Id: I784a3a74be69807df038c7d192eaed002c7e45ca
Reviewed-on: https://skia-review.googlesource.com/8529
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-02-24 16:09:33 +00:00
..
GrGLAssembleInterface.h Expose GrGLAssembleInterface 2016-03-31 10:22:20 -07:00
GrGLConfig_chrome.h Remove the GrGLInterface callback mechanism. 2016-03-28 12:25:09 -07:00
GrGLConfig.h Default GR_GL_FUNCTION_TYPE to __stdcall on Windows. 2016-08-10 07:30:21 -07:00
GrGLExtensions.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrGLFunctions.h Add image functions to GrGLInterface 2016-11-15 19:37:35 +00:00
GrGLInterface.h Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
GrGLSLPrettyPrint.h Multi-string shaders 2015-02-13 17:18:27 -08:00
GrGLTypes.h Add GrExternalTextureData and SkCrossContextImageData 2017-02-24 16:09:33 +00:00