skia2/tools/sk_app
Brian Osman 2b23c4bf31 Dest color space no longer impacts mipmaps or texture sampling
PS5: Removes SkDestinationSurfaceColorMode, tracking of mipmap
mode on GrTexture, sRGB decode state per-texture. Because we
were often choosing sRGB configs for RGB color types, legacy
rendering would then be incorrect (too dark). So...

PS7: Stops ever using sRGB pixel configs when translating
image info or color type. Also removes a bunch of GrCaps bits
and a GrContextOption that are no longer relevant.

PS9: Adjusts surface creation unit test expectations, and
changes the raster rules accordingly.

At this point, sRGB configs are (obviously) going to be broken.

Locally, I ran 8888, gl, and the gbr- versions of both. Across
all GMs x configs, there are 13 diffs. 12 are GMs that create
surfaces with a color-space attached (and thus, the offscreen
is no longer getting sRGB pixel config). The only remainder
constructs an SkPictureImageGenerator, (with an attached color
space) and renders it to the gbr-gl canvas, which triggers a
a tagged surface inside the generator.

Bug: skia:
Change-Id: Ie5edfa157dd799f3121e8173fc4f97f6c8ed6789
Reviewed-on: https://skia-review.googlesource.com/131282
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2018-06-01 17:00:26 +00:00
..
android Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
ios Fix flicker when changing backend on iOS viewer 2018-02-16 15:31:36 +00:00
mac Fix flicker when changing backend on Mac viewer 2018-02-15 19:14:32 +00:00
unix Make RenderDoc work automatically with GLX viewer 2018-05-04 16:27:13 +00:00
win Remove include/gpu/gl from include paths. 2018-05-22 18:37:25 +00:00
Application.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
CommandSet.cpp eliminate SK_BUILD_FOR_WIN32 2018-01-26 19:52:04 +00:00
CommandSet.h Remove SampleApp and convert HelloWorld to sk_app 2017-11-21 18:37:19 +00:00
DisplayParams.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00
GLWindowContext.cpp Make GrCaps and GrShaderCaps private. 2018-05-11 14:47:27 +00:00
GLWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
RasterWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
VulkanWindowContext.cpp Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
VulkanWindowContext.h Remove legacy GrContext factories function and supporting code/types. 2018-03-23 21:12:50 +00:00
Window.cpp Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
Window.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00
WindowContext.h Add pixel geometry and dft selection to viewer app. 2018-04-16 22:46:50 +00:00