reed@android.com [Wed, 24 Feb 2010 22:08:58 +0000 (22:08 +0000)]
add unittests for map()
git-svn-id: http://skia.googlecode.com/svn/trunk@512
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 24 Feb 2010 17:16:35 +0000 (17:16 +0000)]
add localToGlobal and parents
git-svn-id: http://skia.googlecode.com/svn/trunk@511
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 24 Feb 2010 15:36:57 +0000 (15:36 +0000)]
add tests for translate, concat, scale
git-svn-id: http://skia.googlecode.com/svn/trunk@510
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 24 Feb 2010 02:01:23 +0000 (02:01 +0000)]
add DEBUG_LAYER_BOUNDS option to show layer bounds
git-svn-id: http://skia.googlecode.com/svn/trunk@509
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 24 Feb 2010 01:49:13 +0000 (01:49 +0000)]
add static Make methods to return rects
git-svn-id: http://skia.googlecode.com/svn/trunk@508
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Feb 2010 20:18:17 +0000 (20:18 +0000)]
implement inverse, determinant
git-svn-id: http://skia.googlecode.com/svn/trunk@507
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 22 Feb 2010 22:03:06 +0000 (22:03 +0000)]
update with better fps reporting
git-svn-id: http://skia.googlecode.com/svn/trunk@506
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 22 Feb 2010 19:50:13 +0000 (19:50 +0000)]
add FPSBench
git-svn-id: http://skia.googlecode.com/svn/trunk@505
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 22 Feb 2010 16:05:48 +0000 (16:05 +0000)]
explicitly pass bounds.top to the edgelist walker, so we don't leave any gaps
when the path is in an inverse fillmode, and its top or bottom are on a
fractional boundary. (thanks senorblanco)
git-svn-id: http://skia.googlecode.com/svn/trunk@504
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 19 Feb 2010 21:41:30 +0000 (21:41 +0000)]
more layers extracted from webkit
git-svn-id: http://skia.googlecode.com/svn/trunk@503
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Feb 2010 19:32:03 +0000 (19:32 +0000)]
update layers
git-svn-id: http://skia.googlecode.com/svn/trunk@502
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 12 Feb 2010 17:17:10 +0000 (17:17 +0000)]
add layers
git-svn-id: http://skia.googlecode.com/svn/trunk@501
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 11 Feb 2010 16:05:15 +0000 (16:05 +0000)]
update save/restore comments to mention that the drawFilter is also saved
add wrapper for harfbuzz font/fontclass
git-svn-id: http://skia.googlecode.com/svn/trunk@500
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 11 Feb 2010 13:56:04 +0000 (13:56 +0000)]
experimental draft, please ignore
git-svn-id: http://skia.googlecode.com/svn/trunk@499
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 11 Feb 2010 11:17:00 +0000 (11:17 +0000)]
doh - fix build
git-svn-id: http://skia.googlecode.com/svn/trunk@498
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 11 Feb 2010 11:09:39 +0000 (11:09 +0000)]
add Make to SkTSize
git-svn-id: http://skia.googlecode.com/svn/trunk@497
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 9 Feb 2010 19:18:38 +0000 (19:18 +0000)]
add unittest for copysign
git-svn-id: http://skia.googlecode.com/svn/trunk@496
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 9 Feb 2010 18:30:59 +0000 (18:30 +0000)]
add copysign for ints and floats
fix addArc to not wrap around if the sweepAngle is close to 360 but lost
precision when convert to radians (and then to unit vectors ala sin/cos)
git-svn-id: http://skia.googlecode.com/svn/trunk@495
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 9 Feb 2010 16:38:45 +0000 (16:38 +0000)]
add countPoints() and getPoint()
git-svn-id: http://skia.googlecode.com/svn/trunk@494
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 9 Feb 2010 13:06:29 +0000 (13:06 +0000)]
check bounder before lockPixels on the bitmap
git-svn-id: http://skia.googlecode.com/svn/trunk@493
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 9 Feb 2010 12:40:30 +0000 (12:40 +0000)]
add
git-svn-id: http://skia.googlecode.com/svn/trunk@492
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 8 Feb 2010 21:45:03 +0000 (21:45 +0000)]
use statictextviews to display coordinates in unitmapper
git-svn-id: http://skia.googlecode.com/svn/trunk@491
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 5 Feb 2010 23:08:20 +0000 (23:08 +0000)]
This patch allows the use of the native FreeType emboldening
algorithm when "fake bold" text is used in SkPaint.
It's enabled by #defining SK_USE_FREETYPE_EMBOLDEN.
Review URL: http://codereview.appspot.com/198077
git-svn-id: http://skia.googlecode.com/svn/trunk@490
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 5 Feb 2010 20:46:05 +0000 (20:46 +0000)]
respect edgetype in quickreject
git-svn-id: http://skia.googlecode.com/svn/trunk@489
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 5 Feb 2010 20:41:02 +0000 (20:41 +0000)]
add SkXRay geometry routines
git-svn-id: http://skia.googlecode.com/svn/trunk@488
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 5 Feb 2010 17:12:32 +0000 (17:12 +0000)]
add containsText() api
git-svn-id: http://skia.googlecode.com/svn/trunk@487
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 5 Feb 2010 15:43:07 +0000 (15:43 +0000)]
check for null cmap in libgif
support bounds-only in libjpeg even if we can't complete start_decompress
git-svn-id: http://skia.googlecode.com/svn/trunk@486
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 28 Jan 2010 21:34:33 +0000 (21:34 +0000)]
add some utils to SkPoint
git-svn-id: http://skia.googlecode.com/svn/trunk@485
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 28 Jan 2010 21:24:01 +0000 (21:24 +0000)]
update
git-svn-id: http://skia.googlecode.com/svn/trunk@484
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 27 Jan 2010 01:45:16 +0000 (01:45 +0000)]
add new experimental matrix
git-svn-id: http://skia.googlecode.com/svn/trunk@483
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 26 Jan 2010 16:10:19 +0000 (16:10 +0000)]
disable debug printfs for gamma table
git-svn-id: http://skia.googlecode.com/svn/trunk@482
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 25 Jan 2010 22:09:34 +0000 (22:09 +0000)]
remove -lfreetype for now
git-svn-id: http://skia.googlecode.com/svn/trunk@481
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 25 Jan 2010 22:09:16 +0000 (22:09 +0000)]
check for gl-canvas before calling GL
git-svn-id: http://skia.googlecode.com/svn/trunk@480
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 25 Jan 2010 22:03:25 +0000 (22:03 +0000)]
update with agl
git-svn-id: http://skia.googlecode.com/svn/trunk@479
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 25 Jan 2010 22:02:44 +0000 (22:02 +0000)]
update to try out programmable shaders
git-svn-id: http://skia.googlecode.com/svn/trunk@478
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 21 Jan 2010 18:04:44 +0000 (18:04 +0000)]
call skip in a loop to handle the case where the backing stream may be network
based, and will only block to fulfill the request after it has skipped its
current buffer.
git-svn-id: http://skia.googlecode.com/svn/trunk@477
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 21 Jan 2010 15:34:19 +0000 (15:34 +0000)]
refactor helper functions out of libjpeg wrapper
git-svn-id: http://skia.googlecode.com/svn/trunk@476
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Thu, 21 Jan 2010 11:43:44 +0000 (11:43 +0000)]
skia: Always use aliased text when antialiasing is disabled.
Otherwise, people who have antialiasing disabled end up with
subpixel rendering if the subpixel setting happens to be set
to something other than "none". This change's interpretation
of these overlapping settings seems to be consistent with
GTK's and Firefox's.
Patch-by: Dan Erat
Signed-off-by: Adam Langley
BUG=http://code.google.com/p/chromium/issues/detail?id=28382
http://codereview.appspot.com/186248
git-svn-id: http://skia.googlecode.com/svn/trunk@475
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 14 Jan 2010 00:24:12 +0000 (00:24 +0000)]
ICE fixes for arm
git-svn-id: http://skia.googlecode.com/svn/trunk@474
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 12 Jan 2010 22:58:35 +0000 (22:58 +0000)]
remove obsolete SK_BUILD_FOR_BREW conditional
git-svn-id: http://skia.googlecode.com/svn/trunk@473
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 8 Jan 2010 14:07:42 +0000 (14:07 +0000)]
add glyph->unichar query (inverse of a cmap)
git-svn-id: http://skia.googlecode.com/svn/trunk@472
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 8 Jan 2010 14:01:41 +0000 (14:01 +0000)]
fix memory leak
git-svn-id: http://skia.googlecode.com/svn/trunk@471
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Tue, 5 Jan 2010 01:19:44 +0000 (01:19 +0000)]
Add parens in order to make conditional correct.
I've been coding in Go too much and forgot that C is broken.
git-svn-id: http://skia.googlecode.com/svn/trunk@470
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Mon, 4 Jan 2010 23:56:43 +0000 (23:56 +0000)]
Fix r466 which was causing Chromium valgrind failures.
See the added comment for details.
TBR=reed (since it's a build fix)
git-svn-id: http://skia.googlecode.com/svn/trunk@469
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 4 Jan 2010 19:35:33 +0000 (19:35 +0000)]
Added a virtual to SkBounder, called by text, that passes
the glyph's ID as well as its bounds. Made the universal
doIRect() non-abstract so that a child class can override
either the general flavor or the text flavor.
git-svn-id: http://skia.googlecode.com/svn/trunk@468
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 4 Jan 2010 19:23:32 +0000 (19:23 +0000)]
chant __ARM_ARCH_4__ to __ARM_ARCH_4T__, to reflect known android targets
git-svn-id: http://skia.googlecode.com/svn/trunk@467
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Mon, 4 Jan 2010 18:27:55 +0000 (18:27 +0000)]
Add flag to enable bitmap strikes.
http://codereview.appspot.com/183096
git-svn-id: http://skia.googlecode.com/svn/trunk@466
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 21 Dec 2009 18:34:13 +0000 (18:34 +0000)]
add new file
git-svn-id: http://skia.googlecode.com/svn/trunk@465
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Fri, 18 Dec 2009 22:50:15 +0000 (22:50 +0000)]
Native client build fix.
Patch from David Sehr.
Signed-off-by: Adam Langley <agl@chromium.org>
http://codereview.appspot.com/180090
git-svn-id: http://skia.googlecode.com/svn/trunk@464
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Dec 2009 21:36:42 +0000 (21:36 +0000)]
update to include all files
git-svn-id: http://skia.googlecode.com/svn/trunk@463
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Dec 2009 21:34:16 +0000 (21:34 +0000)]
remove old file
git-svn-id: http://skia.googlecode.com/svn/trunk@462
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Dec 2009 21:33:39 +0000 (21:33 +0000)]
update windows port
git-svn-id: http://skia.googlecode.com/svn/trunk@461
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 16 Dec 2009 17:25:43 +0000 (17:25 +0000)]
initial checkin for visualstudio build support
git-svn-id: http://skia.googlecode.com/svn/trunk@460
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 14 Dec 2009 16:41:57 +0000 (16:41 +0000)]
fix repeat/mirror for new larger 16bit cache
update gm images
git-svn-id: http://skia.googlecode.com/svn/trunk@459
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 14 Dec 2009 15:25:36 +0000 (15:25 +0000)]
make the 16bit cache larger, to handle multiple colors in the gradient w/o
obvious artifacts. We need a more comprehensive fix for all gradients (32bit
and 16bit) when we have a large number of colors (or they are spaced out very
non-linearly), to avoid banding.
git-svn-id: http://skia.googlecode.com/svn/trunk@458
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Sat, 12 Dec 2009 00:06:17 +0000 (00:06 +0000)]
Initialise fDeviceCMDirty
http://codereview.appspot.com/176050
git-svn-id: http://skia.googlecode.com/svn/trunk@457
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Thu, 10 Dec 2009 22:46:31 +0000 (22:46 +0000)]
SSE2-ified S32_alpha_D32_filter_DX (refactoring to come). Also shaved a few
cycles off the SSE2 blends.
Review URL: http://codereview.appspot.com/171055
git-svn-id: http://skia.googlecode.com/svn/trunk@456
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 10 Dec 2009 21:13:00 +0000 (21:13 +0000)]
rebase the gm images, given the new chopping edgelist builder
git-svn-id: http://skia.googlecode.com/svn/trunk@455
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 10 Dec 2009 21:10:58 +0000 (21:10 +0000)]
Eenable new chopping edgelist builder by default. If it sticks well, I'll
remove the old code-path in a subsequent CL
git-svn-id: http://skia.googlecode.com/svn/trunk@454
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 8 Dec 2009 22:02:26 +0000 (22:02 +0000)]
reinstate the empty check, and always initialize the format field
git-svn-id: http://skia.googlecode.com/svn/trunk@453
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 4 Dec 2009 21:32:27 +0000 (21:32 +0000)]
add drawData() to canvas, to record data blobs
git-svn-id: http://skia.googlecode.com/svn/trunk@452
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 4 Dec 2009 19:53:28 +0000 (19:53 +0000)]
Fix warning (struct forward-declared as class).
Review URL: http://codereview.appspot.com/164061
git-svn-id: http://skia.googlecode.com/svn/trunk@451
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Wed, 2 Dec 2009 22:24:40 +0000 (22:24 +0000)]
Remove check for empty devPath
Removes check for empty devPath since it was causing an assertion failure on
Mac OS X when drawing small fonts within the browser action badges.
BUG=none
TEST=none
Patch by andybons1.
http://codereview.appspot.com/163056
git-svn-id: http://skia.googlecode.com/svn/trunk@450
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 1 Dec 2009 13:36:19 +0000 (13:36 +0000)]
Debug build fix (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@449
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 30 Nov 2009 20:00:29 +0000 (20:00 +0000)]
More SSE2 optimizations. This CL implements an SSE2 version of S32_bitmap_D32_filter_DX, and uses aligned loads and stores for dst, in all blending.
Review URL: http://codereview.appspot.com/157141
git-svn-id: http://skia.googlecode.com/svn/trunk@448
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 30 Nov 2009 12:48:33 +0000 (12:48 +0000)]
add unittest for IntersectLine, used by hairlines
git-svn-id: http://skia.googlecode.com/svn/trunk@447
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 25 Nov 2009 17:14:32 +0000 (17:14 +0000)]
Win32 build fix (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@446
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 23 Nov 2009 21:46:47 +0000 (21:46 +0000)]
outset the bounds if we're in hairline before quick-reject in SkDraw.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@445
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 23 Nov 2009 21:07:51 +0000 (21:07 +0000)]
add SampleCode::GetAnimTime() so slides go through a central location for
animation timing. This allows us to "freeze" time in order to do things like
draw multiple times to test clipping.
git-svn-id: http://skia.googlecode.com/svn/trunk@444
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 23 Nov 2009 20:10:41 +0000 (20:10 +0000)]
fix winding bug in lineclipper
expose path.dump() all the time
UP arrow now toggles a grid of clip rects in sample app
git-svn-id: http://skia.googlecode.com/svn/trunk@443
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sat, 21 Nov 2009 19:58:04 +0000 (19:58 +0000)]
doh. make the new S16 and U16 checkers inline
git-svn-id: http://skia.googlecode.com/svn/trunk@442
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sat, 21 Nov 2009 02:48:11 +0000 (02:48 +0000)]
add checks for exceeding 16bits, and apply those for glyphs in getMetrics()
git-svn-id: http://skia.googlecode.com/svn/trunk@441
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 20 Nov 2009 22:15:22 +0000 (22:15 +0000)]
change guard to use ANDROID and __arm__, so it doesn't break non-arm android
configs (e.g. simulator)
git-svn-id: http://skia.googlecode.com/svn/trunk@440
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 20 Nov 2009 18:55:44 +0000 (18:55 +0000)]
Build fix for WIN64 (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@439
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 20 Nov 2009 04:25:41 +0000 (04:25 +0000)]
Remove SK_USE_OLD_255_TO_256.
Review URL: http://codereview.appspot.com/156057/show.
git-svn-id: http://skia.googlecode.com/svn/trunk@438
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 19 Nov 2009 21:41:57 +0000 (21:41 +0000)]
fix index-out-of-range constant
git-svn-id: http://skia.googlecode.com/svn/trunk@437
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 19 Nov 2009 20:46:39 +0000 (20:46 +0000)]
retool clipping in hairlines to catch huge coordinates
git-svn-id: http://skia.googlecode.com/svn/trunk@436
2bbb7eff-a529-9590-31e7-
b0007b416f81
agl@chromium.org [Thu, 19 Nov 2009 03:21:57 +0000 (03:21 +0000)]
Exclude Android-only cpu-features.h from non-Android builds.
This is needed when building Chromium for ARM.
Patch by Joel Stanley <joel@chromium.org>
git-svn-id: http://skia.googlecode.com/svn/trunk@435
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 19 Nov 2009 03:02:38 +0000 (03:02 +0000)]
return early if we hit overflow when chopping on the left (i.e. the entire
segment is effectively to the left)
git-svn-id: http://skia.googlecode.com/svn/trunk@434
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 18 Nov 2009 17:43:10 +0000 (17:43 +0000)]
add impl for memset32
git-svn-id: http://skia.googlecode.com/svn/trunk@433
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 18 Nov 2009 16:09:51 +0000 (16:09 +0000)]
new scanconversion technique
This technique geometrically clips all segments against the clip bounds,
ensuring that we never send a value to the edgelist that might overflow in
fixedpoint.
Current disabled in SkScan_Path.cpp by a #define. There are a few minor pixel
differences between this and the old technique, as found by the gm tool, so
at the moment this new code is off by default.
git-svn-id: http://skia.googlecode.com/svn/trunk@432
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 18 Nov 2009 13:47:40 +0000 (13:47 +0000)]
fix typos in cubic clipper
git-svn-id: http://skia.googlecode.com/svn/trunk@431
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 17 Nov 2009 19:39:51 +0000 (19:39 +0000)]
add explicit clamping after chopping w/ t to ensure we're in the clip
git-svn-id: http://skia.googlecode.com/svn/trunk@430
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 17 Nov 2009 18:47:52 +0000 (18:47 +0000)]
add quadclipping utility, plus sample test
git-svn-id: http://skia.googlecode.com/svn/trunk@429
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 16 Nov 2009 21:09:00 +0000 (21:09 +0000)]
More SSE2-ification; fix for gcc -msse2.
Review URL: http://codereview.appspot.com/154163
git-svn-id: http://skia.googlecode.com/svn/trunk@428
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 16 Nov 2009 20:39:43 +0000 (20:39 +0000)]
add lineclipper, and test case
git-svn-id: http://skia.googlecode.com/svn/trunk@427
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 16 Nov 2009 14:52:01 +0000 (14:52 +0000)]
add onSendClickToChildren to views, so a view can capture all clicks.
speedup some of the unittests that were too slow
minor cleanup in SkScan_Path, in prep for larger changes
git-svn-id: http://skia.googlecode.com/svn/trunk@426
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 13 Nov 2009 19:00:49 +0000 (19:00 +0000)]
remove const modifiers on function return types (unneeded, and caused an error
on some gccs).
git-svn-id: http://skia.googlecode.com/svn/trunk@425
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 10 Nov 2009 17:58:47 +0000 (17:58 +0000)]
fix rotation around 2nd axis
git-svn-id: http://skia.googlecode.com/svn/trunk@424
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 10 Nov 2009 16:19:39 +0000 (16:19 +0000)]
flatten/unflatten custom fields for 2-point gradient
git-svn-id: http://skia.googlecode.com/svn/trunk@423
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 10 Nov 2009 15:54:55 +0000 (15:54 +0000)]
use imageref_globalpool in samplepicture, to test flattening bitmaps
git-svn-id: http://skia.googlecode.com/svn/trunk@422
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 9 Nov 2009 20:02:43 +0000 (20:02 +0000)]
Fix for gcc -fPIC build.
http://codereview.appspot.com/150060
git-svn-id: http://skia.googlecode.com/svn/trunk@421
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 9 Nov 2009 16:01:36 +0000 (16:01 +0000)]
update dox for SkAvoidXfermode (as best I could)
fix 565 and 4444 implementations
git-svn-id: http://skia.googlecode.com/svn/trunk@420
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 5 Nov 2009 21:04:00 +0000 (21:04 +0000)]
fix cheap calc of edgelist size
git-svn-id: http://skia.googlecode.com/svn/trunk@419
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 4 Nov 2009 20:51:06 +0000 (20:51 +0000)]
SSE2 optimizations for 32bit blending blitters.
This CL implements SSE2 optimizations for 3 of the 32bit blending blitters. It
uses CPUID to detect for SSE2 at runtime. In order to accomodate runtime
detection, it changes the platform procs from static arrays to static
functions.
It also includes an implementation of SkTime for Win32.
http://codereview.appspot.com/144072
git-svn-id: http://skia.googlecode.com/svn/trunk@418
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 4 Nov 2009 19:40:25 +0000 (19:40 +0000)]
default to not showing the (slow) overview slide: hit DELETE to invoke
git-svn-id: http://skia.googlecode.com/svn/trunk@417
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 3 Nov 2009 15:33:14 +0000 (15:33 +0000)]
add SkEvalCubicInterval
git-svn-id: http://skia.googlecode.com/svn/trunk@416
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 3 Nov 2009 04:00:48 +0000 (04:00 +0000)]
add OVerView slide to samplecode
change inline functions in SkColorPriv.h to static inline
git-svn-id: http://skia.googlecode.com/svn/trunk@415
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 30 Oct 2009 21:37:10 +0000 (21:37 +0000)]
disable bogus assert (at least until I can investigate more)
git-svn-id: http://skia.googlecode.com/svn/trunk@414
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 30 Oct 2009 18:50:23 +0000 (18:50 +0000)]
Makefile fix: Fix gm build for Linux.
Also add a rule to build assembly files from .cpp's.
http://codereview.appspot.com/143060
git-svn-id: http://skia.googlecode.com/svn/trunk@413
2bbb7eff-a529-9590-31e7-
b0007b416f81