Go to file
Greg Kaiser 2f08a4043b examples: Avoid undefined behavior
When 'int' is 32-bits, "1 << 31" is undefined.  So we avoid that
in these couple example programs.

Bug: 8968
Change-Id: Iacaa28bf46a4006de4aee90de33560911744925e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206691
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-04-08 22:14:49 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
bin tools: bin/sync just alias for git-sync-deps now 2019-02-22 20:05:05 +00:00
dm Fix the GLSL persistent cache (and add a config to test it) 2019-04-03 18:05:22 +00:00
docker Include wasm debugger in continuous build part 2 2019-04-01 19:51:43 +00:00
docs/examples examples: Avoid undefined behavior 2019-04-08 22:14:49 +00:00
example Use SkTileMode instead of nested enum 2019-04-03 15:24:18 +00:00
experimental add SkpFilePlayer to externs 2019-04-08 17:57:04 +00:00
fuzz Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
gm Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
gn add flag to stage API change 2019-04-08 18:13:59 +00:00
include undef guard for bitmap shader 2019-04-08 22:00:39 +00:00
infra Roll recipe dependencies (trivial). 2019-04-08 20:10:13 +00:00
modules Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
platform_tools SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
resources Add planet emoji font. 2019-03-19 17:49:22 +00:00
samplecode Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
site Remove bookmaker sources and data files 2019-03-25 18:56:29 +00:00
src undef guard for bitmap shader 2019-04-08 22:00:39 +00:00
tests Introduce new factory for SkColorFilters 2019-04-08 21:03:59 +00:00
third_party Roll skia/third_party/skcms 99740cdf2835..36eeb1311a72 (1 commits) 2019-04-08 19:23:28 +00:00
tools add makeShader() to SkBitmap, and deprecate SkShader version 2019-04-08 17:56:34 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +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 fix metal build errors with preprocessor definitions 2019-03-28 18:47:37 +00:00
BUILD.gn Examples: compile faster 2019-04-04 15:43:59 +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 Update Wuffs version 2019-04-08 15:56:12 +00: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 mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl buildifier public.bzl 2019-03-27 19:00:04 +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.