summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
reed@android.com [Mon, 2 Mar 2009 05:36:20 +0000 (05:36 +0000)]
add initial unittests for Path
add operator== for paths
still need to implement isRect!
git-svn-id: http://skia.googlecode.com/svn/trunk@99
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Sat, 28 Feb 2009 18:26:14 +0000 (18:26 +0000)]
add tests (unittests) to Makefile
move SkTSort.h into public includes
git-svn-id: http://skia.googlecode.com/svn/trunk@98
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 27 Feb 2009 22:06:06 +0000 (22:06 +0000)]
more tests (need more meat in there)
git-svn-id: http://skia.googlecode.com/svn/trunk@97
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 27 Feb 2009 16:24:51 +0000 (16:24 +0000)]
add initial unittest framework (tests)
move some previous unittests out of core classes and into tests
git-svn-id: http://skia.googlecode.com/svn/trunk@96
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 24 Feb 2009 19:03:20 +0000 (19:03 +0000)]
Handle kA8 bitmaps drawing through a matrix (was infinitely recursive)
git-svn-id: http://skia.googlecode.com/svn/trunk@95
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 20 Feb 2009 21:11:40 +0000 (21:11 +0000)]
Oops, CreateTypeface takes over ownership of the stream, instead of just ref()
This should be changed, for until it is, fix CreateTypefaceFromFile to not call
unref() if the typeface got created.
git-svn-id: http://skia.googlecode.com/svn/trunk@94
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 20 Feb 2009 14:22:36 +0000 (14:22 +0000)]
Implement CreateTypefaceFromFile
git-svn-id: http://skia.googlecode.com/svn/trunk@93
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 13 Feb 2009 14:56:09 +0000 (14:56 +0000)]
add picture-record option to speedup complex clips
remove hack that stopped picture-playback from culling on clipPath() result
git-svn-id: http://skia.googlecode.com/svn/trunk@92
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 11 Feb 2009 15:09:58 +0000 (15:09 +0000)]
remove white-space
git-svn-id: http://skia.googlecode.com/svn/trunk@91
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 11 Feb 2009 15:07:19 +0000 (15:07 +0000)]
handle failure when creating a scalercontext
git-svn-id: http://skia.googlecode.com/svn/trunk@90
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 6 Feb 2009 22:39:37 +0000 (22:39 +0000)]
check for non-invertible matrices in getClipBounds()
git-svn-id: http://skia.googlecode.com/svn/trunk@89
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 6 Feb 2009 13:30:58 +0000 (13:30 +0000)]
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
reed@android.com [Wed, 28 Jan 2009 00:56:29 +0000 (00:56 +0000)]
draft of Text benchmark
not enabled yet, as having trouble with mac-fonthost port
git-svn-id: http://skia.googlecode.com/svn/trunk@87
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 27 Jan 2009 18:25:02 +0000 (18:25 +0000)]
add png to bench files
git-svn-id: http://skia.googlecode.com/svn/trunk@86
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 27 Jan 2009 01:43:36 +0000 (01:43 +0000)]
explicitly define the gHead for the codec llist
git-svn-id: http://skia.googlecode.com/svn/trunk@85
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 26 Jan 2009 23:54:06 +0000 (23:54 +0000)]
update header path (from android)
git-svn-id: http://skia.googlecode.com/svn/trunk@84
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 26 Jan 2009 23:15:37 +0000 (23:15 +0000)]
add BitmapBench
git-svn-id: http://skia.googlecode.com/svn/trunk@83
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 23 Jan 2009 21:51:56 +0000 (21:51 +0000)]
don't add in png-codec for the mac build
git-svn-id: http://skia.googlecode.com/svn/trunk@82
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 23 Jan 2009 21:24:39 +0000 (21:24 +0000)]
Move libpng file into app, rather than the libskia, so it doesn't get optimized
away
git-svn-id: http://skia.googlecode.com/svn/trunk@81
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 23 Jan 2009 16:33:13 +0000 (16:33 +0000)]
need to include carbon.h so we know what OSStatus is
git-svn-id: http://skia.googlecode.com/svn/trunk@80
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 23 Jan 2009 16:23:10 +0000 (16:23 +0000)]
Remove legacy pascal prefix
git-svn-id: http://skia.googlecode.com/svn/trunk@79
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Jan 2009 17:41:57 +0000 (17:41 +0000)]
remove duplicate SkTRegistry definition
git-svn-id: http://skia.googlecode.com/svn/trunk@78
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Jan 2009 13:41:08 +0000 (13:41 +0000)]
update makefile for newly moved Factories
git-svn-id: http://skia.googlecode.com/svn/trunk@77
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 22 Jan 2009 13:04:56 +0000 (13:04 +0000)]
pull from android: use registry to build up list of image codecs
git-svn-id: http://skia.googlecode.com/svn/trunk@76
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 21 Jan 2009 15:07:03 +0000 (15:07 +0000)]
oops, add images_files.mk
rename options with prefix SKIA_
git-svn-id: http://skia.googlecode.com/svn/trunk@75
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 21 Jan 2009 03:15:13 +0000 (03:15 +0000)]
make help - shows options in makefile
add optional image-encoding to bench
git-svn-id: http://skia.googlecode.com/svn/trunk@74
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Jan 2009 20:08:35 +0000 (20:08 +0000)]
add options to bench: -repeat N -forceOpaque -forceBlend -forceAA -forceBW
output stats for all configs (should be a option)
git-svn-id: http://skia.googlecode.com/svn/trunk@73
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 19 Jan 2009 19:10:24 +0000 (19:10 +0000)]
Remove unneeded SK_BUILD_FOR_... checks in SkBitmap.h
git-svn-id: http://skia.googlecode.com/svn/trunk@72
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 16 Jan 2009 17:35:45 +0000 (17:35 +0000)]
add -lpthread
git-svn-id: http://skia.googlecode.com/svn/trunk@71
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 16 Jan 2009 16:21:28 +0000 (16:21 +0000)]
make these compile w/o SK_CAN_USE_FLOAT
git-svn-id: http://skia.googlecode.com/svn/trunk@70
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 16 Jan 2009 16:15:37 +0000 (16:15 +0000)]
add crude Makefile (someone please help!)
make SkFloatBits.cpp compile w/o floats
git-svn-id: http://skia.googlecode.com/svn/trunk@69
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 15 Jan 2009 14:38:33 +0000 (14:38 +0000)]
fix warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@68
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Jan 2009 17:51:08 +0000 (17:51 +0000)]
fix formatting issues
git-svn-id: http://skia.googlecode.com/svn/trunk@67
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Jan 2009 16:46:16 +0000 (16:46 +0000)]
fix multiple warnings (e.g. hidden virtuals, unused static functions)
update freetype version-check for const
git-svn-id: http://skia.googlecode.com/svn/trunk@66
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 14 Jan 2009 14:16:46 +0000 (14:16 +0000)]
update to build with the latest SkFontHost interface
not runtime tested yet
git-svn-id: http://skia.googlecode.com/svn/trunk@65
2bbb7eff-a529-9590-31e7-
b0007b416f81
maruel@google.com [Tue, 13 Jan 2009 22:01:54 +0000 (22:01 +0000)]
Add a basic README file.
git-svn-id: http://skia.googlecode.com/svn/trunk@64
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 13 Jan 2009 13:26:44 +0000 (13:26 +0000)]
add optimization for width==1 bitmaps in shader procs
odd warning fixes and cleanup
git-svn-id: http://skia.googlecode.com/svn/trunk@63
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 12 Jan 2009 16:00:23 +0000 (16:00 +0000)]
remove obsolete state
git-svn-id: http://skia.googlecode.com/svn/trunk@62
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 8 Jan 2009 17:49:50 +0000 (17:49 +0000)]
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
reed@android.com [Thu, 8 Jan 2009 03:00:57 +0000 (03:00 +0000)]
add arg to make diff sized rects
git-svn-id: http://skia.googlecode.com/svn/trunk@59
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 7 Jan 2009 11:49:19 +0000 (11:49 +0000)]
move main.cpp outside of the xcode project
git-svn-id: http://skia.googlecode.com/svn/trunk@58
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 7 Jan 2009 11:47:57 +0000 (11:47 +0000)]
add cmd-line args
respect canvas size from each bench obj, rather than hardcode 640x480
git-svn-id: http://skia.googlecode.com/svn/trunk@57
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 6 Jan 2009 20:16:26 +0000 (20:16 +0000)]
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
joe.gregorio [Tue, 6 Jan 2009 17:03:16 +0000 (17:03 +0000)]
Initial automake and autoconf files to build core into libskia.a.
git-svn-id: http://skia.googlecode.com/svn/trunk@55
2bbb7eff-a529-9590-31e7-
b0007b416f81
joe.gregorio [Tue, 6 Jan 2009 17:02:39 +0000 (17:02 +0000)]
Initial automake and autoconf files to build core into libskia.a.
git-svn-id: http://skia.googlecode.com/svn/trunk@54
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 6 Jan 2009 15:03:30 +0000 (15:03 +0000)]
remove defines for strcasecmp (issue #5)
support setMatrix in pictures
git-svn-id: http://skia.googlecode.com/svn/trunk@53
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 5 Jan 2009 03:34:50 +0000 (03:34 +0000)]
add benchmark framework
git-svn-id: http://skia.googlecode.com/svn/trunk@52
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 20:10:57 +0000 (20:10 +0000)]
pull from android - add createfromfile entry-point
git-svn-id: http://skia.googlecode.com/svn/trunk@51
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 19:04:23 +0000 (19:04 +0000)]
explicitly include SkGlyphCache.h, since it is no longer brought in by SkDraw.h
git-svn-id: http://skia.googlecode.com/svn/trunk@50
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 18:50:15 +0000 (18:50 +0000)]
remove old test that assumed fBM had been decoded
git-svn-id: http://skia.googlecode.com/svn/trunk@49
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 18:37:08 +0000 (18:37 +0000)]
update more sample code to new compose shader header
git-svn-id: http://skia.googlecode.com/svn/trunk@48
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 16:49:54 +0000 (16:49 +0000)]
add mac image-encoding
add 'f' to sampleapp, which writes a png file for the currnet screen
git-svn-id: http://skia.googlecode.com/svn/trunk@47
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Tue, 23 Dec 2008 16:06:51 +0000 (16:06 +0000)]
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
reed@android.com [Tue, 23 Dec 2008 01:27:39 +0000 (01:27 +0000)]
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
reed@android.com [Mon, 22 Dec 2008 22:12:55 +0000 (22:12 +0000)]
don't promote top/left to a fixed, when what we want is just an int
git-svn-id: http://skia.googlecode.com/svn/trunk@44
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Mon, 22 Dec 2008 15:35:46 +0000 (15:35 +0000)]
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
reed@android.com [Mon, 22 Dec 2008 02:33:11 +0000 (02:33 +0000)]
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
reed@android.com [Fri, 19 Dec 2008 19:46:15 +0000 (19:46 +0000)]
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
reed@android.com [Fri, 19 Dec 2008 19:18:38 +0000 (19:18 +0000)]
forgot these
git-svn-id: http://skia.googlecode.com/svn/trunk@40
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 19 Dec 2008 19:17:29 +0000 (19:17 +0000)]
forgot this file
git-svn-id: http://skia.googlecode.com/svn/trunk@39
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 19 Dec 2008 19:15:15 +0000 (19:15 +0000)]
add sampeapp proj
git-svn-id: http://skia.googlecode.com/svn/trunk@38
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Fri, 19 Dec 2008 18:24:35 +0000 (18:24 +0000)]
first cut at event-based test app
git-svn-id: http://skia.googlecode.com/svn/trunk@37
2bbb7eff-a529-9590-31e7-
b0007b416f81
cary@android.com [Thu, 18 Dec 2008 19:36:34 +0000 (19:36 +0000)]
fixed debug build include directories
git-svn-id: http://skia.googlecode.com/svn/trunk@36
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Dec 2008 19:26:11 +0000 (19:26 +0000)]
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
reed@android.com [Thu, 18 Dec 2008 19:04:43 +0000 (19:04 +0000)]
make this header public (at least for now)
git-svn-id: http://skia.googlecode.com/svn/trunk@34
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Dec 2008 17:56:12 +0000 (17:56 +0000)]
forgot these for app
git-svn-id: http://skia.googlecode.com/svn/trunk@33
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Dec 2008 17:54:12 +0000 (17:54 +0000)]
draft test app to show skia in a window
git-svn-id: http://skia.googlecode.com/svn/trunk@32
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Dec 2008 17:50:13 +0000 (17:50 +0000)]
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
reed@android.com [Thu, 18 Dec 2008 03:41:19 +0000 (03:41 +0000)]
attempt to begin mac shell
git-svn-id: http://skia.googlecode.com/svn/trunk@30
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Thu, 18 Dec 2008 02:52:32 +0000 (02:52 +0000)]
fix compile by using the right (new) name for SkComposeShader.h
git-svn-id: http://skia.googlecode.com/svn/trunk@29
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 17 Dec 2008 16:22:13 +0000 (16:22 +0000)]
merge in from android: fix unichar->utf8 conversion
git-svn-id: http://skia.googlecode.com/svn/trunk@28
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 17 Dec 2008 15:59:43 +0000 (15:59 +0000)]
grab from latest android
git-svn-id: http://skia.googlecode.com/svn/trunk@27
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@android.com [Wed, 17 Dec 2008 14:42:41 +0000 (14:42 +0000)]
Out with the old...
git-svn-id: http://skia.googlecode.com/svn/trunk@26
2bbb7eff-a529-9590-31e7-
b0007b416f81
croachrose [Wed, 8 Nov 2006 19:24:48 +0000 (19:24 +0000)]
Added license headers to all files. Sync to latest perforce revision.
git-svn-id: http://skia.googlecode.com/svn/trunk@3
2bbb7eff-a529-9590-31e7-
b0007b416f81
croachrose [Wed, 20 Sep 2006 15:47:42 +0000 (15:47 +0000)]
Initial checkin of skia source in google codebase.
* reviewed by me!
git-svn-id: http://skia.googlecode.com/svn/trunk@2
2bbb7eff-a529-9590-31e7-
b0007b416f81
(no author) [Wed, 20 Sep 2006 15:05:56 +0000 (15:05 +0000)]
Initial directory structure.
git-svn-id: http://skia.googlecode.com/svn/trunk@1
2bbb7eff-a529-9590-31e7-
b0007b416f81