skia2/include/gpu
Brian Osman 60cd57ed9f Factor out common work in readSurfacePixels and writeSurfacePixels
Use more consistent structure between the two functions.

BUG=skia:5853

Change-Id: I82465bee30025574d0d6fad9e287b187d75fff8d
Reviewed-on: https://skia-review.googlesource.com/10042
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2017-04-06 18:17:24 +00:00
..
effects Make GrXferProcessor and related classes private. 2017-02-21 22:27:17 +00:00
gl Add glPolygonMode support. 2017-03-30 19:08:47 +00:00
vk Refactor Vulkan support to support Fuchsia 2017-04-05 17:32:09 +00:00
GrBlend.h Remove GrXferProcessor::getOptimizations. 2017-03-29 13:17:50 +00:00
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrCaps.h Respect kRectsMustMatchForMSAASrc_BlitFramebufferFlag in dst setup 2017-04-04 17:26:38 +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 Factor out common work in readSurfacePixels and writeSurfacePixels 2017-04-06 18:17:24 +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 the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +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 the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +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 Revert "Revert "Remove GrPipeline from GrDrawOp."" 2017-03-21 23:55:32 +00:00
GrRenderTarget.h Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +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 Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 3) 2017-04-06 12:45:02 +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