skia2/include/gpu
brianosman a635936588 sRGB support in Ganesh. Several pieces:
sRGB support now also requires GL_EXT_texture_sRGB_decode, which allows
us to disable sRGB -> Linear conversion when reading textures. This gives
us an easy way to support "legacy" L32 mode. We disable decoding based on
the pixel config of the render target. Textures can override that behavior
(specifically for format-conversion draws where we want that behavior).

Added sBGRA pixel config, which is not-really-a-format. It's just sRGBA
internally, and the external format is BGR order, so TexImage calls will
swizzle correctly. This lets us interact with sRGB raster surfaces on BGR
platforms.

Devices without sRGB support behave like they always have: conversion from
color type and profile type ignores sRGB and always returns linear pixel
configs.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1789663002

Review URL: https://codereview.chromium.org/1789663002
2016-03-21 06:55:37 -07:00
..
effects added support for PLS path rendering 2016-01-30 09:59:10 -08:00
gl Store null GL context's state in interface object 2016-03-18 12:07:24 -07:00
vk Enable extension support and debug layer. 2016-03-18 12:39:05 -07:00
GrBlend.h Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
GrCaps.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrClip.h Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) 2016-03-02 09:26:36 -08:00
GrColor.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrConfig.h Remove version checks for _MSC_VER < 1800 (msvs2013). 2016-03-10 11:14:40 -08:00
GrContext.h Add deferred texture upload API. 2016-03-11 06:46:33 -08:00
GrContextOptions.h Attempt to combine batches in forward direction before flush 2016-03-07 11:50:44 -08:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h Begin weaning GrClipMaskManager off of GrDrawTarget (take 2) 2016-03-02 09:26:36 -08:00
GrFragmentProcessor.h Change prealloc number of child FPs be 1 rather than 2 2015-11-19 11:04:48 -05:00
GrGpuResource.h Add onMemoryDump to GrContext 2015-09-15 14:16:10 -07:00
GrGpuResourceRef.h apply mozilla patch 2015-11-10 04:55:08 -08:00
GrInvariantOutput.h Make skpaint->grpaint flow work for composing draws (verts and atlas) 2015-09-28 06:26:29 -07:00
GrPaint.h Don't create a GXPFactory when blend is SrcOver 2015-11-23 13:20:42 -08:00
GrProcessor.h Add "sample locations" feature to GrProcessor 2016-03-07 13:58:26 -08:00
GrProcessorUnitTest.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Dependencies are now added between the drawTargets in GrPipeline 2015-10-30 10:11:30 -07:00
GrResourceKey.h Fix thread-unsafe construction of GrUniqueKey in GR_DEFINE_STATIC_UNIQUE_KEY 2015-12-17 08:15:47 -08:00
GrShaderVar.h added support for PLS path rendering 2016-01-30 09:59:10 -08:00
GrSurface.h Cleaning up trailing spaces and typos. 2016-01-26 09:10:48 -08:00
GrTestUtils.h Take care fall-through case of switch in skia 2016-01-05 00:35:50 -08:00
GrTexture.h Add support for vertex and geometry shader textures 2016-03-11 10:07:37 -08:00
GrTextureAccess.h Add sampler precision to GrTextureAccess 2016-03-11 13:34:32 -08:00
GrTextureParams.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrTextureProvider.h Don't allow nullptr in texels array params (unless using a transfer buffer). 2016-03-09 06:25:16 -08:00
GrTypes.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
GrTypesPriv.h Add sampler precision to GrTextureAccess 2016-03-11 13:34:32 -08:00
GrXferProcessor.h added support for PLS path rendering 2016-01-30 09:59:10 -08:00
SkGr.h sRGB support in Ganesh. Several pieces: 2016-03-21 06:55:37 -07:00
SkGrPixelRef.h Make SkBitmap::CopyTo respect requested dst color type when bitmap is texture backed. 2016-01-11 11:14:17 -08:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00