aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-01Merge "Fix compilation errors:"tools_r9tools_r8froyo-plus-aospJean-Baptiste Queru
2010-09-03Support various types of animation gif.android-adt-0.9.9tools_r7Makoto Kamiya
Original code only supports an animation gif whose frames are all same size and all same color format. This modification supports various type of animation gif specified in GIF89a. <http://www.w3.org/Graphics/GIF/spec-gif89a.txt> Change-Id: I517182d2d227c9330aaff1c4cebc6c02b31ff8a6
2010-08-17Fix compilation errors:Rene Bolldorf
SkFlipPixelRef.cpp: SkPixelRef::Registrar::Registrar reg(...), names the constructor, not the type. SkImageRef_GlobalPool.cpp: SkPixelRef::Registrar::Registrar reg(...), names the constructor, not the type. Change-Id: I778005bc874b811cfa5be2fa1a0ad1ebe9b2450b
2010-05-19merge from open-source masterandroid-sdk-tools_r7android-adt-0.9.8The Android Open Source Project
Change-Id: Ic9add408166bf9a0350db904e15912b723e55a15
2010-05-18Use SkScalarMulDiv where appropriateJean-Baptiste Queru
Change-Id: I0871ad4aa742706d6bc0cef62925de1c2a20c99d
2010-05-12merge from open-source masterThe Android Open Source Project
Change-Id: Ic7024b390883841714ac6fb5f6a11f87a9f707a6
2010-05-11Merge "Corrected a bug in SkPaint::breakText."Jean-Baptiste Queru
2010-05-11Corrected a bug in SkPaint::breakText.Peter Eliasson
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>
2010-05-11Added GetUnitsPerEM method to SkFontHostPeter Eliasson
GetUnitsPerEM can be used as convenience method to find out the number of font units per EM square without having to fetch the head table. Change-Id: I6f09b86a13e020ff74156571782f4bc822b7c1f3
2010-05-10merge from open-source masterThe Android Open Source Project
Change-Id: I064902aa9745342ccfe868331ccc000767e92fc0
2010-05-07Merge "Adding check for missing color map in GIF decoder."Jean-Baptiste Queru
2010-05-07Merge "Improved error handling when font loading fails."Jean-Baptiste Queru
2010-05-07Merge "Added drawPosTextOnPath method."David Turner
2010-05-06am f393f015: For issue #2651381, allow library prelinking.Dan Bornstein
Merge commit 'f393f015a3bd0709645b8f464ee41c82fc7624e2' into froyo-plus-aosp * commit 'f393f015a3bd0709645b8f464ee41c82fc7624e2': For issue #2651381, allow library prelinking.
2010-05-05For issue #2651381, allow library prelinking.android-sdk-tools_r6android-sdk-2.2_r2android-sdk-2.2_r1android-cts-2.2_r8android-cts-2.2_r7android-cts-2.2_r6android-cts-2.2_r5android-cts-2.2_r4android-cts-2.2_r3android-cts-2.2_r2android-cts-2.2_r1android-2.2_r1.3android-2.2_r1.2android-2.2_r1.1android-2.2_r1android-2.2.3_r2.1android-2.2.3_r2android-2.2.3_r1android-2.2.2_r1android-2.2.1_r2android-2.2.1_r1froyo-releasefroyoDan Bornstein
Change-Id: Id386c3cf549c5856de1c0c0a91665b20e59672e0
2010-05-03am 49bb5903: Update skia/emoji license notices for better accuracyThe Android Open Source Project
Merge commit '49bb59032f09fd9724d4c17c6097337d59324904' into froyo-plus-aosp * commit '49bb59032f09fd9724d4c17c6097337d59324904': Update skia/emoji license notices for better accuracy
2010-04-28merge from open-source masterThe Android Open Source Project
Change-Id: I8d2072f805d76c51824b65447def412d21ca99ca
2010-04-28Update skia/emoji license notices for better accuracyThe Android Open Source Project
Change-Id: I1e93e5d5d0f1c859819f3a84566647fd736e5fb5
2010-04-28Update skia/emoji license notices for better accuracyThe Android Open Source Project
Bug: 2638848 Change-Id: I4e028825bfb45b2a4c484899f3ec4cba3d96deb1
2010-04-26Improved error handling when font loading fails.Peter Eliasson
Without this this patch, an application could trigger a platform crash by calling: Typeface typeface = Typeface.createFromFile(""); boolean isBold = typeface.isBold(); The crash occurs since the find_name_and_style function does not return an error code. Change-Id: Id1d2a43b47d956c5a52f01e7d4b8cbb12631d59a
2010-04-26Added drawPosTextOnPath method.Andreas Borglin
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
2010-04-21Adding check for missing color map in GIF decoder.Fredrik Lanker
A missing color map for a GIF image could previously lead to a crash. This commit adds a NULL check to prevent that from happening. Change-Id: I5ecdfda979925a6de1eac6aae2bcae6a25b47f18
2010-04-14do not mergeMike Reed
fix buffer overwrite in call to sk_memset16 Change-Id: I0400555d49e7f0d2237bf130ea01c9b8339a49a3 http://b/issue?id=2595706
2010-04-12restore prev version with neon turned onMike Reed
Change-Id: I3b71be7e534d2313108f755df2b2fb474d240dad
2010-04-12reenable neon opts for 32A->16 for dither and blend(nodither) w/ fix from motoMike Reed
Change-Id: I899361e402ed5865f680548c75bbb12f8de89504
2010-04-06fix dither->4444 to keep alpha >= colorMike Reed
Change-Id: Ib92980c1aab25e4dc037ea9119643dc04f3618f3
2010-04-05invert glyphs to text for dumpMike Reed
Change-Id: I050ea03bc67fd80660f8b6140c63a714a1d06e3f
2010-03-25tread strokeandfill+hairline as fill, instead of stroke.Mike Reed
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
2010-03-23fix bookkeeping on fParent (was firing assets on some sites)Mike Reed
Change-Id: I0c99b42cca2a9245b6d983f1d91c4d675f66fb14
2010-03-23add inherit-from-root-transform flagMike Reed
Change-Id: I9ffdb50bde0c53070611c7dc626c384eca0906ea
2010-03-23Enable EmojiFont to return converter name for Shift_JIS.Daisuke Miyakawa
This function will be used in WebKit (ucnv.cpp), which currently embeds the string "docomo-emoji", which is not flexible. Bug: 2327318 Change-Id: Iccbef2882ad931bde9b3ddefe34e81646e5b0686
2010-03-19use 64bit intermediate to accumulate 16.16 advances, to avoid overflowMike Reed
fixes http://b/issue?id=2422924 Change-Id: Ia3abd981f7f5954204517880e69d44125dcaadb5
2010-03-16refresh from skia/trunkMike Reed
Change-Id: Ie6e18f698c2efc66110146af41afdb7cac5d8bd5
2010-03-12improve precision of blendMike Reed
fixes http://b/issue?id=2136225 Change-Id: Ifa01a04406e1b53ffbd12a29a81445eeb60f0e60
2010-03-12Merge "fix bug in colorshader disable neon dither proc, until it gives ↵Mike Reed
consistent results between neon and residual loops"
2010-03-12fix bug in colorshaderMike Reed
disable neon dither proc, until it gives consistent results between neon and residual loops Change-Id: I3db2230fb5c4aa8b9593abee6a8b9e25eaeef278
2010-03-11Merge "partial fix for http://b/issue?id=2486139 off-by-1 in alpha for ↵Mike Reed
colorshader"
2010-03-11partial fix for http://b/issue?id=2486139Mike Reed
off-by-1 in alpha for colorshader Change-Id: I6a6c75ac67725fad7cb17261236e1320cb5b1436
2010-03-09Add missing library in command line to the linker. Currently this library isDoug Kwan
included implicitly via inter-library dependency. The library is also used by the main executable. Change-Id: Ib5562dbc481af6d95823c97e63355037e0049f7e
2010-03-09Merge "disable neon-opt for 32A->565 + alpha blend since it doesn't ↵Mike Reed
correctly treat src-alpha == 0 as a no-op."
2010-03-09disable neon-opt for 32A->565 + alpha blend since it doesn't correctly treatMike Reed
src-alpha == 0 as a no-op. update unittests to measure this Change-Id: If4d61ac5f7ff3d7fc27cbc3f242dbdf7ff4e76be http://b/issue?id=2333376
2010-03-08Add an empty CleanSpec.mkJean-Baptiste Queru
Change-Id: I1e49c30d483d678d393f99d0ce3af9a1ab0a9f53
2010-03-08add NaN checks in keep places where were compute intersections / max+min valuesMike Reed
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
2010-03-04update jpeg ram limits for large and small RAM class devicesMike Reed
http://b/issue?id=2401896 Before the fix, the image referenced in the bug would take 30+ seconds to load on a large device, and would crash a small device. On the small device, there was no RAM cap set, since the property we queried for does not exist there. On the large device, the properties value was too small, so I hard-code a larger one that seems to work better.
2010-03-03remove debugging printfMike Reed
2010-03-03add optional preftable to image codecs, for more control over the resulting ↵Mike Reed
bitmap config
2010-03-02add arabic, hebrew, thai fonts to our fallback listMike Reed
2010-03-01change entrypoint in bounder to pass more Glyph infoMike Reed
2010-02-26don't abort drawing based on the layer's size, since it need not clip its ↵Mike Reed
children
2010-02-24refresh from trunkMike Reed