aboutsummaryrefslogtreecommitdiffhomepage
path: root/xcode
Commit message (Collapse)AuthorAge
...
* move xfermode modes from porterduff into xfermode itselfGravatar reed@android.com2009-06-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@232 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sample for mipmapsGravatar reed@android.com2009-06-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@218 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shader flag kConstInY_FlagGravatar reed@android.com2009-06-12
| | | | | | | | | | | this signals blitters that the shader will return the same results for a given x value, independent of y. Useful inside blitRect(), where it can cache the first call to shadeSpan() and reuse it on all subsequent scans. Works with (non-rotated) linear-gradients, and Nx1 bitmaps. git-svn-id: http://skia.googlecode.com/svn/trunk@214 2bbb7eff-a529-9590-31e7-b0007b416f81
* add experimental state tracker for openglGravatar reed@android.com2009-06-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@211 2bbb7eff-a529-9590-31e7-b0007b416f81
* only call SkDevice::gainFocus() if we're actually drawing to a different device.Gravatar reed@android.com2009-06-10
| | | | | | | | Saves overhead when using GL. git-svn-id: http://skia.googlecode.com/svn/trunk@207 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix odd-pixel bug in mipmap downsamplers (thanks brett)Gravatar reed@android.com2009-06-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@204 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkParsePath to go to/from SVG strings (e.g. "M0,0 L10,20")Gravatar reed@android.com2009-06-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@203 2bbb7eff-a529-9590-31e7-b0007b416f81
* update for cache updatesGravatar reed@android.com2009-06-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@202 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix dumpcanvas to recurse on pictures and shapesGravatar reed@android.com2009-06-05
| | | | | | | | add cached bitmap for gradients to avoid thrashing textures in gl git-svn-id: http://skia.googlecode.com/svn/trunk@201 2bbb7eff-a529-9590-31e7-b0007b416f81
* add isConvex() hit to SkPath, to be used to speed up fills and openglGravatar reed@android.com2009-06-03
| | | | | | | | | | set linewidth in gldevice for hair rects remove some cruft from samples add more gl-unimpl messages git-svn-id: http://skia.googlecode.com/svn/trunk@199 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unimpl macro to help track bugsGravatar reed@android.com2009-06-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@195 2bbb7eff-a529-9590-31e7-b0007b416f81
* update includes for android for gl backendGravatar reed@android.com2009-06-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@194 2bbb7eff-a529-9590-31e7-b0007b416f81
* call notifyPixelsChanged() when the pages are flipped in pageflippixelrefGravatar reed@android.com2009-05-30
| | | | | | | | update samples git-svn-id: http://skia.googlecode.com/svn/trunk@192 2bbb7eff-a529-9590-31e7-b0007b416f81
* update SDL port to support OpenGLGravatar reed@android.com2009-05-29
| | | | | | | | | need to separate out SK_BUILD_FOR_MAC when we need to know where certain OS headers are, and SK_BUILD_FOR_SDL when we are choosing an SkOSWindow variant... git-svn-id: http://skia.googlecode.com/svn/trunk@190 2bbb7eff-a529-9590-31e7-b0007b416f81
* move shapes subclasses into effectsGravatar reed@android.com2009-05-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@188 2bbb7eff-a529-9590-31e7-b0007b416f81
* create offscreen surface so we can set its RGB ordering to match our internalsGravatar reed@android.com2009-05-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@187 2bbb7eff-a529-9590-31e7-b0007b416f81
* make include search paths relativeGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@186 2bbb7eff-a529-9590-31e7-b0007b416f81
* update relative paths for sample codeGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@185 2bbb7eff-a529-9590-31e7-b0007b416f81
* add actual sdl project fileGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@184 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sampleapp_sdlGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@183 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SDL supportGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@182 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkSafeRef / SkSafeUnref as inline static functions, to use in place of ourGravatar reed@android.com2009-05-22
| | | | | | | | | | | existing obj->safeRef(), which is unsafe since it can its 'if (this)' can be optimized away by some compilers. fix some overflows in mimpmap generation git-svn-id: http://skia.googlecode.com/svn/trunk@181 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sample effectsGravatar reed@android.com2009-05-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@180 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkSize for dimensionsGravatar reed@android.com2009-05-13
| | | | | | | | | add SkShape baseclass, in the hopes of having SkPicture inherit from that, and also using shapes as the extension mechanism for things like animated-gif git-svn-id: http://skia.googlecode.com/svn/trunk@174 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix copyTo to only copy the minimum pixels per row, and to lock the src beforeGravatar reed@android.com2009-05-05
| | | | | | | | | trying to access its colorTable. Update unittest for copyTo. Add sample for using a mask to clip a layer. git-svn-id: http://skia.googlecode.com/svn/trunk@168 2bbb7eff-a529-9590-31e7-b0007b416f81
* update for config/ directoryGravatar reed@android.com2009-04-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@153 2bbb7eff-a529-9590-31e7-b0007b416f81
* add Table apis to SkFontHostGravatar reed@android.com2009-04-08
| | | | | | | | need to implement in _win backend git-svn-id: http://skia.googlecode.com/svn/trunk@149 2bbb7eff-a529-9590-31e7-b0007b416f81
* import portability fixes from Chrome around floatsGravatar reed@android.com2009-04-03
| | | | | | | | move porting functions for SkDebugf into /ports directory git-svn-id: http://skia.googlecode.com/svn/trunk@147 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sample for gradientsGravatar reed@android.com2009-04-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@144 2bbb7eff-a529-9590-31e7-b0007b416f81
* API change: SkPath computeBounds -> getBoundsGravatar reed@android.com2009-04-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@140 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkChunkAlloc::unalloc() to undo the last allocation, useful if the ↵Gravatar reed@android.com2009-03-30
| | | | | | | | | | | 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
* rename drawable to drawing for now, so we don't collide with animatorGravatar reed@android.com2009-03-24
| | | | | | | | 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
* add check/hack to avoid drawing outside of the clip for hairlinesGravatar reed@android.com2009-03-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@134 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for drawables (experimental)Gravatar reed@android.com2009-03-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@133 2bbb7eff-a529-9590-31e7-b0007b416f81
* promote SkMask's rowBytes to 32bits, since its bounds is a 32bit rectGravatar reed@android.com2009-03-19
| | | | | | | | 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
* mac fonts sort of work nowGravatar reed@android.com2009-03-09
| | | | | | | | | - 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
* add test for different srcover implementationsGravatar reed@android.com2009-03-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@103 2bbb7eff-a529-9590-31e7-b0007b416f81
* Chop quads exactly on the clip bounds, so we don't spend CPU cycles walking themGravatar reed@android.com2009-02-06
| | | | | | | | | | | | 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
* fix warningsGravatar reed@android.com2009-01-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@68 2bbb7eff-a529-9590-31e7-b0007b416f81
* first pass at clean up of the 3 config filesGravatar reed@android.com2009-01-08
| | | | | | | | - note that SkUserConfig.h no longer actually does anything git-svn-id: http://skia.googlecode.com/svn/trunk@60 2bbb7eff-a529-9590-31e7-b0007b416f81
* separate image encode and decodeGravatar reed@android.com2009-01-06
| | | | | | | | remove obsolete build-flag for encode git-svn-id: http://skia.googlecode.com/svn/trunk@56 2bbb7eff-a529-9590-31e7-b0007b416f81
* add benchmark frameworkGravatar reed@android.com2009-01-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@52 2bbb7eff-a529-9590-31e7-b0007b416f81
* update more sample code to new compose shader headerGravatar reed@android.com2008-12-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@48 2bbb7eff-a529-9590-31e7-b0007b416f81
* add CG imagedecoder (still needs encoding)Gravatar reed@android.com2008-12-23
| | | | | | | | 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
* add text to hostapp sampleGravatar reed@android.com2008-12-23
| | | | | | | | rename duplicate of SkSVGPath.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@45 2bbb7eff-a529-9590-31e7-b0007b416f81
* move CreateTypefaceFromFile into fonthost porting layer, so we don't force a ↵Gravatar reed@android.com2008-12-22
| | | | | | | | | | 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
* downgrade project files to 10.4 so more clients can use themGravatar reed@android.com2008-12-22
| | | | | | | | | 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
* use native mac fonthostGravatar reed@android.com2008-12-19
| | | | | | | | add 444 and (fake) 565 support in cg git-svn-id: http://skia.googlecode.com/svn/trunk@41 2bbb7eff-a529-9590-31e7-b0007b416f81
* forgot theseGravatar reed@android.com2008-12-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@40 2bbb7eff-a529-9590-31e7-b0007b416f81
* forgot this fileGravatar reed@android.com2008-12-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@39 2bbb7eff-a529-9590-31e7-b0007b416f81