skia2/include/gpu
Brian Osman c68d4aa4ea Helper functions to do SkColor -> GrColor4f
I started fixing more effects and realized I needed something like this.
Wanted to land it separately. After this, I'll add the DC's cached xform
from sRGB to AsFPArgs, so that we can easily leverage this code in more
places (mostly GrConstColorProcessor, or any effect that falls back to
that based on invariants, etc...)

BUG=skia:

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

Change-Id: I335546f02a6c49620494d736140a72c14441b35d
Reviewed-on: https://skia-review.googlesource.com/2844
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2016-09-30 17:33:45 +00:00
..
effects sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
gl Add fence support for TransferBuffers 2016-09-30 08:39:03 -07:00
vk Support use of non-coherent memory allocations in Vulkan. 2016-09-20 09:20:03 -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 Add fence support for TransferBuffers 2016-09-30 08:39:03 -07:00
GrClip.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrColor.h Push usage of GrColor4f into OverrideInput 2016-09-08 09:33:50 -07: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 Restructure flushing relationship between GrContext, GrDrawingManager, and GrResourceCache. 2016-09-07 10:02:04 -07:00
GrContextOptions.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrCoordTransform.h some utils for rect and matrix 2015-03-13 06:08:28 -07:00
GrDrawContext.h Revert of Support Float32 output from SkColorSpaceXform (patchset #7 id:140001 of https://codereview.chromium.org/2339233003/ ) 2016-09-16 11:01:27 -07:00
GrFragmentProcessor.h Stop aggregating texture/buffer access objects in GrFragmentProcessor parents. 2016-09-26 06:55:02 -07:00
GrGpuResource.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
GrGpuResourceRef.h apply mozilla patch 2015-11-10 04:55:08 -08:00
GrInvariantOutput.h Added premulFourChannelColor to GrInvariantOutput 2016-07-14 09:02:18 -07:00
GrPaint.h abstract name of clipping ops, to transtion to a more restricted set 2016-09-20 08:42:39 -07:00
GrProcessor.h remove non-static uses of SkOncePtr 2016-05-02 07:19:41 -07:00
GrProcessorUnitTest.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
GrProgramElement.h Move SkTArray to include/private. 2016-02-17 13:13:44 -08:00
GrRenderTarget.h Add flag for window rectangles to GrRenderTarget 2016-08-10 11:09:07 -07: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 Flush some non-substantive Ganesh changes 2016-08-31 15:06:24 -07:00
GrTestUtils.h Move GrNonAAFillRectPerspectiveBatch to its own file 2016-07-06 09:58:57 -07:00
GrTexture.h Better (?) interface for controlling sRGB-ness of mipmaps on GrTexture 2016-06-13 07:59:48 -07: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 some unnecessary #includes of SkImageFilter.h 2016-04-22 07:36:12 -07:00
GrTypes.h Add Vulkan docs 2016-09-06 14:18:13 -07:00
GrTypesPriv.h Add fence support for TransferBuffers 2016-09-30 08:39:03 -07:00
GrXferProcessor.h Remove hasMixedSamples() from GrPipelineBuilder 2016-05-06 09:41:16 -07:00
SkGr.h Helper functions to do SkColor -> GrColor4f 2016-09-30 17:33:45 +00:00