platform/upstream/libSkiaSharp.git
14 years agocall skip in a loop to handle the case where the backing stream may be network
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

14 years agorefactor helper functions out of libjpeg wrapper
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

14 years agoskia: Always use aliased text when antialiasing is disabled.
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

14 years agoICE fixes for arm
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

14 years agoremove obsolete SK_BUILD_FOR_BREW conditional
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

14 years agoadd glyph->unichar query (inverse of a cmap)
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

14 years agofix memory leak
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

14 years agoAdd parens in order to make conditional correct.
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

14 years agoFix r466 which was causing Chromium valgrind failures.
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

14 years agoAdded a virtual to SkBounder, called by text, that passes
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

14 years agochant __ARM_ARCH_4__ to __ARM_ARCH_4T__, to reflect known android targets
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

14 years agoAdd flag to enable bitmap strikes.
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

14 years agoadd new file
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

14 years agoNative client build fix.
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

14 years agoupdate to include all files
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

14 years agoremove old file
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

14 years agoupdate windows port
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

14 years agoinitial checkin for visualstudio build support
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

14 years agofix repeat/mirror for new larger 16bit cache
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

14 years agomake the 16bit cache larger, to handle multiple colors in the gradient w/o
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

14 years agoInitialise fDeviceCMDirty
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

14 years agoSSE2-ified S32_alpha_D32_filter_DX (refactoring to come). Also shaved a few
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

14 years agorebase the gm images, given the new chopping edgelist builder
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

14 years agoEenable new chopping edgelist builder by default. If it sticks well, I'll
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

14 years agoreinstate the empty check, and always initialize the format field
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

14 years agoadd drawData() to canvas, to record data blobs
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

14 years agoFix warning (struct forward-declared as class).
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

14 years agoRemove check for empty devPath
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

14 years agoDebug build fix (unreviewed).
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

14 years agoMore SSE2 optimizations. This CL implements an SSE2 version of S32_bitmap_D32_filter...
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

14 years agoadd unittest for IntersectLine, used by hairlines
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

14 years agoWin32 build fix (unreviewed).
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

14 years agooutset the bounds if we're in hairline before quick-reject in SkDraw.cpp
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

14 years agoadd SampleCode::GetAnimTime() so slides go through a central location for
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

14 years agofix winding bug in lineclipper
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

14 years agodoh. make the new S16 and U16 checkers inline
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

14 years agoadd checks for exceeding 16bits, and apply those for glyphs in getMetrics()
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

14 years agochange guard to use ANDROID and __arm__, so it doesn't break non-arm android
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

14 years agoBuild fix for WIN64 (unreviewed).
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

14 years agoRemove SK_USE_OLD_255_TO_256.
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

14 years agofix index-out-of-range constant
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

14 years agoretool clipping in hairlines to catch huge coordinates
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

14 years agoExclude Android-only cpu-features.h from non-Android builds.
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

14 years agoreturn early if we hit overflow when chopping on the left (i.e. the entire
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

14 years agoadd impl for memset32
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

14 years agonew scanconversion technique
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

14 years agofix typos in cubic clipper
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

14 years agoadd explicit clamping after chopping w/ t to ensure we're in the clip
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

14 years agoadd quadclipping utility, plus sample test
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

14 years agoMore SSE2-ification; fix for gcc -msse2.
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

14 years agoadd lineclipper, and test case
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

14 years agoadd onSendClickToChildren to views, so a view can capture all clicks.
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

14 years agoremove const modifiers on function return types (unneeded, and caused an error
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

14 years agofix rotation around 2nd axis
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

14 years agoflatten/unflatten custom fields for 2-point gradient
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

14 years agouse imageref_globalpool in samplepicture, to test flattening bitmaps
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

14 years agoFix for gcc -fPIC build.
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

14 years agoupdate dox for SkAvoidXfermode (as best I could)
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

14 years agofix cheap calc of edgelist size
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

14 years agoSSE2 optimizations for 32bit blending blitters.
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

14 years agodefault to not showing the (slow) overview slide: hit DELETE to invoke
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

14 years agoadd SkEvalCubicInterval
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

14 years agoadd OVerView slide to samplecode
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

14 years agodisable bogus assert (at least until I can investigate more)
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

14 years agoMakefile fix: Fix gm build for Linux.
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

14 years agorename gamma to table, since it is more general than just gamma
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

14 years agoadd gamma maskfilter, especially nice when applied after a blur
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

14 years agomove boundarypatch into utils
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

14 years agoupdate on boundary patches
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

14 years agoadd shaderproc32 for index bitmaps. neon version of 32->16+dither
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

14 years agoadd boundary patch experiment
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

14 years agoremove check for filtering. Now if the src is opaque, the filtered result
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

14 years agofix S32A_D565_Blend_neon
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

14 years agofix quadclipper in the case that the chop function fails
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

14 years agoclear xfermode in paint to reflect that we saw it was srcover
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

14 years agofirst cut at a checkbox
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

14 years agofirst cut at rubber-sheet warping
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

14 years agochange .css files to have text/css mimetype
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

14 years agoupdate mimetype to text/html
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

14 years agoinitial cut at doxygen
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

14 years agomotorola neon patch for blitMask, used in text drawing
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

14 years agoexperiment
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

14 years agoenable neon opts from motorola for perspective
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

14 years agodisable one proc until we fix its handling of src-alpha==0
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

14 years agoadd opaque -vs- alpha bitmap cases
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

14 years agooops, make it actually compile with correct headers
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

14 years agoadd -forceDither option to bench (it is tristate)
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

14 years agoadd android-specific tweaks to vary the amount of tmp ram allocated
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

14 years agoclean up fix to drawBitmapRect
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

14 years agofix drawBitmapRect to not clip the src rect when computing the matrix
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

14 years agodon't force bitmapIsOpaque to false if we're instrinsically 16bit
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

14 years agochange projects to just run with curren-os sdk, in prep for snow-lepard
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

14 years agofix new warnings from gcc 4.2
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

14 years agorequire expat to use with animator
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

14 years agoadd xcode project
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

14 years agoanimator tests
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

14 years agocheck-point for reviving animator
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

14 years agoadd new cubic test for overflow
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

14 years agoadd sample for text rasterizer
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

14 years agocapture drawings to png
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