1. 01 Apr, 2011 2 commits
  2. 31 Mar, 2011 1 commit
  3. 11 Mar, 2011 1 commit
  4. 08 Mar, 2011 1 commit
  5. 24 Feb, 2011 6 commits
  6. 23 Feb, 2011 2 commits
    • Eric Hassold's avatar
      Check for pixels allocation failure · 800e1ff0
      Eric Hassold authored
      Standard memory allocator in Skia abort when an allocation request
      fails. However, when allocating in managed heap, need to check for
      allocation failure in allocPixels(). This add checks for all allocPixels
      calls in Skia Bitmap code.
      
      Bug: 3418381
      Change-Id: I3c4ac403a3c073d64a689b29d3baccdc7fc90e1a
      800e1ff0
    • Derek Sollenberger's avatar
      Skia Merge (revision 808) · 40528743
      Derek Sollenberger authored
      This merge has companion changes in the following projects in order
      to be compatible with changes to skia interfaces and practices:
      
      1. /frameworks/base
      2. /external/webkit
      
      Change-Id: I54092971305579e81a8fdb27bbe04ec340792e3b
      40528743
  7. 30 Jan, 2011 3 commits
  8. 27 Jan, 2011 1 commit
  9. 20 Jan, 2011 2 commits
  10. 19 Jan, 2011 1 commit
  11. 14 Jan, 2011 3 commits
  12. 13 Jan, 2011 3 commits
  13. 12 Jan, 2011 1 commit
    • Wei-Ta Chen's avatar
      Do not merge. · b4f070ed
      Wei-Ta Chen authored
      Backport changes/fixes related to tile-based decoder from Honeycomb to
      Gingerbread.
      
      Bug: 3309014
      
      ////////////////////////////////////////////////////////////////////
      This is a combination of 3 commits.
      
      Fix 3071104, where decodeRegion returned false for some large image.
      
      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
      
      Fix 3117581, where BitmapRegionDecoder fails in building tile index for
      PNG files.
      
      The virtual method of building tile index in SkImageDecoder was changed to onBuildTileIndex().
      SkPNGImageDecoder needs to override the method.
      
      Change-Id: I7c78844a4d4f7aadff5fa8fa1aa99173317139b2
      
      Add fPreferQualityOverSpeed to SkImageDecoder.
      
      Currently the field only affects JPEG decode, in that when it is set
      to true, we choose a more accurate, but slightly slower, IDCT method.
      
      Bug: 3238925
      /////////////////////////////////////////////////////////////////////
      b4f070ed
  14. 05 Jan, 2011 1 commit
    • Eric Hassold's avatar
      Add support for WebP format in Skia · 8432fc7b
      Eric Hassold authored
      This enable Skia to decode WebP images. Since BitmapFactory relies
      on Skia to decode images, this aims at adding support for WebP format
      in any application relying on BitmapFactory. Decoder relies on
      libwepb library, imported as external library in external/webp in
      Android source tree.
      
      Change-Id: I13ef4c1404b989af6a856e9150c62e297200331b
      8432fc7b
  15. 15 Dec, 2010 4 commits
  16. 14 Dec, 2010 1 commit
  17. 11 Dec, 2010 1 commit
  18. 10 Dec, 2010 1 commit
    • Bryan Mawhinney's avatar
      Fix pixel ref counting bug in image decode. · 029fadbd
      Bryan Mawhinney authored
      Previously we called bitmap->swap while in the scope of
      SkAutoLockPixels, which results in the swapped ref count
      being decremented by ~SkAutoLockPixels
      
      Change-Id: I165ab161f2db6529db2e79665981cada5ff7d54a
      029fadbd
  19. 09 Dec, 2010 1 commit
  20. 07 Dec, 2010 2 commits
  21. 06 Dec, 2010 1 commit
    • Wei-Ta Chen's avatar
      Add fPreferQualityOverSpeed to SkImageDecoder. · 11367612
      Wei-Ta Chen authored
      Currently the field only affects JPEG decode, in that when it is set
      to true, we choose a more accurate, but slightly slower, IDCT method.
      
      Bug: 3238925
      Change-Id: I7da20de7281243dc3e246b328517df10039cd290
      11367612
  22. 02 Dec, 2010 1 commit