skia2/tools/skpbench
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
..
__init__.py skpbench 2016-09-19 11:03:58 -07:00
_adb_path.py skpbench: Add support for Pixel 2 2018-04-30 15:29:13 +00:00
_adb.py skpbench: support pixel phone 2017-10-20 17:52:36 +00:00
_benchresult.py skpbench: add "resultsfile" option 2016-11-10 16:08:12 +00:00
_hardware_android.py skpbench: Add support for Pixel 2 2018-04-30 15:29:13 +00:00
_hardware_nexus_6p.py [skpbench] experiment with not disabling services 2018-03-01 19:28:44 +00:00
_hardware_pixel2.py skpbench: Add support for Pixel 2 2018-04-30 15:29:13 +00:00
_hardware_pixel_c.py [skpbench] Use android's perf settings for Pixel C 2018-03-19 14:22:55 +00:00
_hardware_pixel.py skpbench: Add support for Pixel 2 2018-04-30 15:29:13 +00:00
_hardware.py skpbench: support pixel phone 2017-10-20 17:52:36 +00:00
_os_path.py Add adb support to skpbench 2016-09-19 12:04:56 -07:00
sheet.py skpbench: add utility to format results for Skia Perf 2016-11-10 20:00:56 +00:00
skiaperf.py skpbench: fix parser script for bots 2016-11-15 18:52:10 +00:00
skpbench.cpp Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
skpbench.py Add DDL skpbench bot for just DDL recording time 2018-05-31 17:56:26 +00:00