Go to file
Brian Osman 274a89e0f5 Include color type and color space in bitmap cache key
Lazy images will soon support decoding to multiple color types and
color spaces. To avoid cache collisions, we need to fold the decoded
color type and color space into the key.

To avoid storing multiple (different) bitmaps with the same gen ID,
stop propagating the image's ID to the one allocated in the cache.

Bug: skia:
Change-Id: I06714725d4309ec813b75e42cc76eda2cda3d2e0
Reviewed-on: https://skia-review.googlesource.com/c/160380
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-10-09 15:35:33 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Add clear benchmark 2018-10-08 21:13:26 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm remove SkColorSpaceTransferFn::invert() 2018-10-04 20:33:20 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs Generate bookmaker indices 2018-10-08 19:24:31 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental Add CanvasKit build 2018-10-09 13:56:56 +00:00
fuzz delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
gm Remove a bunch of unused files and functions 2018-10-08 18:55:27 +00:00
gn Work around FreeType type change. 2018-10-09 14:56:19 +00:00
include remove deprecated SK_ATTR_DEPRECATED 2018-10-09 15:25:33 +00:00
infra Turn down CT_* bots 2018-10-09 15:05:24 +00:00
modules Add CanvasKit build 2018-10-09 13:56:56 +00:00
platform_tools Add Build and Test jobs for SKQP using docker. 2018-10-08 19:17:25 +00:00
resources [skottie] Multi-frame image support 2018-10-03 19:02:35 +00:00
samplecode delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +00:00
site Add CanvasKit build 2018-10-09 13:56:56 +00:00
src Include color type and color space in bitmap cache key 2018-10-09 15:35:33 +00:00
tests Include color type and color space in bitmap cache key 2018-10-09 15:35:33 +00:00
third_party Roll skia/third_party/skcms 1c1d5560df11..dfd5b3a4a61f (1 commits) 2018-09-27 19:18:41 +00:00
tools bookmaker fix build again 2018-10-08 21:10:46 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +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 Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn Move dumpJSON behind the SK_ENABLE_DUMP_GPU flag 2018-10-05 18:18:30 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
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/angle2 6d765b07f86f..3f21fcb9bd26 (2 commits) 2018-10-08 19:34:04 +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 Add new autoroll service accounts to AUTHORS check bypass 2018-09-07 18:49:23 +00:00
public.bzl Remove more SkColorSpaceXform (and friends) 2018-09-26 22:30:05 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
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.