Go to file
Ben Wagner 4d5161135e Defer Sample setup to onOnceBeforeDraw.
The Atlas and BitmapRect samples do a great deal of work in their
constructors. In particular this makes setting breakpoints deep in the
glyph handling code more problematic that it needs to be, since these
will call into the glyph code when they are created which can happen
quite early. A great deal of this code does not need to run in the
constructor in any event, the work only needs to be done once before the
sample is drawn. As a result, defer this work into onOnceBeforeDraw.

Change-Id: I212d3909170bf1cb56769a45e1714f24a496472f
Reviewed-on: https://skia-review.googlesource.com/132927
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2018-06-07 20:37:06 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench remove "srgb" config from DM,nanobench 2018-06-07 19:12:11 +00:00
bin Update gn 2018-05-23 12:11:06 +00:00
dm remove "srgb" config from DM,nanobench 2018-06-07 19:12:11 +00:00
docker Add Dockerfile for building and running local Skia checkout with SwiftShader 2018-06-06 18:23:24 +00:00
docs generate SkColor include 2018-06-07 14:22:38 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +00:00
fuzz More libfuzzer cleanups from GPU switchover 2018-06-07 14:53:58 +00:00
gm Revert "Change persp dftext to only antialiased" 2018-06-07 19:54:22 +00:00
gn Reland "Have draw(Text|PosText|PosTextH) use a single entry on the device" 2018-06-06 17:46:05 +00:00
include Revert "Require mips to be allocated at texture creation time and disable late allocations." 2018-06-07 20:11:33 +00:00
infra remove "srgb" config from DM,nanobench 2018-06-07 19:12:11 +00:00
modules [skottie] Add a tool for dumping encoded animation frames 2018-06-06 01:41:12 +00:00
platform_tools Revert "Added support for visual debugging on Android Studio" 2018-06-01 20:22:37 +00:00
resources update ColorSpaceTest.cpp to remove MakeICC 2018-05-23 17:11:11 +00:00
samplecode Defer Sample setup to onOnceBeforeDraw. 2018-06-07 20:37:06 +00:00
site generate SkColor include 2018-06-07 14:22:38 +00:00
src Revert "Require mips to be allocated at texture creation time and disable late allocations." 2018-06-07 20:11:33 +00:00
tests Revert "Require mips to be allocated at texture creation time and disable late allocations." 2018-06-07 20:11:33 +00:00
third_party Roll skia/third_party/skcms 0fdd840..1be9889 (1 commits) 2018-06-07 19:59:31 +00:00
tools generate SkColor include 2018-06-07 14:22:38 +00:00
.clang-format Revert "Update clang-format matching more of Chromium" 2018-05-24 13:27:25 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +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 Build skottie_tool on Linux only 2018-06-06 13:57:36 +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 2bd1fab..ea17575 (1 commits) 2018-06-07 16:07:11 +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 Revert "Update docs preview URL in presubmit" 2018-05-22 15:29:15 +00:00
public.bzl exclude cgms.cpp from DM on Google3 build 2018-06-01 15:31: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 Reland "Whitespace change" 2018-04-14 01:24:11 +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.