skia2/include/gpu
Brian Osman 409e74fb2c Further refactor read/writeSurfacePixels
Detect the situation where we're going to want to do PM/UPM, and want to
use GrConfigConverionEffect, but be unable (due to the lack of a
round-trip pair). This lets us hoist the SW premul work (in
writeSurfacePixels), and avoid all the cascading failure logic in both
functions. (We never try to create the PM/UPM effects unless we know
that they're going to work).

Bug: skia:5853
Change-Id: I0077447cd4be93bba273f8d2826b1ec0f4915c6c
Reviewed-on: https://skia-review.googlesource.com/13592
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2017-04-17 16:19:37 +00:00
..
effects Make GrXferProcessor and related classes private. 2017-02-21 22:27:17 +00:00
gl Fix GrGLSync definition 2017-04-08 13:39:29 +00:00
vk Refactor Vulkan support to support Fuchsia 2017-04-05 17:32:09 +00:00
GrBlend.h constexprify GrBlend.h and GrPorterDuffXferProcessor.cpp 2017-04-10 16:27:36 +00:00
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrCaps.h Make GrCopySurfaceOp friendlier to GrSurfaceProxy (take 2) 2017-04-07 15:33:58 +00:00
GrColor.h Support premul/unpremul of F16 during read/writePixels 2017-03-22 16:31:39 +00:00
GrColorSpaceXform.h Add const to GrColorSpaceXform member arguments 2017-03-14 15:05:45 +00:00
GrConfig.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrContext.h Further refactor read/writeSurfacePixels 2017-04-17 16:19:37 +00:00
GrContextOptions.h Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer 2017-03-16 13:22:31 +00:00
GrCoordTransform.h Fully remove coord transform precision code 2017-04-04 13:19:18 +00:00
GrExternalTextureData.h Use GrSemaphore rather than GrFence for external texture data 2017-03-02 20:47:36 +00:00
GrFragmentProcessor.h Move ref counting out of GrProcessor and into subclasses. 2017-04-10 15:38:47 +00:00
GrGpuResource.h Revert "Revert "Add a new GrResourceCache purging mechanism for purging unused resources."" 2017-03-22 20:08:21 +00:00
GrGpuResourceRef.h Move the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +00:00
GrProcessor.h Move ref counting out of GrProcessor and into subclasses. 2017-04-10 15:38:47 +00:00
GrProcessorUnitTest.h Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 3) 2017-04-06 12:45:02 +00:00
GrProgramElement.h Move ref counting out of GrProcessor and into subclasses. 2017-04-10 15:38:47 +00:00
GrRenderTarget.h Remove discard from GrRenderTarget & force it to always go through a RenderTargetContext 2017-04-11 19:38:18 +00:00
GrResourceKey.h increase Builder's prealloc size after colorspace change 2017-03-10 14:17:53 +00:00
GrSamplerParams.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrShaderCaps.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrShaderVar.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrSurface.h Remove lastOpList capability from GrSurface 2017-04-17 12:41:59 +00:00
GrTestUtils.h make GR_TEST_UTILS=0 work 2017-02-02 12:49:17 +00:00
GrTexture.h Add GrExternalTextureData and SkCrossContextImageData 2017-02-28 20:59:57 +00:00
GrTypes.h Treat cross context images as Ganesh-created resources 2017-03-13 14:07:46 +00:00
GrTypesPriv.h Allow FPs to elevate default precision for the entire fragment program 2017-04-05 14:00:50 +00:00