Go to file
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
animations
bench Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
bin Update gn 2018-05-23 12:11:06 +00:00
dm Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
docker [fiddle] Init gpu using the GLTestContext. 2018-05-29 18:20:46 +00:00
docs Revert "Reland "remove toString"" 2018-05-31 12:27:44 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +00:00
fuzz Fix fuzz+Skottie integration 2018-05-29 13:46:45 +00:00
gm Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
gn Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
include Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
infra Reland [recipes] Isolate build outputs with no subdirs 2018-06-01 15:18:46 +00:00
modules Rename sg tests and samples targets to fix Visual Studio name conflict 2018-06-01 15:12:26 +00:00
platform_tools Added support for visual debugging on Android Studio 2018-06-01 14:56:24 +00:00
resources update ColorSpaceTest.cpp to remove MakeICC 2018-05-23 17:11:11 +00:00
samplecode Revert "Reland "remove toString"" 2018-05-31 12:27:44 +00:00
site generate include comments 2018-05-30 13:46:38 +00:00
src Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
tests Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
third_party Roll FreeType to pick up color stuff. 2018-05-31 15:10:13 +00:00
tools Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
.clang-format Revert "Update clang-format matching more of Chromium" 2018-05-24 13:27:25 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn Rename sg tests and samples targets to fix Visual Studio name conflict 2018-06-01 15:12:26 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/swiftshader 8e6ed2e..419e8a7 (1 commits) 2018-06-01 16:04:46 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Revert "Update docs preview URL in presubmit" 2018-05-22 15:29:15 +00:00
public.bzl exclude cgms.cpp from DM on Google3 build 2018-06-01 15:31:16 +00:00
README
README.chromium
whitespace.txt Reland "Whitespace change" 2018-04-14 01:24:11 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.