Go to file
Mike Klein 0fb1ee98cf replace SkNVRefCnt with SkRefCnt
SkNVRefCnt trades a small amount of code size (vtable) and runtime
(vptr) memory usage for a larger amount of code size (templating).  It
was written back in a time when all we were really thinking about was
runtime memory usage, so I'm curious to see where performance, code
size, and memory usage all move if it's removed.

Looking at the types I've changed here, my guess is that performance and
memory usage will be basically unchanged, and that code size will drop a
bit.  Nothing else it's nicer to have only one ref-counting base class.

Change-Id: I7d56a2b9e2b9fb000ff97792159ea1ff4f5e6f13
Reviewed-on: https://skia-review.googlesource.com/c/166203
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2018-10-30 13:26:12 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench On second thought, remove GrColor4s 2018-10-26 19:29:50 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm remove src/jumper 2018-10-24 11:15:58 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs update docs for new/changed textblob apis 2018-10-30 01:01:05 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [canvaskit] Remove ReadBuffer 2018-10-25 19:17:59 +00:00
fuzz Remove SrcRectConstraint from drawImageRect overloads with no src rect 2018-10-29 15:11:52 +00:00
gm Keep paint color range/precision into ops and GPs (using GrColor4h) 2018-10-29 23:40:30 +00:00
gn Move files in GN 2018-10-29 17:43:18 +00:00
include replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
infra Roll recipe dependencies (trivial). 2018-10-30 07:45:16 +00:00
modules replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
platform_tools SkQP/Java: remove unneeded stack trace, count tests correcctly 2018-10-26 18:07:33 +00:00
resources Test a GIF with an out of range transparent index 2018-10-12 14:20:02 +00:00
samplecode use utils for deprecated TextAlign 2018-10-26 14:35:28 +00:00
site Update markdown files 2018-10-30 05:44:49 +00:00
src replace SkNVRefCnt with SkRefCnt 2018-10-30 13:26:12 +00:00
tests use from/to_srgb only when known to be in [0,1] 2018-10-30 12:58:58 +00:00
third_party Reland "New GIF codec; new third_party/wuffs dep" 2018-10-26 13:53:04 +00:00
tools fix const order in docs 2018-10-29 18:42:22 +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 Reland "New GIF codec; new third_party/wuffs dep" 2018-10-26 13:53:04 +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 d0a4800e1487..e83048e2bbfa (1 commits) 2018-10-30 12:38:56 +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 Revert "add flag for google3 build" 2018-10-27 15:38:16 +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.