reed@android.com
aefd2bc757
Add SkChunkAlloc::unalloc() to undo the last allocation, useful if the caller wants to treat the allocats like temp memory (see PictureRecord)
...
Call unalloc if a paint (or other cached object) is already in our list for picture recording
Use correct CompareType macro in SkCanvas::quickReject
git-svn-id: http://skia.googlecode.com/svn/trunk@138 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-30 21:02:14 +00:00
reed@android.com
3eab80cc1f
rename drawable to drawing for now, so we don't collide with animator
...
remove sk_throw in pixelref. a debug statement is enough.
git-svn-id: http://skia.googlecode.com/svn/trunk@136 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-24 18:47:35 +00:00
reed@android.com
8898363b2e
add check/hack to avoid drawing outside of the clip for hairlines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@134 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-23 16:05:19 +00:00
reed@android.com
ae64551e2e
check-point for drawables (experimental)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@133 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-23 03:27:38 +00:00
reed@android.com
49f0ff25a0
promote SkMask's rowBytes to 32bits, since its bounds is a 32bit rect
...
be sure a rect is sorted before using it as the path's bounds cache
git-svn-id: http://skia.googlecode.com/svn/trunk@128 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-19 21:52:42 +00:00
reed@android.com
330578d67d
mac fonts sort of work now
...
- haven't tested rotation yet
- spacing/bounds still look bad
git-svn-id: http://skia.googlecode.com/svn/trunk@117 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-09 18:12:13 +00:00
reed@android.com
d66efc273e
add test for different srcover implementations
...
git-svn-id: http://skia.googlecode.com/svn/trunk@103 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-03-03 18:35:18 +00:00
reed@android.com
c07d23a6e2
Chop quads exactly on the clip bounds, so we don't spend CPU cycles walking them
...
when we're above or below the clip.
Still to do:
- chop in X to avoid 16.16. overflow in the edgelist
- apply the same logic for cubics (tho much harder math)
git-svn-id: http://skia.googlecode.com/svn/trunk@88 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-02-06 13:30:58 +00:00
reed@android.com
fc25abdabf
fix warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@68 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-01-15 14:38:33 +00:00
reed@android.com
5c80ea17d4
first pass at clean up of the 3 config files
...
- note that SkUserConfig.h no longer actually does anything
git-svn-id: http://skia.googlecode.com/svn/trunk@60 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-01-08 17:49:50 +00:00
reed@android.com
b08eb2b3bc
separate image encode and decode
...
remove obsolete build-flag for encode
git-svn-id: http://skia.googlecode.com/svn/trunk@56 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-01-06 20:16:26 +00:00
reed@android.com
bd700c391d
add benchmark framework
...
git-svn-id: http://skia.googlecode.com/svn/trunk@52 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-01-05 03:34:50 +00:00
reed@android.com
da342a8917
update more sample code to new compose shader header
...
git-svn-id: http://skia.googlecode.com/svn/trunk@48 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-23 18:37:08 +00:00
reed@android.com
0767e4742e
add CG imagedecoder (still needs encoding)
...
update some sample files to not use obsolete SkShaderExtras.h
git-svn-id: http://skia.googlecode.com/svn/trunk@46 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-23 16:06:51 +00:00
reed@android.com
76aa34bf8e
add text to hostapp sample
...
rename duplicate of SkSVGPath.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@45 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-23 01:27:39 +00:00
reed@android.com
03ca3d19c4
move CreateTypefaceFromFile into fonthost porting layer, so we don't force a given port to have mmap access.
...
update core.proj as some headers have changed location
git-svn-id: http://skia.googlecode.com/svn/trunk@43 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-22 15:35:46 +00:00
reed@android.com
2b26cac4fd
downgrade project files to 10.4 so more clients can use them
...
downgrade some CG calls in test apps to not require 10.5 apis
remove leftover printf in SkOSWindow_Mac.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@42 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-22 02:33:11 +00:00
reed@android.com
0680d6c7ca
use native mac fonthost
...
add 444 and (fake) 565 support in cg
git-svn-id: http://skia.googlecode.com/svn/trunk@41 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-19 19:46:15 +00:00
reed@android.com
aaeab429f9
forgot these
...
git-svn-id: http://skia.googlecode.com/svn/trunk@40 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-19 19:18:38 +00:00
reed@android.com
3d85e7a44a
forgot this file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@39 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-19 19:17:29 +00:00
reed@android.com
64ad9663d6
add sampeapp proj
...
git-svn-id: http://skia.googlecode.com/svn/trunk@38 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-19 19:15:15 +00:00
reed@android.com
6efdc47afc
first cut at event-based test app
...
git-svn-id: http://skia.googlecode.com/svn/trunk@37 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-19 18:24:35 +00:00
cary@android.com
647254a7fd
fixed debug build include directories
...
git-svn-id: http://skia.googlecode.com/svn/trunk@36 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-18 19:36:34 +00:00
reed@android.com
0d55f1e73c
move cg utils out of xcode and into src/include
...
git-svn-id: http://skia.googlecode.com/svn/trunk@35 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-18 19:26:11 +00:00
reed@android.com
8b92315f25
forgot these for app
...
git-svn-id: http://skia.googlecode.com/svn/trunk@33 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-18 17:56:12 +00:00
reed@android.com
758b129f11
draft test app to show skia in a window
...
git-svn-id: http://skia.googlecode.com/svn/trunk@32 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-18 17:54:12 +00:00
reed@android.com
9fb1731ef2
move core files into core (were in images, but are required for core library)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@31 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-18 17:50:13 +00:00
reed@android.com
8a1c16ff38
grab from latest android
...
git-svn-id: http://skia.googlecode.com/svn/trunk@27 2bbb7eff-a529-9590-31e7-b0007b416f81
2008-12-17 15:59:43 +00:00