summaryrefslogtreecommitdiffstats
path: root/libs
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
* Merge "Improve keying for theme caches, rebase system theme on config ↵Alan Viverette2015-05-071-0/+24
|\ | | | | | | change" into mnc-dev
| * Improve keying for theme caches, rebase system theme on config changeAlan Viverette2015-05-061-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Themes now use an array of applied styles rather than a String to store their history. They are keyed based on a hash code computed from the history of applied styles. The themed drawable cache has been abstracted out into its own class. Also updates system context to use DayNight as the default and ensures that GlobalActions uses the correct context, which exercises the change. CTS tests have been added in another CL. Bug: 20421157 Change-Id: I9eb4b7dffd198ad24d02f656eaf0839570b59caa
* | 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
* | | Merge "Add some basic DA unit tests" into mnc-devJohn Reck2015-05-052-0/+82
|\ \ \ | |_|/ |/| |
| * | Add some basic DA unit testsJohn Reck2015-05-052-0/+82
| |/ | | | | | | Change-Id: I01e32a8f0db34a27672010cea275de32d7500dd7
* | Merge "Add API for obtaining changing configurations bitmask from Theme" ↵Alan Viverette2015-05-051-0/+10
|\ \ | | | | | | | | | into mnc-dev
| * | Add API for obtaining changing configurations bitmask from ThemeAlan Viverette2015-05-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Required to know when to reload the system context's theme in response to configuration changes, and thus needed to support the DayNight theme. Bug: 20267825 Change-Id: I7df5e28b7a6d8b611ea030032544cf4800788514
* | | Merge changes from topic 'mwd-merge-050415' into mnc-devPrerepa Viswanadham2015-05-051-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Merge commit 'b6f59f4' into master_merge Merge commit 'f6db0ce' into master_merge Merge commit '17455a3' into master_merge Merge commit 'b4d5b32' into master_merge Merge commit 'a1a2fa7' into master_merge Merge commit '8dfdb98' into master_merge Merge commit 'eba66c3' into master_merge
| * | am 75c4e3e4: am ed375f26: Merge "Fix rendernode flag logging" into mnc-devChris Craik2015-04-301-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit '75c4e3e4d58f310174bbc24e6b2fb058773f8f31': Fix rendernode flag logging
| * \ \ am 775e94cb: am e74ff81e: Merge "Remove concept of layer alpha override" ↵Chris Craik2015-04-296-56/+10
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '775e94cbf1536ec18449ae85b3c174633e8b1d31': Remove concept of layer alpha override
| * \ \ \ am 4549108c: am 81bd735a: Merge "Require minimum 4 bit stencil for layers." ↵Chris Craik2015-04-293-9/+11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mnc-dev * commit '4549108c46ef1103996ae2f98123d033da54bce6': Require minimum 4 bit stencil for layers.
| * \ \ \ \ am 108f0a34: am b2cec86a: Merge "Skip frames with no damage" into mnc-devJohn Reck2015-04-292-3/+31
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '108f0a341ad2176b25df7757f1dc793289b48cc0': Skip frames with no damage
| * \ \ \ \ \ am 815d9bb1: Merge "Add a static dependency on libbase."Narayan Kamath2015-04-291-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '815d9bb178a0488ed1579cd230d447630ad0891b': Add a static dependency on libbase.
| | * | | | | | Add a static dependency on libbase.Narayan Kamath2015-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by libziparchive. Change-Id: I120494b620c72b36a725b01f1f274f5dc862a9a3
* | | | | | | | 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
* | am 05ad674a: am 00e165ae: am e8101c04: Merge "fix compiler error under ↵Nick Kralevich2015-04-251-1/+3
|\ \ | |/ | | | | | | | | | | FORTIFY_SOURCE=2" * commit '05ad674aa888e3f9217de0e5c3176161dd8e31aa': fix compiler error under FORTIFY_SOURCE=2
| * fix compiler error under FORTIFY_SOURCE=2Nick Kralevich2015-04-241-1/+3
| | | | | | | | | | | | | | | | | | | | frameworks/base/libs/androidfw/ObbFile.cpp:340:5: error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result] ftruncate(fd, mFooterStart); ^~~~~~~~~ ~~~~~~~~~~~~~~~~ 1 error generated. amake: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_intermediates/ObbFile.o] Error 1 Change-Id: I7080d64e7a830a10b41c1ebf33c60d32b7c8356e
* | 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