aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* update save/restore comments to mention that the drawFilter is also savedGravatar reed@android.com2010-02-11
| | | | | | | | add wrapper for harfbuzz font/fontclass git-svn-id: http://skia.googlecode.com/svn/trunk@500 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental draft, please ignoreGravatar reed@android.com2010-02-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@499 2bbb7eff-a529-9590-31e7-b0007b416f81
* add copysign for ints and floatsGravatar reed@android.com2010-02-09
| | | | | | | | | 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
* add countPoints() and getPoint()Gravatar reed@android.com2010-02-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@494 2bbb7eff-a529-9590-31e7-b0007b416f81
* check bounder before lockPixels on the bitmapGravatar reed@android.com2010-02-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@493 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@android.com2010-02-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@492 2bbb7eff-a529-9590-31e7-b0007b416f81
* use statictextviews to display coordinates in unitmapperGravatar reed@android.com2010-02-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@491 2bbb7eff-a529-9590-31e7-b0007b416f81
* This patch allows the use of the native FreeType emboldeningGravatar senorblanco@chromium.org2010-02-05
| | | | | | | | | | | | 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
* respect edgetype in quickrejectGravatar reed@android.com2010-02-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@489 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkXRay geometry routinesGravatar reed@android.com2010-02-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@488 2bbb7eff-a529-9590-31e7-b0007b416f81
* add containsText() apiGravatar reed@android.com2010-02-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@487 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for null cmap in libgifGravatar reed@android.com2010-02-05
| | | | | | | | 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
* add some utils to SkPointGravatar reed@android.com2010-01-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@485 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable debug printfs for gamma tableGravatar reed@android.com2010-01-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@482 2bbb7eff-a529-9590-31e7-b0007b416f81
* call skip in a loop to handle the case where the backing stream may be networkGravatar reed@android.com2010-01-21
| | | | | | | | | 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
* refactor helper functions out of libjpeg wrapperGravatar reed@android.com2010-01-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@476 2bbb7eff-a529-9590-31e7-b0007b416f81
* skia: Always use aliased text when antialiasing is disabled.Gravatar agl@chromium.org2010-01-21
| | | | | | | | | | | | | | | | | 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
* ICE fixes for armGravatar reed@android.com2010-01-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@474 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete SK_BUILD_FOR_BREW conditionalGravatar reed@android.com2010-01-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@473 2bbb7eff-a529-9590-31e7-b0007b416f81
* add glyph->unichar query (inverse of a cmap)Gravatar reed@android.com2010-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@472 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add parens in order to make conditional correct.Gravatar agl@chromium.org2010-01-05
| | | | | | 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
* Fix r466 which was causing Chromium valgrind failures.Gravatar agl@chromium.org2010-01-04
| | | | | | | | 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
* Added a virtual to SkBounder, called by text, that passesGravatar reed@android.com2010-01-04
| | | | | | | | | | 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
* Add flag to enable bitmap strikes.Gravatar agl@chromium.org2010-01-04
| | | | | | http://codereview.appspot.com/183096 git-svn-id: http://skia.googlecode.com/svn/trunk@466 2bbb7eff-a529-9590-31e7-b0007b416f81
* Native client build fix.Gravatar agl@chromium.org2009-12-18
| | | | | | | | | | Patch from David Sehr. Signed-off-by: Adam Langley <agl@chromium.org> http://codereview.appspot.com/180090 git-svn-id: http://skia.googlecode.com/svn/trunk@464 2bbb7eff-a529-9590-31e7-b0007b416f81
* update windows portGravatar reed@android.com2009-12-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@461 2bbb7eff-a529-9590-31e7-b0007b416f81
* initial checkin for visualstudio build supportGravatar reed@android.com2009-12-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@460 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix repeat/mirror for new larger 16bit cacheGravatar reed@android.com2009-12-14
| | | | | | | | update gm images git-svn-id: http://skia.googlecode.com/svn/trunk@459 2bbb7eff-a529-9590-31e7-b0007b416f81
* make the 16bit cache larger, to handle multiple colors in the gradient w/oGravatar reed@android.com2009-12-14
| | | | | | | | | | obvious artifacts. We need a more comprehensive fix for all gradients (32bit and 16bit) when we have a large number of colors (or they are spaced out very non-linearly), to avoid banding. git-svn-id: http://skia.googlecode.com/svn/trunk@458 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initialise fDeviceCMDirtyGravatar agl@chromium.org2009-12-12
| | | | | | http://codereview.appspot.com/176050 git-svn-id: http://skia.googlecode.com/svn/trunk@457 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSE2-ified S32_alpha_D32_filter_DX (refactoring to come). Also shaved a fewGravatar senorblanco@chromium.org2009-12-10
| | | | | | | | | | cycles off the SSE2 blends. Review URL: http://codereview.appspot.com/171055 git-svn-id: http://skia.googlecode.com/svn/trunk@456 2bbb7eff-a529-9590-31e7-b0007b416f81
* Eenable new chopping edgelist builder by default. If it sticks well, I'llGravatar reed@android.com2009-12-10
| | | | | | | | remove the old code-path in a subsequent CL git-svn-id: http://skia.googlecode.com/svn/trunk@454 2bbb7eff-a529-9590-31e7-b0007b416f81
* reinstate the empty check, and always initialize the format fieldGravatar reed@android.com2009-12-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@453 2bbb7eff-a529-9590-31e7-b0007b416f81
* add drawData() to canvas, to record data blobsGravatar reed@android.com2009-12-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@452 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix warning (struct forward-declared as class).Gravatar senorblanco@chromium.org2009-12-04
| | | | | | | Review URL: http://codereview.appspot.com/164061 git-svn-id: http://skia.googlecode.com/svn/trunk@451 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove check for empty devPathGravatar agl@chromium.org2009-12-02
| | | | | | | | | | | | | | Removes check for empty devPath since it was causing an assertion failure on Mac OS X when drawing small fonts within the browser action badges. BUG=none TEST=none Patch by andybons1. http://codereview.appspot.com/163056 git-svn-id: http://skia.googlecode.com/svn/trunk@450 2bbb7eff-a529-9590-31e7-b0007b416f81
* Debug build fix (unreviewed).Gravatar senorblanco@chromium.org2009-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@449 2bbb7eff-a529-9590-31e7-b0007b416f81
* More SSE2 optimizations. This CL implements an SSE2 version of ↵Gravatar senorblanco@chromium.org2009-11-30
| | | | | | | | | | S32_bitmap_D32_filter_DX, and uses aligned loads and stores for dst, in all blending. Review URL: http://codereview.appspot.com/157141 git-svn-id: http://skia.googlecode.com/svn/trunk@448 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for IntersectLine, used by hairlinesGravatar reed@android.com2009-11-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@447 2bbb7eff-a529-9590-31e7-b0007b416f81
* Win32 build fix (unreviewed).Gravatar senorblanco@chromium.org2009-11-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@446 2bbb7eff-a529-9590-31e7-b0007b416f81
* outset the bounds if we're in hairline before quick-reject in SkDraw.cppGravatar reed@android.com2009-11-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@445 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix winding bug in lineclipperGravatar reed@android.com2009-11-23
| | | | | | | | | expose path.dump() all the time UP arrow now toggles a grid of clip rects in sample app git-svn-id: http://skia.googlecode.com/svn/trunk@443 2bbb7eff-a529-9590-31e7-b0007b416f81
* add checks for exceeding 16bits, and apply those for glyphs in getMetrics()Gravatar reed@android.com2009-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@441 2bbb7eff-a529-9590-31e7-b0007b416f81
* change guard to use ANDROID and __arm__, so it doesn't break non-arm androidGravatar reed@android.com2009-11-20
| | | | | | | | configs (e.g. simulator) git-svn-id: http://skia.googlecode.com/svn/trunk@440 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build fix for WIN64 (unreviewed).Gravatar senorblanco@chromium.org2009-11-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@439 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix index-out-of-range constantGravatar reed@android.com2009-11-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@437 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool clipping in hairlines to catch huge coordinatesGravatar reed@android.com2009-11-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@436 2bbb7eff-a529-9590-31e7-b0007b416f81
* Exclude Android-only cpu-features.h from non-Android builds.Gravatar agl@chromium.org2009-11-19
| | | | | | | | This is needed when building Chromium for ARM. Patch by Joel Stanley <joel@chromium.org> git-svn-id: http://skia.googlecode.com/svn/trunk@435 2bbb7eff-a529-9590-31e7-b0007b416f81
* return early if we hit overflow when chopping on the left (i.e. the entireGravatar reed@android.com2009-11-19
| | | | | | | | segment is effectively to the left) git-svn-id: http://skia.googlecode.com/svn/trunk@434 2bbb7eff-a529-9590-31e7-b0007b416f81
* new scanconversion techniqueGravatar reed@android.com2009-11-18
| | | | | | | | | | | | | | This technique geometrically clips all segments against the clip bounds, ensuring that we never send a value to the edgelist that might overflow in fixedpoint. Current disabled in SkScan_Path.cpp by a #define. There are a few minor pixel differences between this and the old technique, as found by the gm tool, so at the moment this new code is off by default. git-svn-id: http://skia.googlecode.com/svn/trunk@432 2bbb7eff-a529-9590-31e7-b0007b416f81