skia2/include/gpu
Eric Karl 914a36b248 MakeBackendTextureFromSkImage
Creates a static function on SkImage which converts the SkImage to a
GrBackendTexture. The texture is unowned by Skia, and must be deleted
by the caller. Allows for a no-copy / no-conversion fast path if the
provided image is unowned (unique()) and texture backed.

Change-Id: I8a48f9cc39de792725cd72057d98cd1c4594daab
Reviewed-on: https://skia-review.googlesource.com/52440
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Eric Karl <ericrk@chromium.org>
2017-10-12 20:05:31 +00:00
..
gl Revert "Revert "GrContext::dump that produces JSON formatted output"" 2017-08-10 15:42:25 +00:00
mock Add mock config to tools and run through gms and benchs without crashing. 2017-07-07 20:47:38 +00:00
mtl Add placeholder GrMtlTypes in include/gpu/mtl 2017-07-28 17:11:51 +00:00
vk Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
GrBackendSemaphore.h Revert "Add support for semaphores to be inserted on GrContext flush" 2017-07-22 17:34:00 +00:00
GrBackendSurface.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrBlend.h constexprify GrBlend.h and GrPorterDuffXferProcessor.cpp 2017-04-10 16:27:36 +00:00
GrCaps.h Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
GrColor.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
GrConfig.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrContext.h Add option to create a deferred render target context with mips 2017-10-06 20:28:00 +00:00
GrContextOptions.h Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
GrGpuResource.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrRenderTarget.h Reduce stencil buffer clearing 2017-08-30 21:17:36 +00:00
GrResourceKey.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
GrSamplerState.h Rework GrSamplerParams to be more compact and use its own wrap mode enum. 2017-09-07 16:58:31 +00:00
GrShaderCaps.h Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
GrSurface.h Remove origin field from GrSurface (take 2) 2017-08-29 17:36:31 +00:00
GrTexture.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrTypes.h Add flag on GrBackendTexture to say whether texture is mipped or not 2017-10-12 17:02:41 +00:00