Go to file
Brian Osman f48c9965ec Revert "Revert "Add SkImage::makeColorTypeAndColorSpace""
This reverts commit 9a97c96c9c.

This works like makeColorSpace, but allows changing color type as well.
Added a GM to test, although the GM demonstrates several ways this can
fail (especially when using this on lazy images).

For simple use-cases (8888 <-> F16), everything should be fine.

For the reland, add logic to the GM to guard against context abandon
failures, and to ensure that lazy images can be decoded (by calling
makeRasterImage) before trying to draw them. That prevents the DDL
recorder from seeing them.

Bug: skia:
Change-Id: Ibc7b07c3399979b1a44d85a38424e5487e606607
Reviewed-on: https://skia-review.googlesource.com/c/183800
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2019-01-14 18:01:15 +00:00
animations
bench fix up disabled bench: PDFBigDocBench 2019-01-11 17:38:04 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm Revert "Revert "Reuse GrTexture instances when the same GrBackendTexture is used to"" 2019-01-10 17:51:21 +00:00
docker Convert skottie's cloud build to use CanvasKit 2018-11-10 12:06:32 +00:00
docs Fixup BookMaker for makeWithFilter change 2019-01-11 22:12:46 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental [canvaskit] Use textblob 2019-01-14 14:12:59 +00:00
fuzz start to build with no paint-text fields 2019-01-04 04:54:34 +00:00
gm Revert "Revert "Add SkImage::makeColorTypeAndColorSpace"" 2019-01-14 18:01:15 +00:00
gn SkPDF: unify Canon and Document 2019-01-14 17:56:14 +00:00
include Revert "Revert "Add SkImage::makeColorTypeAndColorSpace"" 2019-01-14 18:01:15 +00:00
infra Update go_deps asset 2019-01-14 06:13:52 +00:00
modules Hack up SkShaper to pass additional callback info 2019-01-11 17:04:26 +00:00
platform_tools Add support for Windows to the gradle builds 2019-01-08 20:01:29 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode Hack up SkShaper to pass additional callback info 2019-01-11 17:04:26 +00:00
site SkPDF: unify Canon and Document 2019-01-14 17:56:14 +00:00
src Revert "Revert "Add SkImage::makeColorTypeAndColorSpace"" 2019-01-14 18:01:15 +00:00
tests SkPDF: unify Canon and Document 2019-01-14 17:56:14 +00:00
third_party Roll skia/third_party/skcms ca80251f9aca..cd2260c9f528 (1 commits) 2019-01-14 16:31:42 +00:00
tools Make SkPromiseImageTexture ref counted. 2019-01-14 16:19:01 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Update BUILDCONFIG.gn to support Visual Studio 2017 Enterprise 2019-01-09 14:27:34 +00:00
BUILD.gn include_dirs = [ "tests" ] not needed 2018-12-28 16:07:32 +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 f04b56fb041f..939adc5b9dc7 (1 commits) 2019-01-14 17:56:13 +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 [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl Reland "Add SkFontMgr implementation for Fuchsia" 2018-12-07 01:47:05 +00:00
README
README.chromium
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +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.