Go to file
reed@google.com d9ee348720 If we lose precision computing sum of the dash intervals, then we can have the
same error when we subtract-in-a-loop with the phase. The result is that we can
read past the end of the array.

To fix this, we just pin the loop counter, and if we exhaust our intervals, we
just treat the phase as 0. Not precisely the exact answer, but we aren't going
to draw this dash correctly anyway, since it contains massive interval values
that will be imprecise given our current float implementation.

Fixes http://code.google.com/p/chromium/issues/detail?id=140642
Review URL: https://codereview.appspot.com/6458088

git-svn-id: http://skia.googlecode.com/svn/trunk@4959 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-08-06 14:58:35 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Create GPU-less build of Skia. 2012-08-02 14:03:32 +00:00
debugger Moved the ownership of the current clip and current matrix into the debug canvas as part of the upcoming general refactor to everything living in debug canvas. 2012-08-03 17:32:05 +00:00
experimental shape ops work in progress 2012-08-06 11:15:47 +00:00
forth Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
gm Move SK_SUPPORT_GPU checks below first #includes in case the macro is defined in SkUserConfig.h rather than by the build system. 2012-08-03 15:00:52 +00:00
gyp revert gpu-less mac sample app, remove busted sample (that has equivalent gm) 2012-08-03 19:25:10 +00:00
include rm: Introduce SK_ARM_NEON_WRAP handy wrapper macro. 2012-08-06 14:53:32 +00:00
samplecode revert gpu-less mac sample app, remove busted sample (that has equivalent gm) 2012-08-03 19:25:10 +00:00
src If we lose precision computing sum of the dash intervals, then we can have the 2012-08-06 14:58:35 +00:00
tests If we lose precision computing sum of the dash intervals, then we can have the 2012-08-06 14:58:35 +00:00
third_party Add BSON implementation to third_party 2012-06-13 18:22:09 +00:00
tools render_pictures and bench_pictures now use a --mode parameter. 2012-08-02 18:57:53 +00:00
trybots_to_run Remove linux_shared from list of trybots to run, because that trybot disappeared in http://crrev.com/141759 2012-06-18 15:37:25 +00:00
DEPS Add JSON dependency to build. 2012-06-13 18:21:47 +00:00
Doxyfile Pointing to http://skia-autogen.googlecode.com/svn/docs/html/index.html in Doxyfile 2012-07-03 11:35:07 +00:00
gyp_skia gyp_skia: Fix module search path. 2012-07-30 16:48:13 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py Make "make gyp" work on Windows 2012-03-23 18:14:25 +00:00
Makefile Enable Compile Option to Build Android Executables 2012-07-18 14:59:54 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp Enable Compile Option to Build Android Executables 2012-07-18 14:59:54 +00:00
whitespace.txt Whitespace change to see if local bot triggers a rebuild 2012-08-01 13:30:54 +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