summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* am c894029a: am be29d82f: Merge "Correctly adjust clip regions that lie ↵Chet Haase2012-10-171-3/+14
|\ | | | | | | | | | | | | offscreen" into jb-mr1-dev * commit 'c894029a8e398502c058c2f5332bfe75d4b01735': Correctly adjust clip regions that lie offscreen
| * Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-devChet Haase2012-10-171-3/+14
| |\
| | * Correctly adjust clip regions that lie offscreenChet Haase2012-10-161-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were clamping the x/y location of the scissor to 0,0, but not adjusting the width/height appropriately. This fix adjusts width/height and also clamps them to 0 to correctly clip out offscreen operations. Issue #7221524 Top left and top right portions of the screen blanks out after some time Change-Id: I47f23336ea612409ed86652b9a68e272819ef00e
* | | am 3d2ecafd: am ec5acee1: Merge "workaround to unbreak the build (deadlock ↵Romain Guy2012-10-161-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | during boot)" into jb-mr1-dev * commit '3d2ecafd7742a93a3ca83993cf12f352aa998112': workaround to unbreak the build (deadlock during boot)
| * | workaround to unbreak the build (deadlock during boot)Mathias Agopian2012-10-161-1/+1
| | | | | | | | | | | | | | | bug: 7363206 Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7
* | | am fa71ba2c: am 1b85122b: Merge "Add API to enable mipmaps on Bitmap Bug ↵Romain Guy2012-10-164-3/+25
|\ \ \ | |/ / | | | | | | | | | | | | | | | #7353771" into jb-mr1-dev * commit 'fa71ba2c847622c0b23321477b3914f4a4cdd536': Add API to enable mipmaps on Bitmap Bug #7353771
| * | Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-devRomain Guy2012-10-164-3/+25
| |\ \
| | * | Add API to enable mipmaps on BitmapRomain Guy2012-10-164-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7353771 This API can be used when scaling large images down to a small size to get nicer looking results. Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
* | | | am 7b852ab3: am 5778cb9a: Merge "Always use the correct pixel store size Bug ↵Romain Guy2012-10-161-6/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | #7357394" into jb-mr1-dev * commit '7b852ab384ae420359309c959ec699992c94a86b': Always use the correct pixel store size Bug #7357394
| * | | Merge "Always use the correct pixel store size Bug #7357394" into jb-mr1-devRomain Guy2012-10-161-6/+4
| |\ \ \ | | |/ /
| | * | Always use the correct pixel store sizeRomain Guy2012-10-161-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7357394 When a bitmap is reused it may change configuration which can lead to a different pixel store alignment. Our current texture cache implementation assumes this never happens and keeps the old alignment which can lead to distorted texture (if the bitmap goes from ARGB8888 to RGB565 for instance.) Change-Id: Ic57acf2403411ae4d0924e92f221298350612617
* | | | am 3edb0dda: am 827dde0e: Merge "Support clipping in Canvas.drawBitmapMesh() ↵Romain Guy2012-10-161-24/+25
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Bug #7354162" into jb-mr1-dev * commit '3edb0dda40ae19653c51beb6c8858825e253f7b7': Support clipping in Canvas.drawBitmapMesh() Bug #7354162
| * | | Support clipping in Canvas.drawBitmapMesh()Romain Guy2012-10-161-24/+25
| |/ / | | | | | | | | | | | | | | | Bug #7354162 Change-Id: Ifd1d0b365e8a4d88e0ff0629c9ee13f27e1a7331
* | | am 779ba3ad: am 2aa50b6b: Merge "HW Acceleration support for stroked arcs ↵Chris Craik2012-10-153-47/+300
|\ \ \ | |/ / | | | | | | | | | | | | | | | with BUTT caps" into jb-mr1-dev * commit '779ba3ad84db57b99bfb742517e3ba157f3f8c4c': HW Acceleration support for stroked arcs with BUTT caps
| * | HW Acceleration support for stroked arcs with BUTT capsChris Craik2012-10-153-47/+300
| | | | | | | | | | | | | | | | | | bug:4419017 Change-Id: I7371bfb36cef460da861a47d4d945218c6d0c3d0
* | | am 82634313: Merge "Reject bad ResXMLTree::setTo calls"Kenny Root2012-10-121-0/+4
|\ \ \ | | | | | | | | | | | | | | | | * commit '826343138dfd8666d2263dd82bfdbf657fc1881e': Reject bad ResXMLTree::setTo calls
| * | | Reject bad ResXMLTree::setTo callsKenny Root2012-10-101-0/+4
| | | | | | | | | | | | | | | | | | | | Bug: http://code.google.com/p/android/issues/detail?id=21838 Change-Id: I1092499906f0cafe5a3c42ab2579edf3763cedb7
* | | | am fb0bfa2b: am 3add43ab: Merge "fix stroke sub-hairline threshold" into ↵Chris Craik2012-10-121-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | jb-mr1-dev * commit 'fb0bfa2b03a985c4c3cb548fbd56b4e1d4b62417': fix stroke sub-hairline threshold
| * | | Merge "fix stroke sub-hairline threshold" into jb-mr1-devChris Craik2012-10-121-1/+1
| |\ \ \ | | |_|/ | |/| |
| | * | fix stroke sub-hairline thresholdChris Craik2012-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | bug:7339943 Change-Id: I4051a03f4cd5bd2c313840208540601fb7a056e2
* | | | am 21ff8c9c: am 1460c8ca: Merge "Prevent possible divide by 0 Bug #7307304" ↵Romain Guy2012-10-101-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into jb-mr1-dev * commit '21ff8c9cf22b38ad577d7eb01088cb49274cb22d': Prevent possible divide by 0 Bug #7307304
| * | | Prevent possible divide by 0Romain Guy2012-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7307304 Should never happen, but eh :)) Change-Id: Ic7a09fd5c7a3622e6b4963f9ee6920e232018e2e
* | | | am 3bb02a34: am 38a64240: Merge "Allow 9patches to shrink Bug #7307304" into ↵Romain Guy2012-10-102-11/+17
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | jb-mr1-dev * commit '3bb02a347f453136dff28720aaf9d7db2f517bb4': Allow 9patches to shrink Bug #7307304
| * | | Allow 9patches to shrinkRomain Guy2012-10-102-11/+17
| |/ / | | | | | | | | | | | | | | | Bug #7307304 Change-Id: I1fabf6df99c18c86ab1ec0e1e398a3d6d4098496
* | | am 7952c4cd: am bb5f014a: Merge "Use offset in line drawing" into jb-mr1-devChris Craik2012-10-081-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '7952c4cd99b0a75922b11a5df55bf8f7cf24030c': Use offset in line drawing
| * | Merge "Use offset in line drawing" into jb-mr1-devChris Craik2012-10-081-1/+1
| |\ \
| | * | Use offset in line drawingChris Craik2012-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial revert of cb4d6009 bug:7299070 Change-Id: I1db7b035e3015e0f6d15c95aef71ea74dbeca13e
* | | | am f3c2eb79: am d6344d76: Merge "Work around a possible driver bug Bug ↵Romain Guy2012-10-071-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | #7296475" into jb-mr1-dev * commit 'f3c2eb79e4660692d85cc531c2825bff65270242': Work around a possible driver bug Bug #7296475
| * | | Work around a possible driver bugRomain Guy2012-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7296475 When re-enabling the scissor the driver seems to ignore the already existing scissor box. This change resets the scissor box when the test state changes. Change-Id: I3a68433164f99d21fbab769a26c56fe416c1539a
* | | | am d87cb794: am 0cd3c976: Merge "Settings (and general) restore fixes" into ↵Christopher Tate2012-10-041-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | jb-mr1-dev * commit 'd87cb794b063c503f4d732141904bd1edd5c5914': Settings (and general) restore fixes
| * | | Settings (and general) restore fixesChristopher Tate2012-10-041-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pro tem, we ignore wifi configuration data when restoring system settings. This is not ideal, but it *does* mean we do not bounce wifi off and on again during the extended restore process, which in turn means we don't interfere with things like the Play Store's download of applications. We do continue to back up wifi configuration, and will start using that data again when the new implementation that restores AP configurations without having to bounce wifi comes to pass. Also, this CL fixes a longstanding bug in BackupDataInput.skipEntityData() that was being reproduced reliably once settings restore was skipping the wifi-related entities in the restore stream. Bug 7249405 Change-Id: I61520a9a116b66ebdf95734d09d9afd46406df01
* | | am 77bcaaad: am 8257124c: Merge "Draw stroked rectangle as meshes instead of ↵Romain Guy2012-10-021-4/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | textures Bug #7233734" into jb-mr1-dev * commit '77bcaaad5c04dc42d66b7f15d8f2377077c2c52c': Draw stroked rectangle as meshes instead of textures Bug #7233734
| * | Draw stroked rectangle as meshes instead of texturesRomain Guy2012-10-021-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7233734 Stroked rectangles were rendered using software generated textures which would lead to slightly misaligned results. Instead, let's use the new convex path rendering code that will do the right thing (and save a lot of bandwidth.) Change-Id: Ib95ff581e56c1ecead97e4919298e6fd146ca167
* | | am cee11240: am 07b4339b: Merge "Change androidfw tests to native test target"Kenny Root2012-10-022-22/+11
|\ \ \ | |/ / |/| / | |/ | | * commit 'cee1124052202c7f2a1956a54e5aa538d82197a7': Change androidfw tests to native test target
| * am 07b4339b: Merge "Change androidfw tests to native test target"Kenny Root2012-10-022-22/+11
| |\ | | | | | | | | | | | | * commit '07b4339b2a2f39c17194b21dc301c0c026a2f197': Change androidfw tests to native test target
| | * Change androidfw tests to native test targetKenny Root2012-10-022-22/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the androidfw tests to the BUILD_NATIVE_TEST target so they end up in the correct directory. Also remove the module tags and C include paths. The include paths are automatically added when the library is used. Change-Id: Ia47f6c25130c5068b89d6dc067e5d9c714a6d08a
| * | am 5c09d605: Merge "Fix CacheBitmap crash issue when using H/W UI rendering"Jean-Baptiste Queru2012-09-111-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '5c09d605678d64e05579bb668b615764a714f1f7': Fix CacheBitmap crash issue when using H/W UI rendering
| | * Fix CacheBitmap crash issue when using H/W UI renderingJun Tian2012-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid to access invalid index in CacheBitmap. That will cause the android SDK image cannot be booted up with H/W GL enabling. This patch is required by both ARM and x86 SDK system image. Change-Id: I705b7f06915a2338a2f94509486344bfd92b4bfb Signed-off-by: Jun Tian <jun.j.tian@intel.com> Signed-off-by: Jackie Wu <jackie.wu@intel.com> Signed-off-by: Liang Chen <liang.l.chen@intel.com> Signed-off-by: Panfeng Chang <panfengx.chang@intel.com>
* | | Quick reject empty pathsChris Craik2012-10-012-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:7260035 Adding a circle of radius 0 to a path is a no-op in skia, so detect this case both in the PathRenderer, and in quickReject(). Change-Id: I7a172db49a5d5351b4734b39d4e4ca6379658096
* | | Fix texture corruptionChet Haase2012-09-303-34/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When memory gets low on a device, activities flush everything they can. Hardware-accelerated activites, such as Launcher, flush GL resources and destroy the GL context. However, some resources were still hanging around, due to deferred destruction policies (we don't delete layers until the DisplayLists they are in are finalized, to ensure we don't deref deleted objects). This meant that we were referring to obsolete GL data in these objects. in particular, it meant that we might come around later, after a new GL context was created, and delete a texture object that was incorrect. We use the layer's "texture id" to refer to the texture underlying the layer. But if there's a new GL context, then this texture ID is no longer valid, and we may be deleting the texture that a different object (layer, icon, whatever) is referring to, because the driver may return that same ID under the new GL context. The fix is to more aggressively delete things that we know will not be used again when the GL context is destroyed. In particular, we delete all resources being used by all DisplayLists at GL context destruction time. Issue #7195815 Textures corruption on all devices, in many apps Change-Id: I52d2d208173690dbb794a83402d38f14ea4c6c22
* | | Merge "Fix issue #7202950: After clearing data, clear data button is still ↵Dianne Hackborn2012-09-281-4/+3
|\ \ \ | | | | | | | | | | | | enabled." into jb-mr1-dev
| * | | Fix issue #7202950: After clearing data, clear data button is still enabled.Dianne Hackborn2012-09-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Count the lib symlink against the app's code size. Also be sure to look at the new separate lib path for apps, and tweak the size counting to also count the size of directory entries. Change-Id: I4b0fd5771f249faa05fd72f08062df885902cc97
* | | | Fix a couple of rendering issuesRomain Guy2012-09-287-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7253839 1. Make sure we don't make GL calls while recording display lists 2. Disable an early and trivial clip optimization in font renderer when a perspective transformation is used on the Canvas Change-Id: I3f1052164239329346854f72d0a0d401fbfecf06
* | | | Merge "Plug memory leak that happens when reusing display lists Bug ↵Hiroshi Lockheimer2012-09-271-6/+8
|\ \ \ \ | | | | | | | | | | | | | | | #7195815" into jb-mr1-dev
| * | | | Plug memory leak that happens when reusing display listsRomain Guy2012-09-271-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7195815 We did not reclaim resources when reusing an existing DisplayList to record a new empty list of commands. This would lead to various memory leaks: bitmaps, paints, paths, matrices, etc. This is not a common case but some apps run into this situation, such as Launcher. Change-Id: I2eb14ac86a212123f8edbe42b70a7c1c51fa4145
* | | | | Merge changes I9873540e,I4f6c38e3 into jb-mr1-devRomain Guy2012-09-277-8/+63
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | * changes: Skia's ColorMatrix vector is in the 0..255 range not 0..1 Bug #7248980 Don't use the QCOM_tiled_rendering extension with functors Bug #7247880
| * | | | Skia's ColorMatrix vector is in the 0..255 range not 0..1Romain Guy2012-09-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7248980 Change-Id: I9873540e3bc1ea0526ea0884279a427c0de96006
| * | | | Don't use the QCOM_tiled_rendering extension with functorsRomain Guy2012-09-276-8/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7247880 Change-Id: I4f6c38e37b953c58e6107097c613891a49dac766
* | | | | Fix rectangle AA offset calculationChris Craik2012-09-272-29/+54
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:4419017 Fixes compiler warning Handle bezier thresholds with large stroke widths better Fix sub-hairlines (for scaleX == scaleY) Change-Id: Ida387483348ee61424b7fba729abca2a88bd68b3
* | | | Merge "Add stroke support to polygonal shape rendering" into jb-mr1-devChris Craik2012-09-277-179/+362
|\ \ \ \ | |/ / / |/| | |