Go to file
commit-bot@chromium.org 86398e5d91 Avoid undefined behavior and enable asserts in ClampTest.
The old code here wasn't being careful to avoid int32_t overflow in slow_check.  Fix that.

R_ASSERT hasn't been doing anything for a while.  As a result, there are a couple bugs in SkClampRange, marked as such and commented out.  The asserts also weren't quite passing, so I fixed them up (allowing 0xFFFF to be considered either as part of the ramp or part of V1.)

BUG=skia:2481
R=reed@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/260523004

git-svn-id: http://skia.googlecode.com/svn/trunk@14479 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-04-30 16:51:51 +00:00
animations
bench Use SkDebugf to print when GrContext can't be created for a config. 2014-04-30 15:54:29 +00:00
debugger Sanitizing source files in Housekeeper-Nightly 2014-04-24 03:05:07 +00:00
dm DM: when 32-bit, disable pathops internal threading by default 2014-04-30 14:56:29 +00:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations remove inverse_paths from ignored tests 2014-04-30 16:34:43 +00:00
experimental Turn off warnings as errors, also allow c++11 extensions. 2014-04-30 16:49:34 +00:00
forth
gm Turn on quilt mode in DM. 2014-04-30 13:20:45 +00:00
gyp Eliminate SkPicture-related flags Chromium no longer requires 2014-04-30 15:55:14 +00:00
include Revert of Rename SK_DEBUGBREAK to SK_ALWAYSBREAK (https://codereview.chromium.org/263553012/) 2014-04-30 16:27:21 +00:00
platform_tools Revert of Improve Android scripts: (https://codereview.chromium.org/254923003/) 2014-04-29 21:00:06 +00:00
resources Reland "Properly set alpha type in webp decode." 2014-04-24 18:55:13 +00:00
samplecode fix cycle_colortypes so we can test 565 2014-04-29 16:25:36 +00:00
src Revert of Rename SK_DEBUGBREAK to SK_ALWAYSBREAK (https://codereview.chromium.org/263553012/) 2014-04-30 16:27:21 +00:00
tests Avoid undefined behavior and enable asserts in ClampTest. 2014-04-30 16:51:51 +00:00
third_party Drop executable flag from headers so that they can be packaged 2014-03-11 19:55:51 +00:00
tools Update the list of bots in rebaseline.py. 2014-04-30 16:11:50 +00:00
trybots_to_run/chrome
.gitignore clean up gitignore; sort, add chromeos/externals, remove trailing /. 2014-04-17 22:56:46 +00:00
AUTHORS Fixed Skia compilation error with strict clang. 2014-04-07 13:12:47 +00:00
codereview.settings Add BUG_PREFIX to codereview.settings 2014-01-14 21:19:21 +00:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Add skia.buildbots@gmail.com to CQ_COMMITTERS 2014-04-03 22:21:08 +00:00
DEPS roll DEPS/android/jpeg to current master. 2014-04-28 13:19:40 +00:00
Doxyfile update Doxygen config file to include gpu directory in api generation 2014-03-07 16:20:36 +00:00
gyp_skia allow gyp_skia to be run from any directory. 2014-04-17 16:11:58 +00:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE
make.bat
make.py change default build (in "make" wrapper) to ninja on all platforms 2014-04-01 07:02:41 +00:00
Makefile simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00
Makefile.old
OWNERS
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README
README.chromium
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
whitespace.txt Whitespace change to test new 50 GCE compile bots. 2014-04-27 15:19:34 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot