skia2/include/gpu
Brian Osman f2956459f7 Add Gray8 pixel config
This is still just linear (non-sRGB), but adding sRGB will
be the next step. I've verified that this is really making
R8 textures when uploading Gray8 bitmaps. Tests pass, and
the all_bitmap_configs GM still renders correctly (unlike
when we just mapped Gray8 to Alpha8).

This adds another pixel config, which could grow our cache
footprint, but the benefits of not using 4bpp for 1bpp data
should outweigh that?

BUG=skia:6110

Change-Id: I4fc4c2479fc25f1d278e174a9bb5b542a0cb184c
Reviewed-on: https://skia-review.googlesource.com/6817
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-01-10 16:20:03 +00:00
..
effects Revert "Revert "Removing ref counting from GrXPFactory."" 2017-01-09 17:21:03 +00:00
gl Add image functions to GrGLInterface 2016-11-15 19:37:35 +00:00
vk Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrBlend.h Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrBuffer.h Add resource provider flag to avoid client-side buffers 2016-07-13 10:16:32 -07:00
GrCaps.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrClip.h Relandx2 "Remove antialiasing control from GrPaint." 2016-12-09 20:43:41 +00:00
GrColor.h Add Gray8 pixel config 2017-01-10 16:20:03 +00:00
GrColorSpaceXform.h Add storage and computation of SkColor4f version of gradient stops. 2016-09-15 11:09:45 -07:00
GrConfig.h Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. 2016-04-29 06:41:35 -07:00
GrContext.h Change GPU read/write pixels API to support color space conversion 2016-12-22 16:44:56 +00:00
GrContextOptions.h Misc batch->op cleanup Part 1 of 2 2016-12-21 16:45:40 +00:00
GrCoordTransform.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrFragmentProcessor.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrGpuResource.h Add IORef capability to GrSurfaceProxy objects - take 2 2016-11-16 11:17:17 -08:00
GrGpuResourceRef.h Move resource ref/io manipulation from GrProgramElement to GrProcessor 2017-01-09 21:51:05 +00:00
GrInvariantOutput.h This renames methods and classes that relate to static analysis of combinations of GrDrawOps and GrPipelines. 2016-12-21 15:12:49 +00:00
GrPaint.h Revert "Revert "Removing ref counting from GrXPFactory."" 2017-01-09 17:21:03 +00:00
GrProcessor.h Move resource ref/io manipulation from GrProgramElement to GrProcessor 2017-01-09 21:51:05 +00:00
GrProcessorUnitTest.h Revert "Revert "Removing ref counting from GrXPFactory."" 2017-01-09 17:21:03 +00:00
GrProgramElement.h Move resource ref/io manipulation from GrProgramElement to GrProcessor 2017-01-09 21:51:05 +00:00
GrRenderTarget.h Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +00:00
GrRenderTargetContext.h Remove ref counting from GrOp. 2017-01-03 15:22:16 +00:00
GrResourceKey.h Add support for tagging GrUniqueKeys with a debug string 2017-01-06 17:54:03 +00:00
GrSamplerParams.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrShaderCaps.h Rename SkSL::GLSLCapsFactory to SkSL::ShaderCapsFactory 2016-11-29 21:12:45 +00:00
GrShaderVar.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
GrSurface.h Change GPU read/write pixels API to support color space conversion 2016-12-22 16:44:56 +00:00
GrSurfaceContext.h Add a deferred copy surface (take 3) 2016-12-15 15:07:39 +00:00
GrTestUtils.h Add helper to create random AsFPArgs for Ganesh unit tests 2016-10-19 16:01:07 +00:00
GrTexture.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrTextureContext.h Add a deferred copy surface (take 3) 2016-12-15 15:07:39 +00:00
GrTextureProvider.h Different approach to fixing gpu blurs on platforms that "useDrawInsteadOfClear" 2016-12-09 19:29:38 +00:00
GrTypes.h Add Gray8 pixel config 2017-01-10 16:20:03 +00:00
GrTypesPriv.h Add helper for idenitfying hw GrAATypes. 2016-12-13 18:10:31 +00:00
GrXferProcessor.h Revert "Revert "Removing ref counting from GrXPFactory."" 2017-01-09 17:21:03 +00:00
SkGr.h Plumb dst color space in many places, rather than "mode" 2016-12-09 20:31:23 +00:00