aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix drawing pictures in different threads.Patrick Scott2010-11-022-0/+4
| | | | | | Use a mutex to avoid trying to concurrently draw the same picture. Change-Id: I6bef66d7824b12e796f32b635f2c344b4170fcd8
* Added generation ID to SkPaint to easily detect changed object.Chet Haase2010-10-251-32/+143
| | | | | | | | This new ID is used by display list objects to detect when the SkPaint object's properties have changed and the display list needs to copy the paint into a new object to avoid reusing an obsolete copy of it. Change-Id: I1fb7034bea63eca247b72b939cb20f0fcece067a
* Correctly flatten/unflatten the fMode field.Romain Guy2010-09-291-0/+2
| | | | Change-Id: Ifca20f519c371bfc2cb693f07348320ee4e44ab4
* Expose SkPictureFlatRomain Guy2010-09-261-209/+0
| | | | Change-Id: Ib6c873b7e7e42a3680a3d9110dae1fc369dfa393
* am 3a1cc970: Fix bug in SkImageDecoderJoseph Wen2010-09-101-0/+12
|\ | | | | | | | | | | | | Merge commit '3a1cc9700bf928ed3b1e05c7edc543124440c54c' * commit '3a1cc9700bf928ed3b1e05c7edc543124440c54c': Fix bug in SkImageDecoder
| * Fix bug in SkImageDecoderJoseph Wen2010-09-101-0/+12
| | | | | | | | Change-Id: I6d214e4d8cce49f7e12eeb924493161dadd5aa26
* | Expose Xfermode's mode in the SkXfermode class.Romain Guy2010-09-091-8/+14
| | | | | | | | Change-Id: Ibdb7620348ee7af585a58ad43b26d3d6f47c403c
* | Ensure the OpenGL renderer is not given gamma corrected fonts.Romain Guy2010-08-271-9/+17
| | | | | | | | Change-Id: Ie58f75c2bb2b09fc2e1e96ad94ad7c907d067bd4
* | Fix generation ID tracking bug in SkPath.Romain Guy2010-08-061-2/+2
| | | | | | | | Change-Id: I93da7b0d17b51279f56562fa0db093e5f6c7edc7
* | Add a generation id to SkPath.Romain Guy2010-08-051-0/+17
| | | | | | | | | | | | This can be used to know whether a path was modified. Change-Id: I3a839357de4305d29cb608eacbada371682a5578
* | Expose two APIs to be able to retrieve glyphs from font cache.Romain Guy2010-07-201-0/+14
| | | | | | | | Change-Id: I4e033c009bef6f00b0cd2a8233f63351adc11df4
* | am 52595059: am f6f43bd2: merge from open-source masterThe Android Open Source Project2010-05-191-1/+1
|\ \ | |/
| * am f6f43bd2: merge from open-source masterThe Android Open Source Project2010-05-191-1/+1
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'f6f43bd241efd58483c1daf75100a21822aea0e4' into kraken * commit 'f6f43bd241efd58483c1daf75100a21822aea0e4': Use SkScalarMulDiv where appropriate
| | * merge from open-source masterThe Android Open Source Project2010-05-191-1/+1
| | |\ | | | | | | | | | | | | Change-Id: Ic9add408166bf9a0350db904e15912b723e55a15
| | | * Use SkScalarMulDiv where appropriateJean-Baptiste Queru2010-05-181-1/+1
| | | | | | | | | | | | | | | | Change-Id: I0871ad4aa742706d6bc0cef62925de1c2a20c99d
* | | | am d66241cf: am 4701b5d2: merge from open-source masterThe Android Open Source Project2010-05-121-0/+1
|\ \ \ \ | |/ / /
| * | | am 4701b5d2: merge from open-source masterThe Android Open Source Project2010-05-121-0/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '4701b5d25c5617888ea754f373946c57534750cb' into kraken * commit '4701b5d25c5617888ea754f373946c57534750cb': Corrected a bug in SkPaint::breakText. Added GetUnitsPerEM method to SkFontHost
| | * | merge from open-source masterThe Android Open Source Project2010-05-121-0/+1
| | |\ \ | | | |/ | | | | | | | | Change-Id: Ic7024b390883841714ac6fb5f6a11f87a9f707a6
| | | * Corrected a bug in SkPaint::breakText.Peter Eliasson2010-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug occurs when linear text is meassured. E.g. without this correction, the following test case will fail String s = new String("abcdef"); Paint p = new Paint(); p.setLinearText(true); float width = p.measureText(s); int numberOfCharacters = p.breakText(s, true, width, null); assertTrue(numberOfCharacters == s.length()); The reason for this bug is that canonical text size is used to messure linear text while the maxWidth is not scaled correspondingly. Change-Id: Iede2d769e43e0914f3e877ee1f46eeeb6b5405ac Signed-off-by: Peter Eliasson <peter.eliasson.x@sonyericsson.com>
* | | | am 74054d95: am ff1f6696: merge from open-source masterThe Android Open Source Project2010-05-103-0/+82
|\ \ \ \ | |/ / /
| * | | am ff1f6696: merge from open-source masterThe Android Open Source Project2010-05-103-0/+82
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ff1f66966879e612660387285b7ead9c040ff88f' into kraken * commit 'ff1f66966879e612660387285b7ead9c040ff88f': Improved error handling when font loading fails. Added drawPosTextOnPath method. Adding check for missing color map in GIF decoder.
| | * | merge from open-source masterThe Android Open Source Project2010-05-103-0/+82
| | |\ \ | | | |/ | | | | | | | | Change-Id: I064902aa9745342ccfe868331ccc000767e92fc0
| | | * Added drawPosTextOnPath method.Andreas Borglin2010-04-263-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The drawPosTextOnPath method allows for text positioned on a straight line to be drawn along a path. This method can be used by layout engines to implement the Canvas::drawTextOnPath method for complex scripts. Change-Id: I2f9c22b8c97eeacb61cd6de7429ba875a1e7ade9
| | * | do not mergeMike Reed2010-04-141-1/+1
| |/ / | | | | | | | | | | | | | | | | | | fix buffer overwrite in call to sk_memset16 Change-Id: I0400555d49e7f0d2237bf130ea01c9b8339a49a3 http://b/issue?id=2595706
* | | refresh from trunkMike Reed2010-04-147-16/+59
|/ / | | | | | | Change-Id: I0175ec7482f8cf85d25165da360a5352979fd7a0
* | reenable neon opts for 32A->16 for dither and blend(nodither) w/ fix from motoMike Reed2010-04-122-34/+19
| | | | | | | | Change-Id: I899361e402ed5865f680548c75bbb12f8de89504
* | tread strokeandfill+hairline as fill, instead of stroke.Mike Reed2010-03-251-1/+4
| | | | | | | | | | | | | | | | This change makes the fast case for rects give the same result as drawPath (as it should) fixes http://code.google.com/p/android/issues/detail?id=4086 Change-Id: Ia002be6700ce0894d7ecb303625d83c95b66ae03
* | use 64bit intermediate to accumulate 16.16 advances, to avoid overflowMike Reed2010-03-191-7/+26
| | | | | | | | | | | | fixes http://b/issue?id=2422924 Change-Id: Ia3abd981f7f5954204517880e69d44125dcaadb5
* | fix bug in colorshaderMike Reed2010-03-121-4/+4
| | | | | | | | | | | | disable neon dither proc, until it gives consistent results between neon and residual loops Change-Id: I3db2230fb5c4aa8b9593abee6a8b9e25eaeef278
* | partial fix for http://b/issue?id=2486139Mike Reed2010-03-111-5/+7
| | | | | | | | | | | | off-by-1 in alpha for colorshader Change-Id: I6a6c75ac67725fad7cb17261236e1320cb5b1436
* | disable neon-opt for 32A->565 + alpha blend since it doesn't correctly treatMike Reed2010-03-091-17/+6
| | | | | | | | | | | | | | | | | | src-alpha == 0 as a no-op. update unittests to measure this Change-Id: If4d61ac5f7ff3d7fc27cbc3f242dbdf7ff4e76be http://b/issue?id=2333376
* | add NaN checks in keep places where were compute intersections / max+min valuesMike Reed2010-03-083-5/+16
| | | | | | | | | | | | | | | | detect that our compute t value in the chopper was imprecise, and clamp the segment so we don't accidentally return a segment completely below the clip Change-Id: I425ccc945ae7020834b066d2653c73ccd67a0989 http://b/issue?id=2034527
* | change entrypoint in bounder to pass more Glyph infoMike Reed2010-03-011-4/+19
| |
* | fix from senorblanco for inverse fillsMike Reed2010-02-223-9/+18
| |
* | refresh from skia/trunkMike Reed2010-02-092-3/+36
| |
* | move bounder check before lockPixels on the bitmapMike Reed2010-02-091-6/+11
| |
* | refresh from skia/trunk - xray utilitiesMike Reed2010-02-051-0/+130
| |
* | Merge "Take into accunt the edge type when doing a clip quickreject."Romain Guy2010-02-051-10/+23
|\ \
| * | Take into accunt the edge type when doing a clip quickreject.Romain Guy2010-02-041-10/+23
| | | | | | | | | | | | | | | Not taking into account the BW type was causing the view hierarchy to redraw too many views.
* | | update from skia/trunkMike Reed2010-02-052-0/+61
|/ /
* | refresh from skia/trunkMike Reed2010-01-261-6/+7
| |
* | refresh from skia/trunkMike Reed2010-01-192-13/+7
| |
* | refresh from skia/trunk, adds paint bit for bitmapfontsMike Reed2010-01-081-0/+7
| |
* | add inverse of textToGlyphs(), so we can extract the original text from the ↵Mike Reed2010-01-045-1/+51
| | | | | | | | | | | | | | | | | | | | | | browser display for copy/paste, given that webkit renders it using glyph codes (and we need unichars). hange 36311 in external/webkit is dependent on this. Fixes http://b/2166748
* | refresh from skia/trunkMike Reed2010-01-047-30/+23
| |
* | refresh from skia/trunkMike Reed2009-12-148-1/+23
| |
* | refresh from skia/trunk, hairline clipping fixesMike Reed2009-12-018-33/+83
| |
* | Merge change Ia8b45f65 into eclair-mr2Android (Google) Code Review2009-11-233-32/+46
|\ \ | | | | | | | | | | | | * changes: refresh from skia/trunk, fixing winding bug in lineclipper
| * | refresh from skia/trunk, fixing winding bug in lineclipperMike Reed2009-11-233-32/+46
| | | | | | | | | | | | also catch overflow in scalercontext
* | | guard machine/cpu.h with both android and __arm__Mike Reed2009-11-201-0/+2
|/ /