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
reed@android.com
eebf5cb6c0
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
2010-02-09 18:30:59 +00:00
reed@android.com
d3aa4ff7a5
add countPoints() and getPoint()
...
git-svn-id: http://skia.googlecode.com/svn/trunk@494 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-09 16:38:45 +00:00
reed@android.com
218521e157
check bounder before lockPixels on the bitmap
...
git-svn-id: http://skia.googlecode.com/svn/trunk@493 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-09 13:06:29 +00:00
reed@android.com
985dfad8ec
add
...
git-svn-id: http://skia.googlecode.com/svn/trunk@492 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-09 12:40:30 +00:00
reed@android.com
562ea92179
use statictextviews to display coordinates in unitmapper
...
git-svn-id: http://skia.googlecode.com/svn/trunk@491 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-08 21:45:03 +00:00
senorblanco@chromium.org
4526a847da
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
2010-02-05 23:08:20 +00:00
reed@android.com
ba09de4c4b
respect edgetype in quickreject
...
git-svn-id: http://skia.googlecode.com/svn/trunk@489 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-05 20:46:05 +00:00
reed@android.com
945a139553
add SkXRay geometry routines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@488 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-05 20:41:02 +00:00
reed@android.com
a5dcaf6fd8
add containsText() api
...
git-svn-id: http://skia.googlecode.com/svn/trunk@487 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-02-05 17:12:32 +00:00
reed@android.com
bc7d2fb5be
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
2010-02-05 15:43:07 +00:00
reed@android.com
ac753098e8
add some utils to SkPoint
...
git-svn-id: http://skia.googlecode.com/svn/trunk@485 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-28 21:34:33 +00:00
reed@android.com
2736a69077
update
...
git-svn-id: http://skia.googlecode.com/svn/trunk@484 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-01-28 21:24:01 +00:00
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