skia2/include/gpu
brianosman 1aeb78c5d9 Two (related) changes here:
1) Our older iOS devices failed our sRGB tests, due to precision issues
with alpha. At this point, we only test on iPadMini 4, and that appears
not to have any problems.

2) iOS devices still don't have the sRGB texture decode extension. But,
some clients have no interest in mixing legacy/color-correct rendering,
and would like to use sRGB on these devices. This GrContextOptions flag
enables sRGB support in those cases.

Adjust the test code to produce sRGB capable contexts on these devices,
but only for configs that have a color space. (See comment).

BUG=skia:4148

Committed: https://skia.googlesource.com/skia/+/9db12d2341f3f8722c8b90b11dd4cce138a8a64e
Review-Url: https://codereview.chromium.org/2539993002
2016-12-01 13:18:16 -08:00
..
effects Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +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 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 Defer more renderTargetContexts in the GPU image filter paths - take 2 2016-11-21 11:05:03 -08:00
GrContextOptions.h Two (related) changes here: 2016-12-01 13:18:16 -08: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 Reland image storage with fixes. 2016-11-29 17:42:53 +00:00
GrInvariantOutput.h Added premulFourChannelColor to GrInvariantOutput 2016-07-14 09:02:18 -07:00
GrPaint.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrProcessor.h Reland image storage with fixes. 2016-11-29 17:42:53 +00:00
GrProcessorUnitTest.h Rename GrTextureAccess to GrProcessor::TextureSampler. 2016-11-17 17:18:53 +00:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +00:00
GrRenderTargetContext.h Rename GrDrawBatch->GrDrawOp 2016-12-01 16:45:27 +00:00
GrResourceKey.h Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07: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 Fix computation of texture size for approximately-fit deferred proxies 2016-11-17 20:47:18 +00:00
GrSurfaceContext.h Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +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 Added GrSurfaceContext and GrTextureContext 2016-11-23 15:52:27 +00: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 Reland image storage with fixes. 2016-11-29 17:42:53 +00:00
GrXferProcessor.h Merge GrGLSLCaps into GrShaderCaps 2016-11-29 19:32:31 +00:00
SkGr.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00