skia2/include/gpu
Brian Salomon fa26e66259 Remove static asserts for GrSLType and GrVertexAttribType enum values.
Replaces with switch statements that will produce a compiler warning if a type is added and helper functions are not updated.

This also removes several unused helper functions for these enum types.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4486

Change-Id: Iee6d8e5095dc4ba2488a8928bf60f8e903cd3320
Reviewed-on: https://skia-review.googlesource.com/4486
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2016-11-14 17:08:16 +00:00
..
effects remove xfermode from public api 2016-10-28 20:06:17 +00:00
gl Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07: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
GrBufferAccess.h Abandon offset support with texel buffers 2016-06-03 08:50:54 -07:00
GrCaps.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrClip.h Rename GrDrawContext to GrRenderTargetContext 2016-10-27 19:14:09 +00:00
GrColor.h Revert "Revert "Add integer texture support."" 2016-11-11 21:58:52 +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 comments to refer to "render target context" rather than "draw context" 2016-10-29 04:32:35 +00:00
GrContextOptions.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrCoordTransform.h Remove option to make GrCoordTransforms apply to device positions. 2016-10-03 21:39:33 +00:00
GrFragmentProcessor.h Make addTexture/BufferAccess on GrProcessor non-virtual 2016-10-28 16:01:32 +00:00
GrGpuResource.h Add explicit UniqueID classes for GrGpuResource & GrSurfaceProxy 2016-11-11 18:24:56 +00:00
GrGpuResourceRef.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrInvariantOutput.h Added premulFourChannelColor to GrInvariantOutput 2016-07-14 09:02:18 -07:00
GrPaint.h remove xfermode from public api 2016-10-28 20:06:17 +00:00
GrProcessor.h Make addTexture/BufferAccess on GrProcessor non-virtual 2016-10-28 16:01:32 +00:00
GrProcessorUnitTest.h Rename GrDrawContext to GrRenderTargetContext 2016-10-27 19:14:09 +00:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Further centralize computation of GrSurface VRAM consumption - take 2 2016-11-07 14:34:47 +00:00
GrRenderTargetContext.h Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
GrResourceKey.h Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
GrShaderVar.h Refactor how we store and use samplers in Ganesh 2016-04-20 07:09:46 -07:00
GrSurface.h Further centralize computation of GrSurface VRAM consumption - take 2 2016-11-07 14:34:47 +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 SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
GrTextureAccess.h Infer sampler precision from pixel config 2016-04-11 12:03:08 -07:00
GrTextureParams.h Remove sRGB overrides on GrTextureParams. Use GrPaint flags instead. 2016-05-24 06:18:48 -07:00
GrTextureProvider.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrTypes.h Revert "Revert "Add integer texture support."" 2016-11-11 21:58:52 +00:00
GrTypesPriv.h Remove static asserts for GrSLType and GrVertexAttribType enum values. 2016-11-14 17:08:16 +00:00
GrXferProcessor.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
SkGr.h Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00