Go to file
Mike Klein be3ea68fee allow SkSpriteBlitter::setup() to fail
This lets us notice that an SkRasterPipelineSpriteBlitter failed to set
up its stages (e.g. an SkColorFilter it can't handle) and instead of
using a NullBlitter, give SkVMSpriteBlitter a chance, just like we do in
the non-sprite blitters.

This is arguably working around the SkSpriteBlitter helper abstract
class' limitations, and removing that intermediate to SkBlitter might
make things clearer in the end.  Notice how SkVMSpriteBlitter is an
SkBlitter directly, not an SkSpriteBlitter, and it gets all its
information at once rather than split between constructor and setup().
We could make all the sprite blitters like that.

Change-Id: I905c744fdcf7b76e8a62634e8d7eb96d9d0ed391
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308277
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-08-05 20:44:56 +00:00
animations
bench add a global may-we-JIT flag 2020-08-05 16:35:45 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
demos.skia.org Modify CanvasKit to work in a Web Worker and add a demo of it in action. 2020-07-21 22:21:06 +00:00
dm Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
docker Fix swiftshader Dockerfile. 2020-07-20 17:17:53 +00:00
docs/examples Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
example Clean up GrContext references in the src/gpu 2020-07-16 14:14:08 +00:00
experimental Use more of pathbuilder 2020-08-03 21:04:55 +00:00
fuzz updated skp fuzzer 2020-07-31 21:27:13 +00:00
gm Specify aa type of draw to the GrClip 2020-08-05 20:18:56 +00:00
gn Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
include Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
infra Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
modules Publish version 0.17.3 2020-08-05 15:23:05 +00:00
platform_tools get rid of unused include 2020-08-05 18:48:47 +00:00
resources Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
samplecode Rename GrTessellateStroke* -> GrStrokeTessellate* and friends 2020-07-31 02:24:05 +00:00
site A quick start guide for CanvasKit app structure 2020-08-03 19:17:17 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src allow SkSpriteBlitter::setup() to fail 2020-08-05 20:44:56 +00:00
tests Specify aa type of draw to the GrClip 2020-08-05 20:18:56 +00:00
third_party Roll skcms from 8da4cb002cb4 to b1f9041ffe31 (1 revision) 2020-07-31 13:54:35 +00:00
tools add a global may-we-JIT flag 2020-08-05 16:35:45 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
.gitignore [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS GCC: fix unknown attribute warnings for no_sanitize 2020-07-06 13:52:22 +00:00
BUILD.gn Switch GN defs on Mac and iOS to use frameworks, take 2. 2020-08-05 20:38:35 +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 ANGLE from 709472c9dd0c to 6c873cfde957 (13 revisions) 2020-08-05 05:08:39 +00:00
go.mod Update Go Deps 2020-07-25 05:33:32 +00:00
go.sum Update Go Deps 2020-07-25 05:33:32 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +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
RELEASE_NOTES.txt Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +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.