Go to file
Mike Klein a424536401 rewrite tricky loop to avoid -Wsizeof-array-div
I don't see anything particularly wrong with the code as written, but
it's triggering a warning from the new Clang -Wsizeof-array-div because
it _looks_ like a bug, dividing sizeof(SkPoint[2]) by sizeof(SkScalar).
(The answer is 4.)

We can rewrite this to just not trigger the warning.

See https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=36439

Bug: fuchsia:36439
Change-Id: I73bef83add9050d95b3ccf69e613ab009c6a152b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240825
Auto-Submit: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-09-12 13:26:39 +00:00
animations
bench Remove maxCount resource cache limit 2019-09-03 14:59:51 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
build_overrides Update to Dawn ToT. 2019-07-22 16:20:36 +00:00
dm Simplify GPUSink constructors by just passing the config object 2019-09-09 18:12:18 +00:00
docker Add env vars to cloudbuild.yaml to enable vpython for depot_tools. 2019-09-06 16:59:15 +00:00
docs/examples remove unneeded noemptycheck variants of intersect 2019-08-26 15:03:44 +00:00
example tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
experimental experimental/minimal_ios_mtl_skia_app: clean up 2019-09-11 13:00:43 +00:00
fuzz Move SkImageFilter functionality into private SkImageFilter_Base 2019-08-02 18:56:39 +00:00
gm Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +00:00
gn Dawn: implement staging buffer manager. 2019-09-10 19:02:15 +00:00
include Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +00:00
infra Omit path_text benches on Pixel3a 2019-09-12 02:51:08 +00:00
modules Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +00:00
platform_tools Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
resources [sksg] Fix mask/context overrides interaction 2019-09-04 14:09:44 +00:00
samplecode Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
site Add release section for milestones and rel notes 2019-09-09 20:34:38 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src rewrite tricky loop to avoid -Wsizeof-array-div 2019-09-12 13:26:39 +00:00
tests Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +00:00
third_party Fix spirv-tools include path 2019-08-28 13:58:25 +00:00
tools Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +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 clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn Reland "Add launch screen to iOS apps" 2019-09-05 14:05:08 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 0b8eca795349..f421e0e33e66 (6 commits) 2019-09-12 05:25:48 +00:00
go.mod Update Go deps 2019-09-12 05:24:08 +00:00
go.sum Update Go deps 2019-09-12 05:24:08 +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 rewrite_includes.py: make it work on windows 2019-08-05 16:14:35 +00:00
public.bzl remove SkPicture_none.cpp 2019-08-16 14:52:25 +00:00
README
README.chromium
RELEASE_NOTES.txt Add kRG_1616 and kAlpha_16 SkColorTypes 2019-09-12 12:20:09 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +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.