Go to file
Mike Klein 4fee323522 override getTypeName() instead of using table
This should let getTypeName() and serialization work even
when deserialization factories haven't been registered.

I've made getTypeName() pure virtual like getFactory(),
and moved all the overrides into SK_FLATTENABLE_HOOKS,
cleaning up all the various ways we've done it before.

All the subclasses override getTypeName() and getFactory()
privately, so there should be no need to document them?

Change-Id: I723cb20099d250c2f2a10be266e3aacc6a061937
Reviewed-on: https://skia-review.googlesource.com/c/163543
Reviewed-by: Cary Clark <caryclark@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-19 18:07:04 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench trim off more bgra stages 2018-10-18 15:05:34 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm clean up SkPipe 2018-10-12 16:50:21 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs allow bookmaker methods to auto-populate 2018-10-18 13:13:51 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [canvaskit] Disable effect_deserialization 2018-10-19 14:44:10 +00:00
fuzz Add new Codec fuzzers to FuzzMain 2018-10-17 18:44:07 +00:00
gm override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
gn Add ability for an SkDevice to handle the drawing of an SkDrawable. 2018-10-19 15:21:54 +00:00
include override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
infra Update go_deps asset 2018-10-19 06:16:03 +00:00
modules only build non-prod skottie/sksg code in our tree 2018-10-18 17:50:51 +00:00
platform_tools Add Build and Test jobs for SKQP using docker. 2018-10-08 19:17:25 +00:00
resources Test a GIF with an out of range transparent index 2018-10-12 14:20:02 +00:00
samplecode override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
site override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
src override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
tests override getTypeName() instead of using table 2018-10-19 18:07:04 +00:00
third_party Roll skia/third_party/skcms f3e50cfac5bc..1ce6da5c8d99 (1 commits) 2018-10-18 19:52:03 +00:00
tools Reland: Widen internal API to support more complex YUV formats 2018-10-18 18:44:26 +00:00
.clang-format clean up flattenable macro cruft 2018-10-19 16:18:32 +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 re-enable effect deserialization for flutter 2018-10-18 21:16: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 third_party/externals/swiftshader a9999ce938be..9e4d040cb93c (1 commits) 2018-10-19 17:55:54 +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 Add forgotton comma 2018-10-18 15:05:52 +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.