skia2/include/gpu
Brian Osman 0c2997b6d8 Remove second version of SkImageInfo2GrPixelConfig
Alpha type is not (and never will be) part of pixel config, so the logic
around that was unnecessary. (Also, we already sanitize color type and
alpha type before making a new device at a higher level).

With that out of the way, we can easily supply a full info at the two
call-sites that were using the other version.

BUG=skia:

Change-Id: Iceccdbdebd1062d3e5023620755aabcc86604d2f
Reviewed-on: https://skia-review.googlesource.com/6920
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-01-12 14:31:31 +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 Remove kIndex_8_GrPixelConfig 2017-01-12 14:29:39 +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 Fix undefined GrIORef test method on Chrome win bot 2017-01-11 21:11:12 +00: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 Make GrPaints move their GrProcessor ownership into GrPipelineBuilder. 2017-01-11 19:56:48 +00:00
GrProcessor.h Add test for processor->resource ref/io counts 2017-01-11 16:01:07 +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 Make GrPaints move their GrProcessor ownership into GrPipelineBuilder. 2017-01-11 19:56:48 +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 Remove kIndex_8_GrPixelConfig 2017-01-12 14:29:39 +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 Remove second version of SkImageInfo2GrPixelConfig 2017-01-12 14:31:31 +00:00