reed@android.com
ca77697a9b
call premultiply instead of pack32
...
git-svn-id: http://skia.googlecode.com/svn/trunk@545 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-13 14:03:27 +00:00
reed@android.com
337d42626b
remove obsolete header
...
git-svn-id: http://skia.googlecode.com/svn/trunk@544 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-13 13:40:58 +00:00
reed@android.com
573a42d025
fix paraens to avoid warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@543 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-13 13:36:20 +00:00
reed@android.com
9aa8b32233
add SKIA_VERSION_[MAJOR, MINOR, PATCH] in header and SkGraphics API
...
git-svn-id: http://skia.googlecode.com/svn/trunk@542 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-13 13:22:54 +00:00
reed@android.com
2687ae05cb
add more MakeFoo factories for SkRect
...
git-svn-id: http://skia.googlecode.com/svn/trunk@541 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-12 21:21:59 +00:00
reed@android.com
1c0c5a0a52
fix refcnt for streams
...
git-svn-id: http://skia.googlecode.com/svn/trunk@540 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-12 20:16:49 +00:00
reed@android.com
6413e79414
add skhello for simple hello-world sample code
...
git-svn-id: http://skia.googlecode.com/svn/trunk@539 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-12 14:27:37 +00:00
anatoly@google.com
a956e4fe2e
Use hairline when line width <= 1.0, instead of < 1.0.
...
This speeds line drawing up considerably when drawing with
default linewidth on canvas.
Review: http://codereview.appspot.com/883047/show
git-svn-id: http://skia.googlecode.com/svn/trunk@538 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-12 13:51:28 +00:00
reed@android.com
229d9b3953
ray fixes neon for dither and blend
...
git-svn-id: http://skia.googlecode.com/svn/trunk@537 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-09 18:44:46 +00:00
reed@android.com
5469607a00
add
...
git-svn-id: http://skia.googlecode.com/svn/trunk@536 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-08 18:48:12 +00:00
reed@android.com
a4e5ed854a
add
...
git-svn-id: http://skia.googlecode.com/svn/trunk@535 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-08 18:43:22 +00:00
reed@android.com
735b790150
fix dither-to-4444 to keep the alpha value >= colors
...
git-svn-id: http://skia.googlecode.com/svn/trunk@534 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-04-06 21:03:33 +00:00
reed@android.com
b641c9f20b
if we're strokeandfill+hairline, just draw fill (they way paths do) instead
...
of just hairline stroking (bad)
git-svn-id: http://skia.googlecode.com/svn/trunk@533 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-25 14:31:46 +00:00
reed@android.com
8381e007dc
add inherit-from-root-transform flag (for fixed-positioning)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@532 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-23 20:10:46 +00:00
reed@android.com
e88f551b38
use 64bit intermediate to accumulate 16.16 widths, to avoid overflow
...
git-svn-id: http://skia.googlecode.com/svn/trunk@531 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-19 14:42:28 +00:00
reed@android.com
9f8f48e9e4
update blitrow test to exercise different widths for blitrow
...
git-svn-id: http://skia.googlecode.com/svn/trunk@530 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-15 20:48:02 +00:00
reed@android.com
370eeeb032
improve precision for blend
...
git-svn-id: http://skia.googlecode.com/svn/trunk@529 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-12 19:23:27 +00:00
reed@android.com
fffe48f4ac
Disable 32A->565+dither neon, since it gives different results between its
...
8-at-a-time loop (neon), and its < 8 residual loop. If we can unify the output,
I would love to reinstate this.
git-svn-id: http://skia.googlecode.com/svn/trunk@528 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-12 18:14:36 +00:00
reed@android.com
5b81535014
only report hasspan16 if we're opaque, otherwise we get a different blend
...
via 565 than the 8888 case
git-svn-id: http://skia.googlecode.com/svn/trunk@527 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-11 22:20:43 +00:00
reed@android.com
8f073382bb
fix off-by-1 in alpha in colorshader setup
...
don't promise HasSpan16 if we're supposed to dither
git-svn-id: http://skia.googlecode.com/svn/trunk@526 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-11 21:56:16 +00:00
reed@android.com
8e4c93b04c
disable 32A->565 + alpha for now, until it handles src-alpha==0 as a noop
...
git-svn-id: http://skia.googlecode.com/svn/trunk@525 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-09 15:21:28 +00:00
reed@android.com
1db89dc9a5
update tests for blitrow
...
git-svn-id: http://skia.googlecode.com/svn/trunk@524 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-08 22:00:55 +00:00
reed@android.com
78cd10529b
add tests for blitting all opaque or all transparent (test opts)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@523 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-08 20:23:57 +00:00
reed@android.com
15161620be
handle NaN in curve choppers and edgeclipper
...
git-svn-id: http://skia.googlecode.com/svn/trunk@522 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-08 17:44:42 +00:00
reed@android.com
a6efe06904
document the return value of append()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@521 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-05 18:46:37 +00:00
reed@android.com
2295c63325
update android specific RAM restrictions
...
git-svn-id: http://skia.googlecode.com/svn/trunk@520 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-04 21:38:50 +00:00
reed@android.com
3f1f06a26b
add optional pref-config table to codecs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@519 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-03 21:04:12 +00:00
reed@android.com
8de2e6de5b
add kNONE_LCDOrder for screens with no recognizable rgb order
...
git-svn-id: http://skia.googlecode.com/svn/trunk@518 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-02 19:56:53 +00:00
reed@android.com
faea3551fe
update for new fonts
...
git-svn-id: http://skia.googlecode.com/svn/trunk@517 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-02 19:50:40 +00:00
reed@android.com
d055c1fde2
convert matrix <--> matrix44
...
add glyphrec to bounder
git-svn-id: http://skia.googlecode.com/svn/trunk@516 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-01 14:54:05 +00:00
reed@android.com
85f9e1a0ad
more vector4 methods
...
git-svn-id: http://skia.googlecode.com/svn/trunk@515 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-03-01 01:10:10 +00:00
reed@android.com
940584d300
don't abort drawing based on layer size
...
git-svn-id: http://skia.googlecode.com/svn/trunk@514 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-26 22:04:15 +00:00
reed@android.com
38203fb491
add rotation
...
git-svn-id: http://skia.googlecode.com/svn/trunk@513 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-26 21:45:49 +00:00
reed@android.com
b5d0f7bd47
add unittests for map()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@512 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-24 22:08:58 +00:00
reed@android.com
745bfbd74d
add localToGlobal and parents
...
git-svn-id: http://skia.googlecode.com/svn/trunk@511 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-24 17:16:35 +00:00
reed@android.com
c8c49c573b
add tests for translate, concat, scale
...
git-svn-id: http://skia.googlecode.com/svn/trunk@510 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-24 15:36:57 +00:00
reed@android.com
2bd703b316
add DEBUG_LAYER_BOUNDS option to show layer bounds
...
git-svn-id: http://skia.googlecode.com/svn/trunk@509 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-24 02:01:23 +00:00
reed@android.com
233481ebd0
add static Make methods to return rects
...
git-svn-id: http://skia.googlecode.com/svn/trunk@508 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-24 01:49:13 +00:00
reed@android.com
6d342a4e4a
implement inverse, determinant
...
git-svn-id: http://skia.googlecode.com/svn/trunk@507 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-23 20:18:17 +00:00
reed@android.com
831f6c676f
update with better fps reporting
...
git-svn-id: http://skia.googlecode.com/svn/trunk@506 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-22 22:03:06 +00:00
reed@android.com
0c9da393d9
add FPSBench
...
git-svn-id: http://skia.googlecode.com/svn/trunk@505 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-22 19:50:13 +00:00
reed@android.com
dca6a56b71
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
2010-02-22 16:05:48 +00:00
reed@android.com
da6fb3246a
more layers extracted from webkit
...
git-svn-id: http://skia.googlecode.com/svn/trunk@503 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-19 21:41:30 +00:00
reed@android.com
81dc331e65
update layers
...
git-svn-id: http://skia.googlecode.com/svn/trunk@502 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-18 19:32:03 +00:00
reed@android.com
86d4008e89
add layers
...
git-svn-id: http://skia.googlecode.com/svn/trunk@501 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-12 17:17:10 +00:00
reed@android.com
dc3381fc81
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
2010-02-11 16:05:15 +00:00
reed@android.com
ed8dbf74a7
experimental draft, please ignore
...
git-svn-id: http://skia.googlecode.com/svn/trunk@499 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-11 13:56:04 +00:00
reed@android.com
c83d422b63
doh - fix build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@498 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-11 11:17:00 +00:00
reed@android.com
60bc6d5cb0
add Make to SkTSize
...
git-svn-id: http://skia.googlecode.com/svn/trunk@497 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-11 11:09:39 +00:00
reed@android.com
f0ad0864af
add unittest for copysign
...
git-svn-id: http://skia.googlecode.com/svn/trunk@496 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-09 19:18:38 +00:00