summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Prioritize reveal clipping over Outline clipping" into lmp-devChris Craik2014-09-045-8/+19
|\ \ | |/ |/|
| * Prioritize reveal clipping over Outline clippingChris Craik2014-09-045-8/+19
| | | | | | | | | | | | | | | | | | | | bug:15780987 bug:17350602 Also update docs around clipping nesting behavior, and some Z ordering behavior. Change-Id: Iaa204350a0adfdcbd8c4b821fb4a9c0ae22f2613
* | Merge "Remove invalid premul step from HWUI's matrix color filter." into lmp-devDerek Sollenberger2014-09-041-2/+1
|\ \
| * | Remove invalid premul step from HWUI's matrix color filter.Derek Sollenberger2014-08-181-2/+1
| | | | | | | | | | | | | | | bug: 16186699 Change-Id: Ia0b828e76ce4831ee9e3b4f54c697e6017f1604d
* | | Fix some wrong-thread issues around animator managementJohn Reck2014-09-037-34/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17372309 Fixes a case where UI thread and RT thread both used the same method which wasn't safe for either of them. Adds additional assertions & logging in unusual circumstances to try and track down where the issue is occuring from. Change-Id: I93d31a6fd0c5927259b67bdf96a475944226eee6
* | | Have destroy call freePrefetchedLayersJohn Reck2014-09-0310-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17208461 There's a potential race condition between HardwareRenderer.destroy() being called (which calls destroyCanvasAndSurface()) and the renderer being finalized (which is what calls freePrefetchedLayers), during which time it's possible we get a TRIM_MEMORY_COMPLETE and destroy the EGL context. Fix this race condition by moving stopDrawing() and freePrefetchedLayers() into destroyCanvasAndSurface() where they should have been in the first place. Also, if we hit the assertion failure, dump the current state of Caches to try and provide more context for the failure. Change-Id: Ife0ba3562041e8b08e87e3e13640472b3004eed6
* | | Merge "Implement TODO" into lmp-devJohn Reck2014-09-021-2/+1
|\ \ \
| * | | Implement TODOJohn Reck2014-09-021-2/+1
| | | | | | | | | | | | | | | | Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26
* | | | Merge "Fix precision issues for roundrect clipping" into lmp-devChris Craik2014-09-021-1/+1
|\ \ \ \
| * | | | Fix precision issues for roundrect clippingChris Craik2014-08-291-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | bug:16984008 Change-Id: I941232d569293717f6bcd249d9e01f72a7409d2e
* | | | Fix the (0,0) vector case for extra vertices computationztenghui2014-09-011-0/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | TODO: Figure out why we have collided vertices from input polygon. b/17340792 Change-Id: I6636ff957ef17514bd11cf290ccc0a2c302aca0b
* | | Merge "Add test to ensure themes get copied from separate resource tables" ↵Adam Lesinski2014-08-2912-0/+315
|\ \ \ | | | | | | | | | | | | into lmp-dev
| * | | Add test to ensure themes get copied from separate resource tablesAdam Lesinski2014-08-2912-0/+315
| | | | | | | | | | | | | | | | Change-Id: I94e9966cf1e9d0e7e6c7daa0606a87bb0f67705e
* | | | Merge "Ambient shadow tessellation improvement." into lmp-devztenghui2014-08-295-274/+348
|\ \ \ \ | |/ / / |/| | |
| * | | Ambient shadow tessellation improvement.ztenghui2014-08-295-274/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the vertices, instead of ray casting for the triangulation. This request a dynamic index buffer associated with vertex buffer, so we update the VertexBuffer to support it. The ambient shadow could be 3x-6x times faster for circle and rect now. b/16712006 b/14257173 Change-Id: I2f22a8fe19bc59acee5c18e4a3a395acd5042a66
* | | | Clean up test allocations so real memory leaks are more visibleAdam Lesinski2014-08-292-32/+29
| | | | | | | | | | | | | | | | Change-Id: Ic405f08c8d8e3e7fc4e4a991671e980752c19899
* | | | Merge "Listener callbacks ordering fixups" into lmp-devJohn Reck2014-08-291-0/+2
|\ \ \ \
| * | | | Listener callbacks ordering fixupsJohn Reck2014-08-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17228458 Bug: 17317816 Ensure that onStart is called prior to onCancel/onFinished if those happen prior to the UI-thread handled start delay. Ensure that onFinished is called if cancel/end is called Change-Id: I23c16ea1c4f925d59d41ec5281d62dfc0c38595b
* | | | | Free prefetched layers on TRIM_MEMORYJohn Reck2014-08-291-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 17208461 Change-Id: I831c10d29d5920274b90e11a67d6cd106972a058
* | | | Merge "Fix memory leak in ResTable" into lmp-devAdam Lesinski2014-08-291-1/+1
|\ \ \ \
| * | | | Fix memory leak in ResTableAdam Lesinski2014-08-281-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | We were basically never cleaning any of the cached bags... oops :S Bug:16683269 Change-Id: Ic0a44218f660e16fbaac8df1d61ce6f1fdb0018b
* | | | Merge "Stamp platform version code into app Apks" into lmp-devAdam Lesinski2014-08-291-1/+1
|\ \ \ \
| * | | | Stamp platform version code into app ApksAdam Lesinski2014-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The versionCode of theframework resources that an app is built against gets stamped inside an app's AndroidManifest.xml in the <manifest> tag as "platformBuildVersionCode" and "platformBuildVersionName" attributes. Bug:17207635 Change-Id: Id573c3dffcbca38eec9c0eb3e89f4a547e3361d3
* | | | | Merge "Track buildLayer calls, destroy if unused" into lmp-devJohn Reck2014-08-285-2/+55
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Track buildLayer calls, destroy if unusedJohn Reck2014-08-285-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17208461 Change-Id: Ibdb104a493285d77a6891c5e74e38a52c7014da9
* | | | | Merge "Update transform isolation to handle command chunks" into lmp-devChris Craik2014-08-285-57/+23
|\ \ \ \ \
| * | | | | Update transform isolation to handle command chunksChris Craik2014-08-275-57/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:15570351 Prevent drawing transformations on a ViewGroup's canvas from directly affecting the transformation of the children through the renderer, since it's already baked into mTransformFromParent at record time. Change-Id: I6310a2260dfe4def0bde1fd2c5b93791a645d586
* | | | | | Fix log lineJohn Reck2014-08-281-1/+1
| |/ / / / |/| | | | | | | | | | | | | | Change-Id: I290491f559281c7b3d1d132495ea2fffcfaf4725
* | | | | Actually end animators on tree destructionJohn Reck2014-08-283-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17313962 Change-Id: I66b86d50b415f9aa33da23297f22e2cf7f96f565
* | | | | Merge "Animator stuff" into lmp-devJohn Reck2014-08-2817-60/+417
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Animator stuffJohn Reck2014-08-2717-60/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17228458 Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
* | | | | Crash instead of leaking layers/textures between GL contextsChris Craik2014-08-264-0/+17
| |/ / / |/| | | | | | | | | | | | | | | bug:17208461 Change-Id: I4d58f301cf0f5e8145e808a5d6ade4de7801970b
* | | | Merge "Correctly detect the wrong Z value for the light" into lmp-devztenghui2014-08-262-2/+11
|\ \ \ \
| * | | | Correctly detect the wrong Z value for the lightztenghui2014-08-262-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/17221975 Change-Id: I2b46da95ad12ca5260d7fe9514a75558b6b6393b
* | | | | Merge "Introduce anydpi density resource qualifier" into lmp-devAdam Lesinski2014-08-265-19/+155
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Introduce anydpi density resource qualifierAdam Lesinski2014-08-255-19/+155
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is meant to be used with scaleable vector drawables, and are chosen as the best match unless there is a configuration that matches the density requested exactly. Bug:17007265 Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
* | | | Merge "DO NOT MERGE Copy shaders" into lmp-devJohn Reck2014-08-261-4/+17
|\ \ \ \
| * | | | DO NOT MERGE Copy shadersJohn Reck2014-08-251-4/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | Bug: 16733996 Change-Id: I84afc1b24a23dd6ddf5ab48fb2bfcbe779f8d3e3
* | | | Create z reordering boundaries around dispatchDrawChris Craik2014-08-257-78/+160
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:16012254 This means rendernodes with a Z will no longer be drawn at the end of their parent's DisplayList, but at the end of the associated reorder region (DisplayListData::Chunk). Change-Id: Ia033fee9d9a4db567b2a8d5e90fc57a4d0a64544
* | | Installing splits into ASECs!Jeff Sharkey2014-08-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sessions can now zero-copy data directly into pre-allocated ASEC containers. Then at commit time, we compute the total size of the final app, including any inherited APKs and unpacked libraries, and resize the container in one step. This supports both brand new ASEC installs and inheriting from existing ASEC installs. To keep things simple, it currently requires copying any inherited ASEC contents, but this could be optimized in the future. Expose new vold resize command, and allow read-write mounting of ASEC containers. Move native library extraction into the installer flow, since it needs to happen before ASEC is sealed. Move multiArch flag into NativeLibraryHelper, instead of making everyone pass it around. Migrate size calculation to shared location. Separate "other" package name in public API, provide a path to a storage device when relevant, and add more docs. Bug: 16514385 Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
* | | Merge "Improve the spot shadow computation." into lmp-devztenghui2014-08-227-34/+266
|\ \ \ | |/ /
| * | Improve the spot shadow computation.ztenghui2014-08-227-34/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of compuation of the intersection for penumbra and convex hull for umbra. Use simple circle / normal to compute the penumbra and simple intersection for umbra. The new way could be 2x to 4x faster from rectangle to round shape. And this part is roughly half of the shadow computation, or 2/3 of spot shadow computation. This improve the spot shadow spikeness too. b/16712006 b/14976551 Change-Id: I02911784868731369efa73f76fc915bc08248600
* | | Merge "Enable scissor for rounded outline clips" into lmp-devChris Craik2014-08-211-3/+5
|\ \ \
| * | | Enable scissor for rounded outline clipsChris Craik2014-08-211-3/+5
| |/ / | | | | | | | | | | | | | | | bug:17164074 Change-Id: I83ca428f4d7651c6774ab81ac390477fb90c5d38
* | | Merge "Don't run animators in buildLayer" into lmp-devJohn Reck2014-08-213-2/+16
|\ \ \
| * | | Don't run animators in buildLayerJohn Reck2014-08-213-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 17172689 Change-Id: Ib47d589c002543327fa336718440f9f8c95524e0
* | | | Merge "Fix layer shadow transform crash" into lmp-devChris Craik2014-08-213-9/+8
|\ \ \ \
| * | | | Fix layer shadow transform crashChris Craik2014-08-213-9/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | bug:17180252 Change-Id: Ia648b8c98a217a3a4973917bf255d1397802cbbe
* | | | AAPT: Fix regression generating dynamic ref table for shared librariesAdam Lesinski2014-08-201-11/+63
| |/ / |/| | | | | | | | | | | | | | AAPT stopped generating dynamic reference tables for shared libraries. Change-Id: Ib0025811bdca1a4756eb21080dd6b6bb3fc1ca3d
* | | Implement full View.buildLayerJohn Reck2014-08-204-0/+37
|/ / | | | | | | | | | | Bug: 17152292 Change-Id: Ia3cc2aadf72fe14517f50762fc634794df51ad5a