skia2/include
mdempsky 07ed41fa40 Fix possible integer overflow in SkTSearch's midpoint calculation
Probably unlikely to matter in practice, but SkTQSort calculates its
midpoint correctly, so we might as well do it here too.  For more
background, see Joshua Bloch's "Nearly All Binary Searches and
Mergesorts are Broken" post:
http://googleresearch.blogspot.ru/2006/06/extra-extra-read-all-about-it-nearly.html

This doesn't change any public API.
TBR=reed@google.com

Review URL: https://codereview.chromium.org/1362613002
2015-09-22 10:32:02 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c Documentation: C API comments 2015-09-01 10:45:09 -07:00
codec Scanline decoding for bmp 2015-08-31 06:55:13 -07:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core Fix possible integer overflow in SkTSearch's midpoint calculation 2015-09-22 10:32:02 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects Create fragment processor for performing input color blend with child processor 2015-09-15 15:33:27 -07:00
gpu Replace GrExtractAlphaFragmentProcessor with DstIn compose processor 2015-09-22 06:42:00 -07:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
pipe Fixing leaky handling of SkImage in SkDeferredCanvas. 2015-06-02 11:47:45 -07:00
ports Add subtract to atomics. 2015-09-16 07:46:17 -07:00
private Specialize SkOncePtr<T[]>. 2015-09-09 10:00:22 -07:00
svg Remove SK_OFFSETOF from SkTypes, clean up offsetof usage. 2015-08-25 12:05:55 -07:00
utils Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
views Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
xml Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00