aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
* Fix 3117581, where BitmapRegionDecoder fails in building tile index forWei-Ta Chen2010-10-201-24/+4
| | | | | | | | | PNG files. The virtual method of building tile index in SkImageDecoder was changed to onBuildTileIndex(). SkPNGImageDecoder needs to override the method. Change-Id: I7c78844a4d4f7aadff5fa8fa1aa99173317139b2
* Fix 3071104, where decodeRegion returned false for some large image.Wei-Ta Chen2010-10-183-20/+39
| | | | | | | | | | | | decodeRegion() returns false when it cannot find a suitable color config for SkScaledBitmapSampler. Currently SkScaledBitmapSampler does not support RGB_565. If cinfo->out_color_space is set to RGB_565 and we require SkScaledBitmapSampler to do the extra sampling, we will fail in finding a suitable color config for SkScaledBitmapSampler. To fix it, we add support of RGB_565 into SkSclaedBitmapSampler. Change-Id: I506f4f8c55518ff356345e616e16c4b4cd0712de
* 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 d178ac36: am 956f20ce: Use MOTOYA Japanese fonts (MTLmr3m.ttf, ↵satok2010-09-241-0/+2
|\ | | | | | | | | | | | | | | | | MTLc3m.ttf) for Japanese fonts Merge commit 'd178ac36bda038176a99943e2b50a2f0ae3ecc5c' * commit 'd178ac36bda038176a99943e2b50a2f0ae3ecc5c': Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts
| * am 956f20ce: Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for ↵satok2010-09-241-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Japanese fonts Merge commit '956f20cebc0d9c7a1c59dc18a556b7aaff22b39c' into gingerbread-plus-aosp * commit '956f20cebc0d9c7a1c59dc18a556b7aaff22b39c': Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fonts
| | * Use MOTOYA Japanese fonts (MTLmr3m.ttf, MTLc3m.ttf) for Japanese fontssatok2010-09-241-0/+2
| | | | | | | | | | | | Change-Id: I1eccbe49f88c155b4b5490e2783db9d3ef2371be
* | | am 2626a123: am c408f5a2: Merge "Rename SkLargeBitmap to ↵Wei-Ta Chen2010-09-222-7/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | SkBitmapRegionDecoder (the previous renaming was reverted)." into gingerbread Merge commit '2626a12394e8b284ff7d88e0ec0e99beaa31b795' * commit '2626a12394e8b284ff7d88e0ec0e99beaa31b795': Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was reverted).
| * | am c408f5a2: Merge "Rename SkLargeBitmap to SkBitmapRegionDecoder (the ↵Wei-Ta Chen2010-09-222-7/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | previous renaming was reverted)." into gingerbread Merge commit 'c408f5a2507a959ee52b8d5ba25894d52f0a3b9e' into gingerbread-plus-aosp * commit 'c408f5a2507a959ee52b8d5ba25894d52f0a3b9e': Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was reverted).
| | * Merge "Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming ↵Wei-Ta Chen2010-09-222-7/+7
| | |\ | | | | | | | | | | | | was reverted)." into gingerbread
| | | * Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was ↵Wei-Ta Chen2010-09-202-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reverted). The change is identical to https://android-git.corp.google.com/g/#change,64714 . Change-Id: If0136fcc96bcdab323607b701e2ef69ddf42f63d
* | | | am 9348eeb7: am 6a7506af: Fix the sim build in master by casting void* to ↵Wei-Ta Chen2010-09-191-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | char* before doing arithmetic. Merge commit '9348eeb77ad70462091c8c854b52b651e392be0b' * commit '9348eeb77ad70462091c8c854b52b651e392be0b': Fix the sim build in master by casting void* to char* before doing arithmetic.
| * | | am 6a7506af: Fix the sim build in master by casting void* to char* before ↵Wei-Ta Chen2010-09-191-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | doing arithmetic. Merge commit '6a7506afb1bde2933f4c2d00244b4ad0d15e135c' into gingerbread-plus-aosp * commit '6a7506afb1bde2933f4c2d00244b4ad0d15e135c': Fix the sim build in master by casting void* to char* before doing arithmetic.
| | * | Fix the sim build in master by casting void* to char* before doing arithmetic.Wei-Ta Chen2010-09-201-1/+1
| | | | | | | | | | | | | | | | Change-Id: I8bd5a45ac788cbfb42048ca7527a1c941078d66b
* | | | am 2ff9c8dd: am 58971879: Add the tile-based decoding capability to the PNG ↵Joseph Wen2010-09-193-152/+435
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | decoder. Merge commit '2ff9c8dd5defefc240f1b871a6927cb4352c0077' * commit '2ff9c8dd5defefc240f1b871a6927cb4352c0077': Add the tile-based decoding capability to the PNG decoder.
| * | | am 58971879: Add the tile-based decoding capability to the PNG decoder.Joseph Wen2010-09-193-152/+435
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '58971879258a502a7568fbad0e6852e78c3eca3c' into gingerbread-plus-aosp * commit '58971879258a502a7568fbad0e6852e78c3eca3c': Add the tile-based decoding capability to the PNG decoder.
| | * | Add the tile-based decoding capability to the PNG decoder.Joseph Wen2010-09-203-152/+435
| | |/ | | | | | | | | | Change-Id: Ie506dbf914cca9ad8a55747657abbe2a245ef217
* | | am 89913494: am f610b335: Support various types of animation gif.Makoto Kamiya2010-09-101-75/+295
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '899134948db82c4e2f529460f0d8b4f4e9077994' * commit '899134948db82c4e2f529460f0d8b4f4e9077994': Support various types of animation gif.
| * | am f610b335: Support various types of animation gif.Makoto Kamiya2010-09-101-75/+295
| |\ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'f610b3352155a903c7510e9e3a0cb0238419f7d5' into gingerbread-plus-aosp * commit 'f610b3352155a903c7510e9e3a0cb0238419f7d5': Support various types of animation gif.
| | * Support various types of animation gif.Makoto Kamiya2010-09-031-75/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 3a1cc970: Fix bug in SkImageDecoderJoseph Wen2010-09-104-38/+35
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '3a1cc9700bf928ed3b1e05c7edc543124440c54c' * commit '3a1cc9700bf928ed3b1e05c7edc543124440c54c': Fix bug in SkImageDecoder
| * | Fix bug in SkImageDecoderJoseph Wen2010-09-104-38/+35
| | | | | | | | | | | | Change-Id: I6d214e4d8cce49f7e12eeb924493161dadd5aa26
* | | Merge "Expose Xfermode's mode in the SkXfermode class."Romain Guy2010-09-091-8/+14
|\ \ \
| * | | Expose Xfermode's mode in the SkXfermode class.Romain Guy2010-09-091-8/+14
| | | | | | | | | | | | | | | | Change-Id: Ibdb7620348ee7af585a58ad43b26d3d6f47c403c
* | | | am 6c2274b8: Fix SkJpegUtility bug.Joseph Wen2010-09-091-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Merge commit '6c2274b8d00b700512b0fc53ed4f1f4e68d33272' * commit '6c2274b8d00b700512b0fc53ed4f1f4e68d33272': Fix SkJpegUtility bug.
| * | | Fix SkJpegUtility bug.Joseph Wen2010-09-091-2/+2
| | | | | | | | | | | | | | | | Change-Id: Iac0ac65dd87629e274b5985f2c21e21d7e673d17
* | | | am ea22e420: Fix bug in SkImageDecoder.buildTileIndex()Joseph Wen2010-09-081-3/+13
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | Merge commit 'ea22e42026418b6b9919a94ff04930c978c4c777' * commit 'ea22e42026418b6b9919a94ff04930c978c4c777': Fix bug in SkImageDecoder.buildTileIndex()
| * | Fix bug in SkImageDecoder.buildTileIndex()Joseph Wen2010-09-091-3/+13
| | | | | | | | | | | | | | | | | | We can not determined the input SkStream length by getLength() Change-Id: I2c0420f4312736ec742da4af9b4315af3418e2c7
| * | Revert "Rename SkLargeBitmap to SkBitmapRegionDecoder."Wei-Ta Chen2010-09-082-7/+7
| | | | | | | | | | | | This reverts commit 2d8e78250676546c549082dc988e7262ab1bb154.
* | | Revert "Rename SkLargeBitmap to SkBitmapRegionDecoder."Wei-Ta Chen2010-09-082-7/+7
| | | | | | | | | | | | This reverts commit 2d8e78250676546c549082dc988e7262ab1bb154.
* | | am 2d8e7825: Rename SkLargeBitmap to SkBitmapRegionDecoder.Wei-Ta Chen2010-09-072-7/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '2d8e78250676546c549082dc988e7262ab1bb154' * commit '2d8e78250676546c549082dc988e7262ab1bb154': Rename SkLargeBitmap to SkBitmapRegionDecoder.
| * | Rename SkLargeBitmap to SkBitmapRegionDecoder.Wei-Ta Chen2010-09-062-7/+7
| | | | | | | | | | | | Change-Id: I093aea3d5e3e89c75b5086ede2b8bb30d8ceed95
* | | Ensure the OpenGL renderer is not given gamma corrected fonts.Romain Guy2010-08-271-9/+17
| | | | | | | | | | | | Change-Id: Ie58f75c2bb2b09fc2e1e96ad94ad7c907d067bd4
* | | am 4ec6d1c7: Fix bug in SkJPEGImageDecoder.Joseph Wen2010-08-241-11/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '4ec6d1c74c7ecbfd07adaec3810d64531a79b532' * commit '4ec6d1c74c7ecbfd07adaec3810d64531a79b532': Fix bug in SkJPEGImageDecoder.
| * | Fix bug in SkJPEGImageDecoder.Joseph Wen2010-08-231-11/+6
| | | | | | | | | | | | | | | | | | The calculation of actualSampleSize should be rounding up not down. Change-Id: I2964e92265d9e3b1e8e6843c3d1fc0a1528afd4a
| * | DO NOT MERGE. Add an API to correctly copy the isOpaque flage of an ImageRef ↵Romain Guy2010-08-191-0/+10
| | | | | | | | | | | | | | | | | | to Bitmap. Change-Id: I64904bf4d77a0d84f92d31024f48a2e3e0514f73
* | | Applies the paint's alpha to drop shadows.Romain Guy2010-08-191-1/+8
| | | | | | | | | | | | Change-Id: I52b8988fe8e986a0bb09c24b0338cb910ff54874
* | | Add an API to correctly copy the isOpaque flage of an ImageRef to Bitmap.Romain Guy2010-08-191-0/+10
| | | | | | | | | | | | Change-Id: I4aef8381bb6f722c0630ddc15a32a0ef07041613
* | | am ae3c9823: Fix master sim breakJoseph Wen2010-08-171-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'ae3c9823f39f96243d0f69d90363dc43e1540c09' * commit 'ae3c9823f39f96243d0f69d90363dc43e1540c09': Fix master sim break
| * | Fix master sim breakJoseph Wen2010-08-171-0/+3
| | | | | | | | | | | | Change-Id: If1fd071cad08b23bc44c4ca29bcc71a9c68696b9
* | | am 97fa2e45: Do JPEG tile-based decoding.Joseph Wen2010-08-164-6/+404
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '97fa2e455b2040c99c5b6f3e3d2ad6c9b4062081' * commit '97fa2e455b2040c99c5b6f3e3d2ad6c9b4062081': Do JPEG tile-based decoding.
| * | Do JPEG tile-based decoding.Joseph Wen2010-08-164-6/+404
| | | | | | | | | | | | Change-Id: I795129d55a0a7da90b4d604a902066868933d2a9
* | | Add Overlay blending mode for Android.Romain Guy2010-08-101-1/+2
| | | | | | | | | | | | Change-Id: Ia17cec1fd8a25a45f8826948a8c76e024decef65
* | | 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
* | | If the required area to fill is smaller than the 2 bordersLeon Clarke2010-06-141-3/+26
| | | | | | | | | | | | | | | | | | | | | in one dimension then scale the borders. http://b/issue?id=2661748 Change-Id: I03446758feb0e7501473dcd42e87b6c07eba5270
* | | Add ashmem image ref flattening.Patrick Scott2010-05-242-0/+42
| | | | | | | | | | | | | | | Bug: 2612735 Change-Id: Iecfc11512c1d234fbf312aab4192b6c38c6c14b6