Go to file
Mike Klein 009f51e43f simplify SkTFitsIn, try 2
Originally we wrote this in C++14 constexpr,
but because this is used from public headers, we can't use
C++14 yet.  Now a somewhat sillier looking C++11 version.

All the old tests still pass, and one new added.
Updated the comments a bit for correctness and readability.

Change-Id: I99c01e1346c1a5a36278cc08f30538112e5259aa
Reviewed-on: https://skia-review.googlesource.com/134425
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Mike Klein <mtklein@chromium.org>
Reviewed-by: Ben Wagner <bungeman@google.com>
2018-06-13 13:50:51 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +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 rebase 2018-06-08 20:36:53 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
fuzz Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
gm Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
gn Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
include simplify SkTFitsIn, try 2 2018-06-13 13:50:51 +00:00
infra Add Vulkan jobs for GalaxyS7. 2018-06-12 18:19:23 +00:00
modules Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +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 Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
site Update markdown files 2018-06-12 06:59:23 +00:00
src Fix IsFunctionallyExact 2018-06-13 13:50:36 +00:00
tests simplify SkTFitsIn, try 2 2018-06-13 13:50:51 +00:00
third_party Roll skia/third_party/skcms 0fdd840..1be9889 (1 commits) 2018-06-07 19:59:31 +00:00
tools Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +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 SkJson 2018-06-08 17:45:33 +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 a8802477752f..7ce4a15115cb (3 commits) 2018-06-12 20:26: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 Revert "Update docs preview URL in presubmit" 2018-05-22 15:29:15 +00:00
public.bzl srgb config is gone. Stop testing it. 2018-06-08 13:37:11 +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.