skia2/include/gpu
Robert Phillips abf7b763e2 Add texture-specific flags for External & Rectangle textures
For DDLs, Ganesh needs to know about External & Rectangle textures prior to instantiation (or PromiseImage fulfillment). These new flags allow the client to provide this information when the lazyProxy is created.

The new texture flags work analogously to the render target flags:
   GrSurface and GrSurfaceProxy get a new set of accessors for the new flags
   The new flags are set appropriately on a GrGLTexture when it is created
   For wrapped texture proxies the flags are just copied off of the GrSurface
   For lazy-proxies/promise-images the flags are computed up front and passed to the proxy
   The GrSurfaceProxy/GrSurface flags equivalence is verified in GrSurfaceProxy::assign

Change-Id: Ia8e1998aa0a36ce4481bfd9e56be21f990e83148
Reviewed-on: https://skia-review.googlesource.com/114985
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2018-03-21 17:04:18 +00:00
..
gl Remove image functions from GrGLInterface, part two 2018-02-12 20:45:43 +00:00
mock Add GrMockRenderTarget and mock backend render targets 2018-03-09 22:32:14 +00:00
mtl Add placeholder GrMtlTypes in include/gpu/mtl 2017-07-28 17:11:51 +00:00
vk Add ctor to GrVkAlloc 2018-03-02 01:15: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 Cleanup SkImage YUV texture factories. 2018-03-15 19:41:26 +00:00
GrBlend.h Revert "Revert "move GrColor.h to private, IWYU"" 2018-02-06 23:05:46 +00:00
GrCaps.h Revert "Revert "New read pixels implementation that is simpler but does all conversions on CPU."" 2018-03-19 21:17:15 +00:00
GrConfig.h eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
GrContext.h Make GrTextureStripAtlas DDL friendly 2018-03-09 17:33:20 +00:00
GrContextOptions.h Make use of the buffer data null hint a GrContextOption 2018-03-02 12:11:05 +00:00
GrGpuResource.h MakeBackendTextureFromSkImage 2017-10-12 20:05:31 +00:00
GrRenderTarget.h Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags 2018-03-19 12:21:05 +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 a shader cap for incomplete short int precision 2018-03-14 16:35:50 +00:00
GrSurface.h Add texture-specific flags for External & Rectangle textures 2018-03-21 17:04:18 +00:00
GrTexture.h make SkDestinationSurfaceColorMode private 2018-02-28 20:31:33 +00:00
GrTypes.h Alter GrSurface/GrSurfaceProxy flags to prepare for GrTexture/GrTextureProxy -specific flags 2018-03-19 12:21:05 +00:00