summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* FrameInfo header fixesJohn Reck2015-06-023-1/+24
| | | | | | | | | Bug: 21560187 Log column names as part of output in case of other such issues Change-Id: I16157ed968307e761d416ca54bd7af5453fe67bf
* Tweak the threshold for conic path quads computation.ztenghui2015-05-293-33/+62
| | | | | | | | We still want it to be related to the threshold for bezier generation. b/19903239 Change-Id: Ifdce32f1c28ecea9eac98d02c73afa948341fc7d
* Merge "Fix round cap approximation to understand scale" into mnc-devChris Craik2015-05-282-5/+18
|\
| * Fix round cap approximation to understand scaleChris Craik2015-05-272-5/+18
| | | | | | | | | | bug:19772120 Change-Id: I7b944faed1d1e8d5f55453802da57679217d9d9a
* | Fix buildChris Craik2015-05-281-1/+2
| | | | | | | | Change-Id: I7ee28c474aa821eb598f719723d87416a41537b9
* | Merge "Use path intersection instead of saveLayer+mesh to mask projected ↵Chris Craik2015-05-2815-126/+190
|\ \ | |/ |/| | | ripples" into mnc-dev
| * Use path intersection instead of saveLayer+mesh to mask projected ripplesChris Craik2015-05-2615-126/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:14297149 SaveLayer's performance cost is high, and proportional to the surface being projected onto. Since ripples (even unbounded ones) are now always projected to the arbitrary background content behind them, this cost is especially important to avoid. This removes the last semi-secret, saveLayer from the projected ripple implementation. Also fixes the HW test app to correctly demonstrate this projection masking behavior. Additionaly, alters PathTessellator to gracefully handle counter-clockwise paths, and simplifies the work done by ShadowTessellator to ensure all of its paths are counterclockwise. Change-Id: Ibe9e12812bd10a774e20b1d444a140c368cbba8c
* | Merge "Fix assert when dumping view at 0 alpha" into mnc-devChris Craik2015-05-272-3/+4
|\ \
| * | Fix assert when dumping view at 0 alphaChris Craik2015-05-272-3/+4
| |/ | | | | | | | | | | bug:21461177 Change-Id: Ib4aba7b9641254012471da44aa804813b9679423
* | Merge "Fix GL texture binding for TextureViews" into mnc-devChris Craik2015-05-271-2/+2
|\ \
| * | Fix GL texture binding for TextureViewsChris Craik2015-05-271-2/+2
| |/ | | | | | | | | | | | | | | | | bug:21431334 Should be explicitly passing target through, to ensure GL_EXTERNAL_OES textures are bound correctly. Change-Id: I997672ae292ea7fc016c02a59a3c7c8358ecfe0b
* | Merge "Enable swapBuffersWithDamage by default" into mnc-devJohn Reck2015-05-272-8/+3
|\ \
| * | Enable swapBuffersWithDamage by defaultJohn Reck2015-05-272-8/+3
| | | | | | | | | | | | | | | | | | Bug: 20761426 Change-Id: I520e60ca4f182dea590bc86eebd522e1db7a018a
* | | Merge "Fix position snapping for drawBitmap(rect, rect)" into mnc-devChris Craik2015-05-261-6/+9
|\ \ \
| * | | Fix position snapping for drawBitmap(rect, rect)Chris Craik2015-05-261-6/+9
| | |/ | |/| | | | | | | | | | bug:20669049 Change-Id: Ied5f1d7e681409b6b7f6f582ed344b479df4c6d7
* | | Merge "Unflip TextureView getBitmap readback" into mnc-devChris Craik2015-05-261-8/+0
|\ \ \ | |_|/ |/| |
| * | Unflip TextureView getBitmap readbackChris Craik2015-05-221-8/+0
| |/ | | | | | | | | | | bug:20165725 Change-Id: I09035f43be140145c54221d6865206ce486994c9
* | Suppress benign clang warning.Chih-Hung Hsieh2015-05-221-1/+3
| | | | | | | | | | | | | | To unblock continuous clang/llvm builds. BUG: 21337624 Change-Id: I38e5d11fd3c44f50430a3a8519c5071674b3df9f
* | Eliminate requireGlContextJohn Reck2015-05-207-56/+17
|/ | | | | | Bug: 20297820 Change-Id: I37c63bab6f6c0d2337c8c6002046d2ef17e74097
* Add missing const qualifier to compile with clang/llvm.Chih-Hung Hsieh2015-05-191-1/+1
| | | | | BUG: 21298442 Change-Id: Iad211237fdb0128d8f4490419687bf1da1cd261c
* Add -round and -notround qualifier to android runtime/aaptAdam Lesinski2015-05-152-0/+121
| | | | | | | | The round qualifier denotes a device with a screen shape that is round. The qualifier shows up after the 'long/notlong' qualifier and before the orientation 'port/land/square' qualifiers. Change-Id: I3044258b2703a9165694b79725bade770fa6cea1
* Adjust light source for window positionAlan Viverette2015-05-148-19/+42
| | | | | Bug: 16523629 Change-Id: I2f3fed1edcac0a3cfd5034aded45e08ececfebaf
* Merge "Add tracing for path texture upload" into mnc-devChris Craik2015-05-141-0/+1
|\
| * Add tracing for path texture uploadChris Craik2015-05-131-0/+1
| | | | | | | | Change-Id: I4918e5a3c7e01b321d428b20babd48bf69a708e4
* | Merge "Add back alpha atrace log" into mnc-devChris Craik2015-05-133-8/+15
|\ \
| * | Add back alpha atrace logChris Craik2015-05-133-8/+15
| |/ | | | | | | | | | | bug:20922838 Change-Id: I70ccbffdd5f140cd1dd71fbf456fb5b085e74a4a
* | Merge "Unify DrawProfiler/JankStats" into mnc-devJohn Reck2015-05-138-126/+90
|\ \ | |/ |/|
| * Unify DrawProfiler/JankStatsJohn Reck2015-05-128-126/+90
| | | | | | | | | | | | Bug: 20822400 Change-Id: I24345c3120440bfce14e8cbe7e880b39f10b744a
* | Merge "Shrink default path cache size" into mnc-devChris Craik2015-05-121-1/+1
|\ \
| * | Shrink default path cache sizeChris Craik2015-05-111-1/+1
| | | | | | | | | | | | Change-Id: Id9139945837d41cc1822b796cb9837591686fcbf
* | | Merge "Remove usage of Texture::cleanup in PathCache" into mnc-devChris Craik2015-05-122-29/+12
|\ \ \ | |_|/ |/| |
| * | Remove usage of Texture::cleanup in PathCacheChris Craik2015-05-112-29/+12
| |/ | | | | | | | | | | | | | | bug:21039605 Was causing double-deletes, is unneeded. Change-Id: I5c0a21d076fae7039d777ca09b21492f97fea98b
* | Fix file descriptor leak when opening invalid archives.Narayan Kamath2015-05-121-0/+1
|/ | | | | | | | | | I've inspected all other callers of OpenArchive and this seems to be the only broken one. The easiest way to reproduce this is by using getPackageArchiveInfo or by adding an asset path that isn't a valid APK. bug: https://code.google.com/p/android/issues/detail?id=171099 Change-Id: I41cd85d20f26ad47968e2a6f1384cc03330b558b
* 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