reed@android.com
872057a460
add new experimental matrix
...
git-svn-id: http://skia.googlecode.com/svn/trunk@483 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-27 01:45:16 +00:00
reed@android.com
afd599ad34
disable debug printfs for gamma table
...
git-svn-id: http://skia.googlecode.com/svn/trunk@482 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-26 16:10:19 +00:00
reed@android.com
9c28525f3a
remove -lfreetype for now
...
git-svn-id: http://skia.googlecode.com/svn/trunk@481 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-25 22:09:34 +00:00
reed@android.com
1eadb955be
check for gl-canvas before calling GL
...
git-svn-id: http://skia.googlecode.com/svn/trunk@480 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-25 22:09:16 +00:00
reed@android.com
e83b532b2b
update with agl
...
git-svn-id: http://skia.googlecode.com/svn/trunk@479 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-25 22:03:25 +00:00
reed@android.com
04d86c6a6b
update to try out programmable shaders
...
git-svn-id: http://skia.googlecode.com/svn/trunk@478 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-25 22:02:44 +00:00
reed@android.com
b8fd84b803
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
2010-01-21 18:04:44 +00:00
reed@android.com
6f59815b3d
refactor helper functions out of libjpeg wrapper
...
git-svn-id: http://skia.googlecode.com/svn/trunk@476 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-21 15:34:19 +00:00
agl@chromium.org
b4234a2266
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
2010-01-21 11:43:44 +00:00
reed@android.com
d7a0083aaa
ICE fixes for arm
...
git-svn-id: http://skia.googlecode.com/svn/trunk@474 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-14 00:24:12 +00:00
reed@android.com
ec10d21eb9
remove obsolete SK_BUILD_FOR_BREW conditional
...
git-svn-id: http://skia.googlecode.com/svn/trunk@473 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-12 22:58:35 +00:00
reed@android.com
9d3a985aa3
add glyph->unichar query (inverse of a cmap)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@472 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-08 14:07:42 +00:00
reed@android.com
d0a529d028
fix memory leak
...
git-svn-id: http://skia.googlecode.com/svn/trunk@471 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-08 14:01:41 +00:00
agl@chromium.org
99e1b90d5b
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
2010-01-05 01:19:44 +00:00
agl@chromium.org
13c8558e37
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
2010-01-04 23:56:43 +00:00
reed@android.com
474a12c497
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
2010-01-04 19:35:33 +00:00
reed@android.com
69975b0fce
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
2010-01-04 19:23:32 +00:00
agl@chromium.org
e95c91e6d9
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
2010-01-04 18:27:55 +00:00
reed@android.com
030d8e68e2
add new file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@465 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-21 18:34:13 +00:00
agl@chromium.org
55747ccdfb
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
2009-12-18 22:50:15 +00:00
reed@android.com
19061bab94
update to include all files
...
git-svn-id: http://skia.googlecode.com/svn/trunk@463 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-18 21:36:42 +00:00
reed@android.com
e51daa756c
remove old file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@462 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-18 21:34:16 +00:00
reed@android.com
e191b16fda
update windows port
...
git-svn-id: http://skia.googlecode.com/svn/trunk@461 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-18 21:33:39 +00:00
reed@android.com
63debae4c1
initial checkin for visualstudio build support
...
git-svn-id: http://skia.googlecode.com/svn/trunk@460 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-16 17:25:43 +00:00
reed@android.com
200645d50e
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
2009-12-14 16:41:57 +00:00
reed@android.com
512a87641f
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
2009-12-14 15:25:36 +00:00
agl@chromium.org
447bcfa889
Initialise fDeviceCMDirty
...
http://codereview.appspot.com/176050
git-svn-id: http://skia.googlecode.com/svn/trunk@457 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-12 00:06:17 +00:00
senorblanco@chromium.org
f3f0bd71b8
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
2009-12-10 22:46:31 +00:00
reed@android.com
c6a3cd63ba
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
2009-12-10 21:13:00 +00:00
reed@android.com
59ed9f6c85
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
2009-12-10 21:10:58 +00:00
reed@android.com
b757f8d20c
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
2009-12-08 22:02:26 +00:00
reed@android.com
cb60844b34
add drawData() to canvas, to record data blobs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@452 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-04 21:32:27 +00:00
senorblanco@chromium.org
b1501a3cde
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
2009-12-04 19:53:28 +00:00
agl@chromium.org
297a11cbc6
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
2009-12-02 22:24:40 +00:00
senorblanco@chromium.org
aa4f0c682d
Debug build fix (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@449 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-12-01 13:36:19 +00:00
senorblanco@chromium.org
dc7de745dd
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
2009-11-30 20:00:29 +00:00
reed@android.com
a3d901099d
add unittest for IntersectLine, used by hairlines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@447 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-30 12:48:33 +00:00
senorblanco@chromium.org
7767cd87fd
Win32 build fix (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@446 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-25 17:14:32 +00:00
reed@android.com
55e76b209c
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
2009-11-23 21:46:47 +00:00
reed@android.com
4417740a48
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
2009-11-23 21:07:51 +00:00
reed@android.com
e522ca5d5f
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
2009-11-23 20:10:41 +00:00
reed@android.com
90209caa68
doh. make the new S16 and U16 checkers inline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@442 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-21 19:58:04 +00:00
reed@android.com
d457775787
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
2009-11-21 02:48:11 +00:00
reed@android.com
8d52841110
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
2009-11-20 22:15:22 +00:00
senorblanco@chromium.org
0c547bca50
Build fix for WIN64 (unreviewed).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@439 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-20 18:55:44 +00:00
senorblanco@chromium.org
9a62fa7052
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
2009-11-20 04:25:41 +00:00
reed@android.com
3f0785e0c6
fix index-out-of-range constant
...
git-svn-id: http://skia.googlecode.com/svn/trunk@437 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-19 21:41:57 +00:00
reed@android.com
e28ff55d98
retool clipping in hairlines to catch huge coordinates
...
git-svn-id: http://skia.googlecode.com/svn/trunk@436 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-11-19 20:46:39 +00:00
agl@chromium.org
28bee9591d
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
2009-11-19 03:21:57 +00:00
reed@android.com
181172d564
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
2009-11-19 03:02:38 +00:00