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
reed@android.com [Thu, 29 Oct 2009 17:37:56 +0000 (17:37 +0000)]
rename gamma to table, since it is more general than just gamma
git-svn-id: http://skia.googlecode.com/svn/trunk@412
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 29 Oct 2009 15:19:10 +0000 (15:19 +0000)]
add gamma maskfilter, especially nice when applied after a blur
git-svn-id: http://skia.googlecode.com/svn/trunk@411
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 28 Oct 2009 14:27:20 +0000 (14:27 +0000)]
move boundarypatch into utils
git-svn-id: http://skia.googlecode.com/svn/trunk@410
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 28 Oct 2009 14:25:34 +0000 (14:25 +0000)]
update on boundary patches
git-svn-id: http://skia.googlecode.com/svn/trunk@409
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 27 Oct 2009 17:49:32 +0000 (17:49 +0000)]
add shaderproc32 for index bitmaps. neon version of 32->16+dither
git-svn-id: http://skia.googlecode.com/svn/trunk@408
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 27 Oct 2009 02:24:03 +0000 (02:24 +0000)]
add boundary patch experiment
git-svn-id: http://skia.googlecode.com/svn/trunk@407
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 26 Oct 2009 19:15:43 +0000 (19:15 +0000)]
remove check for filtering. Now if the src is opaque, the filtered result
always will be too.
git-svn-id: http://skia.googlecode.com/svn/trunk@406
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Oct 2009 20:26:53 +0000 (20:26 +0000)]
fix S32A_D565_Blend_neon
git-svn-id: http://skia.googlecode.com/svn/trunk@405
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Oct 2009 18:11:06 +0000 (18:11 +0000)]
fix quadclipper in the case that the chop function fails
If the chopper fails, then we've hit some numerical edge-case, which indicates
that the quad is just barely crossing the edge, so to handle that, we just
clamp the Y values to the edge. This distorts the quad, but only in the case
when 99% of the quad will not be affected.
git-svn-id: http://skia.googlecode.com/svn/trunk@404
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Oct 2009 16:50:05 +0000 (16:50 +0000)]
clear xfermode in paint to reflect that we saw it was srcover
This allows our asserts in the RGB16 blitter chooser to pass.
git-svn-id: http://skia.googlecode.com/svn/trunk@403
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 21 Oct 2009 19:41:10 +0000 (19:41 +0000)]
first cut at a checkbox
git-svn-id: http://skia.googlecode.com/svn/trunk@402
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 21:27:15 +0000 (21:27 +0000)]
first cut at rubber-sheet warping
git-svn-id: http://skia.googlecode.com/svn/trunk@401
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 18:06:24 +0000 (18:06 +0000)]
change .css files to have text/css mimetype
git-svn-id: http://skia.googlecode.com/svn/trunk@400
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 18:01:28 +0000 (18:01 +0000)]
update mimetype to text/html
git-svn-id: http://skia.googlecode.com/svn/trunk@399
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 15:22:33 +0000 (15:22 +0000)]
initial cut at doxygen
git-svn-id: http://skia.googlecode.com/svn/trunk@398
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 13:55:41 +0000 (13:55 +0000)]
motorola neon patch for blitMask, used in text drawing
git-svn-id: http://skia.googlecode.com/svn/trunk@397
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 20 Oct 2009 03:26:17 +0000 (03:26 +0000)]
experiment
git-svn-id: http://skia.googlecode.com/svn/trunk@396
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 19:56:37 +0000 (19:56 +0000)]
enable neon opts from motorola for perspective
git-svn-id: http://skia.googlecode.com/svn/trunk@395
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 19:51:17 +0000 (19:51 +0000)]
disable one proc until we fix its handling of src-alpha==0
git-svn-id: http://skia.googlecode.com/svn/trunk@394
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 19:01:45 +0000 (19:01 +0000)]
add opaque -vs- alpha bitmap cases
git-svn-id: http://skia.googlecode.com/svn/trunk@393
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 18:13:18 +0000 (18:13 +0000)]
oops, make it actually compile with correct headers
git-svn-id: http://skia.googlecode.com/svn/trunk@392
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 17:39:46 +0000 (17:39 +0000)]
add -forceDither option to bench (it is tristate)
update neon optimizations from motorola
git-svn-id: http://skia.googlecode.com/svn/trunk@391
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Oct 2009 15:51:15 +0000 (15:51 +0000)]
add android-specific tweaks to vary the amount of tmp ram allocated
git-svn-id: http://skia.googlecode.com/svn/trunk@390
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 16 Oct 2009 14:48:38 +0000 (14:48 +0000)]
clean up fix to drawBitmapRect
git-svn-id: http://skia.googlecode.com/svn/trunk@388
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 15 Oct 2009 18:51:46 +0000 (18:51 +0000)]
fix drawBitmapRect to not clip the src rect when computing the matrix
git-svn-id: http://skia.googlecode.com/svn/trunk@387
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Oct 2009 21:06:29 +0000 (21:06 +0000)]
don't force bitmapIsOpaque to false if we're instrinsically 16bit
This allows us to take more optimal paths, even when filtering or dithering
git-svn-id: http://skia.googlecode.com/svn/trunk@386
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Oct 2009 09:59:25 +0000 (09:59 +0000)]
change projects to just run with curren-os sdk, in prep for snow-lepard
fix fprintf warning
git-svn-id: http://skia.googlecode.com/svn/trunk@385
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Oct 2009 09:36:25 +0000 (09:36 +0000)]
fix new warnings from gcc 4.2
git-svn-id: http://skia.googlecode.com/svn/trunk@384
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Oct 2009 18:04:58 +0000 (18:04 +0000)]
require expat to use with animator
git-svn-id: http://skia.googlecode.com/svn/trunk@383
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Oct 2009 13:50:37 +0000 (13:50 +0000)]
add xcode project
git-svn-id: http://skia.googlecode.com/svn/trunk@382
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Oct 2009 13:33:53 +0000 (13:33 +0000)]
animator tests
git-svn-id: http://skia.googlecode.com/svn/trunk@381
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Oct 2009 13:33:16 +0000 (13:33 +0000)]
check-point for reviving animator
git-svn-id: http://skia.googlecode.com/svn/trunk@380
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Oct 2009 13:31:27 +0000 (13:31 +0000)]
add new cubic test for overflow
git-svn-id: http://skia.googlecode.com/svn/trunk@379
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 12 Oct 2009 17:02:22 +0000 (17:02 +0000)]
add sample for text rasterizer
git-svn-id: http://skia.googlecode.com/svn/trunk@378
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 6 Oct 2009 21:19:18 +0000 (21:19 +0000)]
capture drawings to png
git-svn-id: http://skia.googlecode.com/svn/trunk@377
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 2 Oct 2009 19:11:02 +0000 (19:11 +0000)]
cache expanded rawcolor16
add special blitv for opaque16, as this is called a lot on short segments so
any startup overhead makes a difference
git-svn-id: http://skia.googlecode.com/svn/trunk@376
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 2 Oct 2009 16:37:46 +0000 (16:37 +0000)]
oops, restore previous fix to saveLayer calling through to save()
git-svn-id: http://skia.googlecode.com/svn/trunk@375
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 2 Oct 2009 16:34:57 +0000 (16:34 +0000)]
move factory for 565 into its own file
git-svn-id: http://skia.googlecode.com/svn/trunk@374
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 1 Oct 2009 19:16:39 +0000 (19:16 +0000)]
don't call through to the inherited saveLayer, but just call save during record
git-svn-id: http://skia.googlecode.com/svn/trunk@373
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 29 Sep 2009 19:30:05 +0000 (19:30 +0000)]
disable perspective-no-filter until we can fix the out-of-range indices
git-svn-id: http://skia.googlecode.com/svn/trunk@372
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 28 Sep 2009 16:12:48 +0000 (16:12 +0000)]
fix base linux build, adding freetype support
git-svn-id: http://skia.googlecode.com/svn/trunk@371
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sun, 27 Sep 2009 20:41:46 +0000 (20:41 +0000)]
add FilterRec() so it links again
git-svn-id: http://skia.googlecode.com/svn/trunk@370
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 24 Sep 2009 20:06:03 +0000 (20:06 +0000)]
use real strtof and snprintf to parse and dump floats
git-svn-id: http://skia.googlecode.com/svn/trunk@369
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 24 Sep 2009 17:21:05 +0000 (17:21 +0000)]
record dither setting so we can replay it when we (re)decode
git-svn-id: http://skia.googlecode.com/svn/trunk@368
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 23 Sep 2009 18:48:10 +0000 (18:48 +0000)]
update for blitrow_d32 procs
git-svn-id: http://skia.googlecode.com/svn/trunk@367
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 23 Sep 2009 15:06:10 +0000 (15:06 +0000)]
add BlitRow procs for 32->32, to allow for neon and other optimizations.
call these new procs in (nearly) all the places we had inlined loops before.
In once instance (blitter_argb32::blitAntiH) we get different results by a
tiny bit. The new code is more accurate, and exactly inline with all of the
other like-minded blits, so I think the change is good going forward.
git-svn-id: http://skia.googlecode.com/svn/trunk@366
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 23 Sep 2009 00:43:53 +0000 (00:43 +0000)]
don't put the class name in front of the method
git-svn-id: http://skia.googlecode.com/svn/trunk@365
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 22 Sep 2009 20:24:05 +0000 (20:24 +0000)]
clear the kHasSpan16 bit for two-point-radial, since we don't implement that
fix perspective loop x (dstX)
git-svn-id: http://skia.googlecode.com/svn/trunk@364
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 22 Sep 2009 20:14:42 +0000 (20:14 +0000)]
update sample to use new two-point-radial gradients from senorblanco!!!
git-svn-id: http://skia.googlecode.com/svn/trunk@363
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 22 Sep 2009 19:53:52 +0000 (19:53 +0000)]
update golden-master images for tilemodes, after the blur code (used for the
labels) was updated.
git-svn-id: http://skia.googlecode.com/svn/trunk@362
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 22 Sep 2009 17:25:29 +0000 (17:25 +0000)]
Two-point radial gradient implementation.
Review URL: http://codereview.appspot.com/112058
git-svn-id: http://skia.googlecode.com/svn/trunk@361
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 21 Sep 2009 16:01:32 +0000 (16:01 +0000)]
#if 0 test code for blur, since it references a private header
git-svn-id: http://skia.googlecode.com/svn/trunk@360
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 21 Sep 2009 00:27:39 +0000 (00:27 +0000)]
add tests for blurmask
git-svn-id: http://skia.googlecode.com/svn/trunk@359
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 21 Sep 2009 00:27:08 +0000 (00:27 +0000)]
fix sumbuffer to initialize its top and left colum/row with zeros. Without this fix we were
effectively chopping off the top row of pixels when we computed a blur.
git-svn-id: http://skia.googlecode.com/svn/trunk@358
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Sep 2009 20:57:05 +0000 (20:57 +0000)]
update with tests for blur
git-svn-id: http://skia.googlecode.com/svn/trunk@357
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Sep 2009 13:41:56 +0000 (13:41 +0000)]
use rowbytes instead of bounds.width()
git-svn-id: http://skia.googlecode.com/svn/trunk@356
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 18 Sep 2009 13:38:43 +0000 (13:38 +0000)]
more float/double precision tweaks
git-svn-id: http://skia.googlecode.com/svn/trunk@355
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 16 Sep 2009 17:00:17 +0000 (17:00 +0000)]
use doubles in matrix.invert() to keep more precision, needed for subtle
bugs when drawing stretched bitmaps (like ninepatch) at nasty scale factors
like 1.5 (where the inverse matrix steps 0.333333, 1.0, 1.666667, etc.)
git-svn-id: http://skia.googlecode.com/svn/trunk@354
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 15 Sep 2009 14:10:42 +0000 (14:10 +0000)]
add neon opts for matrix procs
git-svn-id: http://skia.googlecode.com/svn/trunk@353
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 3 Sep 2009 21:45:49 +0000 (21:45 +0000)]
don't magically convert to hairline unless we're < 1.0 in both X and Y. The new routine both checks,
and if legal, returns the new width which will be used to compute a modulated alpha.
git-svn-id: http://skia.googlecode.com/svn/trunk@352
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 2 Sep 2009 21:12:42 +0000 (21:12 +0000)]
add decode bench
add dictionary for bench tools to see optional cmdline args
git-svn-id: http://skia.googlecode.com/svn/trunk@351
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 2 Sep 2009 21:11:44 +0000 (21:11 +0000)]
update
git-svn-id: http://skia.googlecode.com/svn/trunk@350
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 2 Sep 2009 02:07:45 +0000 (02:07 +0000)]
add
git-svn-id: http://skia.googlecode.com/svn/trunk@349
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 2 Sep 2009 02:07:32 +0000 (02:07 +0000)]
more unittests (already found/fixed some bugs)
git-svn-id: http://skia.googlecode.com/svn/trunk@348
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 1 Sep 2009 21:00:44 +0000 (21:00 +0000)]
rename std words to be UPPER CASE (ugh)
add initial unittests for std words (more to do)
git-svn-id: http://skia.googlecode.com/svn/trunk@347
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 31 Aug 2009 21:04:24 +0000 (21:04 +0000)]
add tests for extractAlpha
git-svn-id: http://skia.googlecode.com/svn/trunk@346
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 31 Aug 2009 18:04:51 +0000 (18:04 +0000)]
add missing files
git-svn-id: http://skia.googlecode.com/svn/trunk@345
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sun, 30 Aug 2009 03:24:51 +0000 (03:24 +0000)]
add boolean tests and IF/ELSE/END
git-svn-id: http://skia.googlecode.com/svn/trunk@344
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sat, 29 Aug 2009 21:30:25 +0000 (21:30 +0000)]
experimental hack to write a forth engine to drive skia
git-svn-id: http://skia.googlecode.com/svn/trunk@343
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sat, 29 Aug 2009 20:33:39 +0000 (20:33 +0000)]
return noErr in clickhandler, so we can get mousemoved events
git-svn-id: http://skia.googlecode.com/svn/trunk@342
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 28 Aug 2009 20:06:54 +0000 (20:06 +0000)]
http://code.google.com/p/skia/issues/detail?id=32
Detect when we no longer have a valid range for chopping due to finite float
precision, and just return a degenerate cubic at the end.
git-svn-id: http://skia.googlecode.com/svn/trunk@341
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 28 Aug 2009 15:34:46 +0000 (15:34 +0000)]
fix gaps in antialiased hairlines (thanks to preda)
expand SampleHairline text to check for clip violations
git-svn-id: http://skia.googlecode.com/svn/trunk@340
2bbb7eff-a529-9590-31e7-
b0007b416f81