aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Remove unused variable to fix warning on Windows:Gravatar agl@chromium.org2009-07-21
| | | | | | | src\core\SkBlitter_ARGB32.cpp(362) : warning C4101: 'alpha32' : unreferenced local variable git-svn-id: http://skia.googlecode.com/svn/trunk@278 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mac: fix SkFontHost_mac.cpp to work with the new hinting interface.Gravatar agl@chromium.org2009-07-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@277 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete duplicated code.Gravatar agl@chromium.org2009-07-21
| | | | | | | patch went wrong and duplicated SkFontHost.cpp. git-svn-id: http://skia.googlecode.com/svn/trunk@276 2bbb7eff-a529-9590-31e7-b0007b416f81
* Subpixel glyph rendering support.Gravatar agl@chromium.org2009-07-21
| | | | | | | | | | | | | | | | This patch adds support for rendering subpixel glyphs (using Freetype). In order to control this rendering see SkPaint::setLCDRenderText in SkPaint.h. To setup the LCD mode, see SkFontHost::SetSubpixelOrientation and SkFontHost::SetSubpixelOrder in SkFontHost.h. This patch also adds more fine grained control over hinting (again, only for Freetype currently). One can now control the hinting with SkPaint::setHinting. git-svn-id: http://skia.googlecode.com/svn/trunk@275 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix quickReject() to handle perspective correctly (i.e. transform forward intoGravatar reed@android.com2009-07-21
| | | | | | | | dst-space, and perform the clip-test there). git-svn-id: http://skia.googlecode.com/svn/trunk@274 2bbb7eff-a529-9590-31e7-b0007b416f81
* add special proc for repeat 16->16 filter bitmap shaderGravatar reed@android.com2009-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@273 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete headerGravatar reed@android.com2009-07-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@272 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove conditional build flag for mipmapsGravatar reed@android.com2009-07-17
| | | | | | | | remove obsolete SkBitmapShader.cpp file git-svn-id: http://skia.googlecode.com/svn/trunk@271 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at support for HW-specific blits/etc.Gravatar reed@android.com2009-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@270 2bbb7eff-a529-9590-31e7-b0007b416f81
* quick return if we just want the boundsGravatar reed@android.com2009-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@269 2bbb7eff-a529-9590-31e7-b0007b416f81
* try our first special-case shaderprocGravatar reed@android.com2009-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@268 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shaderprocs for all-in-one special blits (matrix+sampler)Gravatar reed@android.com2009-07-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@267 2bbb7eff-a529-9590-31e7-b0007b416f81
* handle cap==round for drawPointsGravatar reed@android.com2009-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@266 2bbb7eff-a529-9590-31e7-b0007b416f81
* tweaks to 16bit shadersGravatar reed@android.com2009-07-10
| | | | | | | | fix typo-bug in 4444 blend case git-svn-id: http://skia.googlecode.com/svn/trunk@265 2bbb7eff-a529-9590-31e7-b0007b416f81
* make a deep copy in CreateCGImageRef if we're 565, but first upscale to 32bit.Gravatar reed@android.com2009-07-10
| | | | | | | | | | | | | this at least draws the right colors, since we're 565 and CG only supports 1555 (unless someone knows how to tell CG we're 565...) Fix ws in picturerecord Enable dither in sample gradients, so the 4444 case isn't so ugly git-svn-id: http://skia.googlecode.com/svn/trunk@264 2bbb7eff-a529-9590-31e7-b0007b416f81
* speedup 16bit shaders in the blitRect caseGravatar reed@android.com2009-07-10
| | | | | | | | faster 32->16 blend by using the expand_16 intermediate format git-svn-id: http://skia.googlecode.com/svn/trunk@263 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for underflow in restore() during picture record, and ignore itGravatar reed@android.com2009-07-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@262 2bbb7eff-a529-9590-31e7-b0007b416f81
* respect preferred config when png is index-basedGravatar reed@android.com2009-07-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@261 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix (aaaargh) white-spaceGravatar reed@android.com2009-07-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@260 2bbb7eff-a529-9590-31e7-b0007b416f81
* use scalarcomparetype in matrix tests, so we don't do anything trickyGravatar reed@android.com2009-07-08
| | | | | | | | (unnecessary) when floats are fast git-svn-id: http://skia.googlecode.com/svn/trunk@259 2bbb7eff-a529-9590-31e7-b0007b416f81
* add dox for scalarcomparetypeGravatar reed@android.com2009-07-08
| | | | | | | | | use internal mutable version of drawPath when we've cons'd up a path on behalf of a rect git-svn-id: http://skia.googlecode.com/svn/trunk@258 2bbb7eff-a529-9590-31e7-b0007b416f81
* use genericRGB space to ensure that we decode exactly the pixels we encodeGravatar reed@android.com2009-07-08
| | | | | | | | add -r option to gm to read and compare against known images git-svn-id: http://skia.googlecode.com/svn/trunk@256 2bbb7eff-a529-9590-31e7-b0007b416f81
* add support for encoding Index8 bitmaps into pngGravatar reed@android.com2009-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@254 2bbb7eff-a529-9590-31e7-b0007b416f81
* add FIXME to commentGravatar reed@android.com2009-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@253 2bbb7eff-a529-9590-31e7-b0007b416f81
* initialize fShapeCount in init()Gravatar reed@android.com2009-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@252 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix white-spaceGravatar reed@android.com2009-07-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@251 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimize some alpha blending modes.Gravatar deanm@chromium.org2009-07-03
| | | | | | | | | | | | - Inline the component calculation helpers. - Reorder the computation in plus_modeproc. This doubles the performance of plus_modeproc. Review URL: http://codereview.appspot.com/88084 git-svn-id: http://skia.googlecode.com/svn/trunk@250 2bbb7eff-a529-9590-31e7-b0007b416f81
* more checks for null shapes in picturesGravatar reed@android.com2009-07-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@249 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix gradients with alpha to convert to premul *after* the intermediate colorGravatar reed@android.com2009-07-02
| | | | | | | | | has been computed, othewise we can't distinguish 0x00000000 from 0x00FF0000 Add fast case for index blit where we read 4 src pixels at a time git-svn-id: http://skia.googlecode.com/svn/trunk@248 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove (ack) test code in lineargradient when pos array is nullGravatar reed@android.com2009-07-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@247 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a precedence error in an assert in the fontconfig host.Gravatar deanm@chromium.org2009-07-01
| | | | | | | Review URL: http://codereview.appspot.com/90060 git-svn-id: http://skia.googlecode.com/svn/trunk@246 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix config check to include SkColorPriv.h so we don't get the warning w/o needGravatar reed@android.com2009-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@245 2bbb7eff-a529-9590-31e7-b0007b416f81
* use sk_bzero instead of bzero, since it isn't always available.Gravatar reed@android.com2009-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@244 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for matrix::flattenGravatar reed@android.com2009-06-29
| | | | | | | | | define constant for max value flatten/unflatten can return (so clients can put the buffer on the stack) git-svn-id: http://skia.googlecode.com/svn/trunk@243 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shape flatten so they work properly in picturesGravatar reed@android.com2009-06-29
| | | | | | | | add flatten/unflatten to matrix git-svn-id: http://skia.googlecode.com/svn/trunk@242 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shape recording to pictuures (sans serialization)Gravatar reed@android.com2009-06-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@240 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect nearly translate-only matrices when drawing bitmaps (for speed)Gravatar reed@android.com2009-06-24
| | | | | | | | | rename setXfermode(Mode) to setXfermodeMode(Mode) for sanity fix memory leak in setXfermode(Mode) git-svn-id: http://skia.googlecode.com/svn/trunk@239 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix memory leak in new setXfermode()Gravatar reed@android.com2009-06-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@238 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove remaining references to porterduffGravatar reed@android.com2009-06-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@236 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove deprecated use of porterduff enumGravatar reed@android.com2009-06-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@235 2bbb7eff-a529-9590-31e7-b0007b416f81
* merge in change from chrome to detect when the byte order for 8888 requiresGravatar reed@android.com2009-06-22
| | | | | | | | additional CGBitmapInfo flags (e.g. for bigendian) git-svn-id: http://skia.googlecode.com/svn/trunk@233 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* almost there on gm (need to fix image writes/reads/compares)Gravatar reed@android.com2009-06-21
| | | | | | | | | move SkAutoGraphics into SkGraphics.h add [] operators to SkString git-svn-id: http://skia.googlecode.com/svn/trunk@228 2bbb7eff-a529-9590-31e7-b0007b416f81
* update to latest api (need a test for this port!)Gravatar reed@android.com2009-06-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@225 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make sure we have a non-null FreeType face before dereferencing it.Gravatar deanm@chromium.org2009-06-19
| | | | | | | | | | | This prevents a NULL pointer crash in generateFontMetrics with some fonts. Patch by Lei Zhang. Original Chromium bug: http://code.google.com/p/chromium/issues/detail?id=13007 Review URL: http://codereview.appspot.com/78056 git-svn-id: http://skia.googlecode.com/svn/trunk@224 2bbb7eff-a529-9590-31e7-b0007b416f81
* really fix gif movie registrationGravatar reed@android.com2009-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@223 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix stupid tabsGravatar reed@android.com2009-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@222 2bbb7eff-a529-9590-31e7-b0007b416f81
* add registrar for gif movieGravatar reed@android.com2009-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@221 2bbb7eff-a529-9590-31e7-b0007b416f81
* fallback to drawing a line if the cubic is still too curvy, even if we'veGravatar reed@android.com2009-06-17
| | | | | | | | | | | | | | | exhausted our recursive attempts to subdivide. Fixes trying to stroke this cubic (width==1.0) path.moveTo(460.2881309415525, 303.250847066498); path.cubicTo(463.36378422175284, 302.1169735073363, 456.32239330810046, 304.720354932878, 453.15255460013304, 305.788586869862); git-svn-id: http://skia.googlecode.com/svn/trunk@219 2bbb7eff-a529-9590-31e7-b0007b416f81
* ws fixesGravatar reed@android.com2009-06-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@217 2bbb7eff-a529-9590-31e7-b0007b416f81