summaryrefslogtreecommitdiffstats
path: root/libs/hwui
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix kSkippedFrame setting" into mnc-devJohn Reck2015-05-081-2/+5
|\
| * Fix kSkippedFrame settingJohn Reck2015-05-081-2/+5
| | | | | | | | | | | | | | | | It was only set previously if RenderThread dropped the frame, but not if the UI thread frame was dropped. Unify the two paths Change-Id: If2574edde3cb0949deed4e47f3daaddb890a1b28
* | Add eglSwapBuffersWithDamageKHR supportJohn Reck2015-05-086-32/+76
|/ | | | | | | BUG: 20761426 Disabled temporarily Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
* Fix buildJohn Reck2015-05-071-1/+1
| | | | Change-Id: I233f943041ce46b0d69e0e2f5e0dcda9aa9b7d4b
* Merge "Fix clang warnings on unused variable, mismatched tag, print format." ↵Chih-Hung Hsieh2015-05-071-1/+0
|\ | | | | | | into mnc-dev
| * Fix clang warnings on unused variable, mismatched tag, print format.Chih-Hung Hsieh2015-05-071-1/+0
| | | | | | | | | | BUG: 20890093 Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
* | Merge "Remove SkBitmap from ResourceCache" into mnc-devJohn Reck2015-05-074-118/+4
|\ \ | |/ |/|
| * Remove SkBitmap from ResourceCacheJohn Reck2015-05-074-118/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18928352 Fully-proper refcounting via SkBitmap/SkPixelRef, no more side-channel refcounting via ResourceCache. Makes HWUI more resilient to the bitmap being modified as well as the SkBitmap's info & rowBytes() is updated every time a DisplayList is recorded instead of relying on buggy cache eviction logic Change-Id: I2e8292d62ab6c257a2cfa1542387bf2bf1ade816
* | Delete a bunch of dead codeJohn Reck2015-05-072-26/+6
|/ | | | | | | Rotation wasn't supported, so just nuke all the code around it. Fixes some unused field warnings Change-Id: Ic33d56ed3b42e3261bddc5007c5a029831254f83
* Add frame count option to hwuitest. Also add shadowgrid2 to hwuitestTim Murray2015-05-061-10/+70
| | | | Change-Id: I069a2836cf1405adfd018ba0a058bf8f4a1cd39c
* Add loop option to hwuitest.Tim Murray2015-05-061-1/+14
| | | | Change-Id: I15b6b121bd6bd963e5b433bdd93d6dc3e83645b8
* Merge "Cleanup properties" into mnc-devChris Craik2015-05-0519-266/+303
|\
| * Cleanup propertiesChris Craik2015-05-0519-266/+303
| | | | | | | | | | | | | | | | | | | | | | | | bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
* | Merge "Dump profile info after running test" into mnc-devJohn Reck2015-05-055-6/+54
|\ \
| * | Dump profile info after running testJohn Reck2015-05-055-6/+54
| |/ | | | | | | | | | | | | | | | | | | Bug: 20824843 Not really a proper "benchmark mode" but it turns out we already have reasonably good profile data, so tweak the test app to spit it out after a run. Change-Id: Iaee9c0d61b5508daf282fe5f95d0b37ee419a8f1
* | Add some basic DA unit testsJohn Reck2015-05-052-0/+82
|/ | | | Change-Id: I01e32a8f0db34a27672010cea275de32d7500dd7
* Fix setName use-after-freeJohn Reck2015-05-041-1/+1
| | | | | Bug: 20764439 Change-Id: I7a0f85bb82629b1302db02015fa493dc09eb31f7
* Remove Bitmap#getSkBitmapJohn Reck2015-05-014-17/+17
| | | | Change-Id: Ifb9047b426122d3e5a445eb7a0eb3fce38dedf27
* Move AssetAtlas off of SkBitmap*John Reck2015-05-012-39/+45
| | | | | | Switched to SkPixelRef* Change-Id: I4a1d9dc6c55c1ebcce6b0b8c585e69559e523898
* Merge "A bunch more cleanups" into mnc-devJohn Reck2015-05-012-3/+3
|\
| * A bunch more cleanupsJohn Reck2015-04-302-3/+3
| | | | | | | | | | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* | Fix rendernode flag loggingChris Craik2015-04-301-1/+1
| | | | | | | | Change-Id: I978c54ab26ef6dc3f6caef8604ac77a883b8e913
* | Merge "Remove concept of layer alpha override" into mnc-devChris Craik2015-04-296-56/+10
|\ \
| * | Remove concept of layer alpha overrideChris Craik2015-04-286-56/+10
| | | | | | | | | | | | | | | bug:19412691 Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
* | | Merge "Require minimum 4 bit stencil for layers." into mnc-devChris Craik2015-04-293-9/+11
|\ \ \
| * | | Require minimum 4 bit stencil for layers.Chris Craik2015-04-293-9/+11
| |/ / | | | | | | | | | | | | bug:19270131 Change-Id: I81367179d268e7c1642259c456c1f3d0018f6c0d
* | | Merge "Skip frames with no damage" into mnc-devJohn Reck2015-04-292-3/+31
|\ \ \ | |_|/ |/| |
| * | Skip frames with no damageJohn Reck2015-04-282-3/+31
| | | | | | | | | | | | | | | Bug: 20464038 Change-Id: Iae3aa9baf1d03c3aa443a39373e2bbd4a3910fad
* | | Remove unused flags and dirty rectsChris Craik2015-04-284-19/+10
| |/ |/| | | | | | | | | | | | | bug:17209071 Also update DisplayList->RenderNode naming in Editor Change-Id: I1d505640ba7388a0b0042d9c787f859e45a24da5
* | Promote RenderProperties with an alpha to have a RenderLayerChris Craik2015-04-273-40/+24
|/ | | | | bug:20254728 Change-Id: I0bd1d440fe46683b291d4c8ab07a630c34b2eadc
* Teach LA how to destroyJohn Reck2015-04-239-16/+257
| | | | Change-Id: I57ab30b6d56370dade6987f442136ea5e5546c9b
* Move LinearAlloc to libhuwiJohn Reck2015-04-233-0/+329
| | | | Change-Id: I1d8c99bdeef22ca569e1743cff6108f478737bc8
* GraphicsJNI Canvas cleanupJohn Reck2015-04-223-24/+13
| | | | Change-Id: I72e142986a8bc9f464c1951b6b5187919de3462e
* Merge "Rename native DisplayListRenderer to DisplayListCanvas"Chris Craik2015-04-2110-99/+95
|\
| * Rename native DisplayListRenderer to DisplayListCanvasChris Craik2015-04-2010-99/+95
| | | | | | | | Change-Id: I33e6f8cc85da1e7da7ff7bf18d4ebde64222067a
* | Simplify TaskManager fallback pathChris Craik2015-04-203-14/+15
|/ | | | Change-Id: Ie3833449f7fe6aa69b9f71eb8bab1bef0fe434aa
* Revert "A bunch more cleanups"John Reck2015-04-175-16/+27
| | | | | | This reverts commit c294d128d03bc9a9982b273a82516c04583438cc. Change-Id: Id1ebb236950f7c36c6d86e1dd95566d3a200748d
* Revert "Move AssetAtlas off of SkBitmap*"John Reck2015-04-172-45/+39
| | | | | | This reverts commit 87ffb63d90fb6dd2689fe72dcb24fda9a6156220. Change-Id: I92adfcee454a0a19020cdd9e96a134be0ee529aa
* Merge "Revert "Remove Bitmap#getSkBitmap""John Reck2015-04-174-17/+17
|\
| * Revert "Remove Bitmap#getSkBitmap"John Reck2015-04-174-17/+17
| | | | | | | | | | | | This reverts commit 4bd981ec533a65e8dee053a0a709b484770b0a76. Change-Id: I5c92cd955c6e70e197dc5cbc5dfeed8369a24a31
* | Merge "Fix offset of composeLayerRegion"Tom Hudson2015-04-171-1/+2
|\ \
| * | Fix offset of composeLayerRegionTom Hudson2015-04-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | composeLayerRect() pays attention to the offset of the layer, but composeLayerRegion() ignores it. This patch makes the behavior of the region case match the behavior of the rect case. The difference will only be shown by tests which do not position the saved layer at the origin. BUG=20288561 R=ccraik@google.com,djsollen@google.com Change-Id: Ie22737a8614c508cbffe39aa4c55f7d5434277aa
* | | Merge "Remove Bitmap#getSkBitmap"John Reck2015-04-164-17/+17
|\ \ \ | | |/ | |/|
| * | Remove Bitmap#getSkBitmapJohn Reck2015-04-154-17/+17
| | | | | | | | | | | | Change-Id: Ifb9047b426122d3e5a445eb7a0eb3fce38dedf27
* | | Merge "Move AssetAtlas off of SkBitmap*"John Reck2015-04-152-39/+45
|\ \ \ | |/ /
| * | Move AssetAtlas off of SkBitmap*John Reck2015-04-152-39/+45
| |/ | | | | | | | | | | Switched to SkPixelRef* Change-Id: I4a1d9dc6c55c1ebcce6b0b8c585e69559e523898
* | Fix positioned text boundsTom Hudson2015-04-151-0/+1
|/ | | | | | | | | | drawPosText() bounds weren't taking their offset into account properly in absolute-positioned cases. R=djsollen@google.com BUG=skia:3673 Change-Id: Ic39fd45491231ed3e3949ffbc1f063a4fc12c3f8
* Merge "A bunch more cleanups"John Reck2015-04-155-27/+16
|\
| * A bunch more cleanupsJohn Reck2015-04-145-27/+16
| | | | | | | | | | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* | Convert from glyph count to byte lengthTom Hudson2015-04-141-1/+1
|/ | | | | | | | | | Canvas drawText* APIs are inconsistent, and this mismatch snuck through our tests. BUG=skia:3636 R=djsollen@google.com Change-Id: Ibaab512c3f19df8445d582633b2748f1ec4d2902