skia2/src/gpu/mock
Brian Salomon 9b009bb069 Prepare sRGB encoding conversion for the removal of GrPixelConfig
Standardizes that GrGpu subclass's onRead/WritePixels never do sRGB<->linear conversion. This means that they can eventually take a color type rather than config. It also means direct callers of GrGpu::read/writePixels can never expect conversion (which in practice is no change).

Consolidate logic about whether to do sRGB<->linear encoding conversions in GrContext::read/writeSurfacePixels helpers. No change in when conversions are done (yet). This prepares this logic to operate on SkColorSpace and color type rather than config WRT the CPU data.

Bug: skia:6718
Change-Id: I346d669624861578f1bb9ea465a7ab4b549117fa
Reviewed-on: https://skia-review.googlesource.com/105286
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2018-02-14 19:58:14 +00:00
..
GrMockBuffer.h Setup CCPR testing with GrMockContext 2017-11-06 20:44:19 +00:00
GrMockCaps.h Add SkCharacterization creation helper to GrContextThreadSafeProxy (take 2) 2018-02-14 12:42:18 +00:00
GrMockGpu.cpp Add SkCharacterization creation helper to GrContextThreadSafeProxy (take 2) 2018-02-14 12:42:18 +00:00
GrMockGpu.h Prepare sRGB encoding conversion for the removal of GrPixelConfig 2018-02-14 19:58:14 +00:00
GrMockGpuCommandBuffer.h Remove deferred upload types from GrDrawOp.h. 2017-10-30 15:30:09 +00:00
GrMockStencilAttachment.h Revert "Revert "Make mock GrContext unit testable."" 2017-07-06 21:59:18 +00:00
GrMockTexture.h Remove integer texture support 2018-02-06 12:56:46 +00:00