skia2/tools/gpu
brianosman 54f30c13fc Introduce GrColorSpaceXform, for gamut conversion on textures
GrTextureAccess optionally includes an instance, computed from the src
and dst color spaces. In all common cases (no color space for either src
or dst, or same color space for both), no object is allocated.

This change is orthogonal to my attempts to get color space attached to
render targets - regardless of how we choose to do that, this will give
us the source color space at all points where we are connecting src to
dst.

There are many dangling injection points where I've been inserting
nullptr, but I have a record of all of them. Additionally, there are now
three places (the most common simple paths for bitmap/image rendering)
where things are plumbed enough that I expect to have access to the dst
color space (all marked with XFORMTODO).

In addition to getting the dst color space, I need to inject shader code
and uniform uploading for appendTextureLookup and friends.

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

Review-Url: https://codereview.chromium.org/2154753003
2016-07-18 10:53:52 -07:00
..
gl Support GL_SAMPLES queries in null contexts 2016-06-23 13:42:13 -07:00
vk Implement vulkan fence syncs for nanobench 2016-05-16 14:09:56 -07:00
GrContextFactory.cpp Cleanup needed to use WindowContext for Android 2016-06-09 13:07:13 -07:00
GrContextFactory.h Make unit tests use generic testcontext rather than glcontext 2016-05-11 10:38:06 -07:00
GrTest.cpp Introduce GrColorSpaceXform, for gamut conversion on textures 2016-07-18 10:53:52 -07:00
GrTest.h Remove GrRenderTarget from GrPipelineBuilder 2016-06-06 06:16:21 -07:00
TestContext.cpp Implement vulkan fence syncs for nanobench 2016-05-16 14:09:56 -07:00
TestContext.h Nanobench running on Vulkan 2016-05-11 11:55:36 -07:00