summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Revert "Fix aapt dump for APKs with no resources"" into lmp-devAdam Lesinski2014-08-152-25/+17
|\
| * Revert "Fix aapt dump for APKs with no resources"Adam Lesinski2014-08-152-25/+17
| | | | | | | | | | | | | | | | This reverts commit 0e475302cd196f45a01a525c49089018b238d4ba. I'll re-upload this CL with the correct fix in LoadedApk. Change-Id: I17c6381f8e5907dab9f996f89c5d435b9c08a13a
* | Fix crash in ResStringPoolAdam Lesinski2014-08-151-3/+8
| | | | | | | | | | | | | | | | | | When a String isn't found in the StringPool, we should not try to construct a String8 object from the NULL string. Bug:15163956 Change-Id: I51e701918b10a72c18a860b8a36dce2afd9c0b82
* | Merge "Fix aapt dump for APKs with no resources" into lmp-devAdam Lesinski2014-08-142-17/+25
|\ \ | |/
| * Fix aapt dump for APKs with no resourcesAdam Lesinski2014-08-142-17/+25
| | | | | | | | | | | | | | | | All APKs are expected to have at least one resource table (even if it is empty). We were missing the creation of an empty DynamicRefTable. Bug:16895517 Change-Id: I6a6e887f91b3b4bbcc52b3fd2741ef3d05fab1fd
* | Merge "Print xxxhdpi from ResTable_config::toString" into lmp-devAdam Lesinski2014-08-121-0/+3
|\ \
| * | Print xxxhdpi from ResTable_config::toStringAdam Lesinski2014-08-141-0/+3
| |/ | | | | | | Change-Id: I2e1a07649cb498c12023b198d8e50534f9d91840
* | Define shadow casting behavior within layersChris Craik2014-08-1519-73/+104
| | | | | | | | | | | | | | | | | | | | | | | | bug:15860114 Savelayers and HW layers both now support shadow casting. For save layers, the light source should always be correct, for HW layers, the light source position is set when the layer is created, and updated when it is resized. Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
* | Fix hwuitask & RT prioritiesJohn Reck2014-08-153-0/+17
|/ | | | | | Bug: 15993695 Change-Id: Ib6f07237cb834e8d10f3074f8fb206d27f91859a
* Bring back the shadow strength tweakztenghui2014-08-133-4/+26
| | | | | | bug:16712006 Change-Id: Ifc0ecca139d58140b45d7d227536a53069e1d480
* Switch to cos interpolation of shadow alphaChris Craik2014-08-126-45/+48
| | | | | | | | | | bug:16852257 Updates default shadow opacities to compensate. Also, update variable/constant naming related to vertex alpha. Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c
* Merge "Rework shadow interpolation" into lmp-devChris Craik2014-08-124-26/+50
|\
| * Rework shadow interpolationChris Craik2014-08-124-26/+50
| | | | | | | | | | | | | | | | | | | | bug:16852257 Use pow(alpha, 1.5) to avoid harsh edges on shadow alpha ramps. Also adjusts shadow constants to compensate. Change-Id: I5869956d7d292db2a8e496bc320084b6d64c3fb7
* | Fix ripples projecting to scrolled viewChris Craik2014-08-123-15/+26
|/ | | | | | | | | | | | | bug:16873774 1) Fix projectionReceiveIndex, which could in some cases point at translate/restore ops. 2) Use background translateX / translateY for projected RenderNodes. This makes them match background position, and thus properly account for scroll. Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22
* Fix shared library bug in bag attributesAdam Lesinski2014-08-1110-42/+213
| | | | | | | | | | A ResTable_map entry has a name attribute, which could be a dynamic reference if it comes from a shared library. It was not being patched with the correct package id. Bug:16795890 Change-Id: Ia8df6a943269b2fefb2132c3ed74eb1997d7701b
* Merge "AAPT support for feature splits" into lmp-devAdam Lesinski2014-08-0918-505/+472
|\
| * AAPT support for feature splitsAdam Lesinski2014-08-0418-505/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows the developer to add a base package for which to build a feature split. The generated resource types will begin after the base APK's defined types so as not to collide or override resources. Multiple features can be generated by first choosing an arbitrary order for the features. Then for each feature, the base APK and any preceding features are specified with the --feature-of flags. So with a base APK 'A' and features, 'B', and 'C', 'B' would be built with aapt package [...] --feature-of A [...] and 'C' would be built with aapt package [...] --feature-of A --feature-of B [...] Change-Id: I1be66e3f8df9a737b21c71f8a93685376c7e6780
* | Fix damage for layers for projection receiversJohn Reck2014-08-0810-28/+51
| | | | | | | | | | | | Bug: 16880228 Change-Id: I59ab760a21f49cc2cac0d8936b173cff292e6114
* | Fix leak of SkPathRefsChris Craik2014-08-083-15/+36
| | | | | | | | | | | | | | | | | | bug:15939479 SkPath objects owned by DisplayListOps weren't being torn down, and thus weren't releasing their SkPathRef innards. Change-Id: I2581e124600a93a399ef3251f456c02ab52839a8
* | Cap scales used for tessellation with minimum and maximumChris Craik2014-08-074-31/+32
| | | | | | | | | | bug:15615144 Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6
* | Add missing null checkJohn Reck2014-08-061-2/+4
| | | | | | | | | | | | Bug: 16352267 Change-Id: Ib60baa6d22ec02ba623a297660e2e3ecc7557d0f
* | Move bitmap transforms out of bitmap opsChris Craik2014-08-066-129/+41
| | | | | | | | | | | | | | | | | | | | bug:11359533 This allows us to deduplicate a lot between the two ops, and fixes the shader coordinate space for the left,top argument drawBitmap to match software. Change-Id: I53da05af9ee74c74e9e70b4ab8053190ca220b16
* | Don't start RenderThread to do trimMemoryJohn Reck2014-08-061-5/+8
| | | | | | | | | | | | Bug: 16825138 Change-Id: I35f57898b14bc8526c3d93a3003bca6f5a3d7fbe
* | clamp & round alphaJohn Reck2014-08-062-1/+12
| | | | | | | | | | | | Bug: 16842521 Change-Id: Ifd93f40b5751746835c9d56bb3c2b5ba700bdccc
* | Fix large radius RR clipping issue on certain devicesChris Craik2014-08-051-2/+4
| | | | | | | | | | | | | | | | | | | | bug:16804363 Since dist can be in the 1000s of pixels, and length() may square it in its current precision, scale the value down significantly first, since final precision isn't very important. Change-Id: Id20f7a49d6171355c8e242442c2b5083f746dca3
* | roundOut layer damageJohn Reck2014-08-051-1/+3
| | | | | | | | | | | | Bug: 16734708 Change-Id: I8815b7cf5f74be6deda98aaaf7cde85509def373
* | Merge "Add accessorytest Linux host tool for testing USB accessory audio and ↵Mike Lockwood2014-08-017-0/+928
|\ \ | |/ |/| | | HID support." into lmp-dev
| * Add accessorytest Linux host tool for testing USB accessory audio and HID ↵Mike Lockwood2014-08-047-0/+928
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support. The tool supports testing USB audio by default. It reads audio from the ALSA device for the android phone in accessory mode and outputs it to the ALSA device for the PC's speaker. The default values work on my PC, but can be changed via command line options. When the -a option is specified, accessorytest also acts as the host side of the AccessoryChat test, so audio can be tested side by side with the accessory bulk endpoint support. When the -h option is specified, accessorytest will look for HID devices on the PC and proxy them to the phone over the accessory protocol. This requires running accessorytest as root. Change-Id: I1ea06d7201cd845b95a92a42594464783a90189b
* | Merge "Remove scaling bucket hack" into lmp-devChris Craik2014-08-013-41/+7
|\ \ | |/ |/|
| * Remove scaling bucket hackChris Craik2014-08-043-41/+7
| | | | | | | | | | | | | | | | bug:16626221 Fixes glyph cache pressure and double scaling artifacts. Change-Id: I06cde720db646531b45943283cb4ecb48af8ff5b
* | Add outline alphaChris Craik2014-07-312-5/+21
|/ | | | | | | | | | bug:16140822 bug:16566746 This allows background drawables to alter the opacity of a shadow being cast with their own alpha values. Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
* Use RoundRect clipping for circle reveal animationChris Craik2014-07-3011-84/+63
| | | | | | | | bug:16630975 Also, remove inverse clipping feature from reveal animator. Change-Id: I770a4eb48cd123b0ca0f39d16a0f3eefd1be3653
* Merge "Fix behavior of stencil clipping within clearLayerRegions" into lmp-devChris Craik2014-07-255-9/+56
|\
| * Fix behavior of stencil clipping within clearLayerRegionsChris Craik2014-07-295-9/+56
| | | | | | | | | | | | | | | | | | | | | | | | bug:16376960 The draw within clearLayerRegions should never be affected by the current stencil clip, since it's just ensuring that the content of the layer is cleared, and not doing real content drawing. Also, add optional verbose GL event logging Change-Id: I538b1bc631fc091340b76e12db6af0c219851b57
* | Ensure the ResTable data is at least the size of a ResTable_headerAdam Lesinski2014-07-291-6/+15
|/ | | Change-Id: Ib8d5574bd6a125797a582837987332e66721e84d
* Merge "Add layer/texture creation tracing" into lmp-devJohn Reck2014-07-283-0/+8
|\
| * Add layer/texture creation tracingJohn Reck2014-07-293-0/+8
| | | | | | | | Change-Id: I0af6a36c97a9f5f35d28e0e36539ba8d8011ea7c
* | Add cursor flags into SpriteController to suppor async cursor updates.Riley Andrews2014-07-281-1/+2
| | | | | | | | | | | | - This is fairly blindly taken from nvidia's implementation. Change-Id: I825ecbd9cb4b394793dce079591b37efca546bbe
* | Merge "Add kModeSync" into lmp-devBo Liu2014-07-244-6/+10
|\ \ | |/ |/|
| * Add kModeSyncJohn Reck2014-07-244-6/+10
| | | | | | | | | | | | Bug: 16526750 Change-Id: I4c087160e80432739321172fd57880846c8de6e0
* | am b5c4634e: am 63582f46: Move ClipBounds to nativeChris Craik2014-07-253-26/+83
|\ \ | | | | | | | | | | | | * commit 'b5c4634e36d5e515852f05722afeb8de053dec62': Move ClipBounds to native
| * | Move ClipBounds to nativeChris Craik2014-07-253-26/+83
| | | | | | | | | | | | | | | | | | | | | | | | bug:15698973 Also simplifies RenderNode LTRB properties Change-Id: I09263a697b71d325a46b57cd5250a2b165f251c8
* | | am 9cba57c5: am b6163d6d: Revert "Dump RenderThread stack on unresponsive"Chris Craik2014-07-254-25/+4
|\ \ \ | |/ / | | | | | | | | | * commit '9cba57c58ebdfc375bcfced53483fe47e2b5a03e': Revert "Dump RenderThread stack on unresponsive"
| * | Revert "Dump RenderThread stack on unresponsive"Chris Craik2014-07-254-25/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:16563871 bug:16565900 bug:16555847 bug:16551643 This reverts commit ca66e06b9db6e6c921662886e4b7ddd02ac92280. Change-Id: I23e8d4eaf828b1b298126ba5f36e4e8e7451706a
* | | am 4afa4696: am c8f0e9b1: Fix ALL compile warningsJohn Reck2014-07-2411-104/+77
|\ \ \ | |/ / | | | | | | | | | * commit '4afa469652dd6baa277b57cb584c08cccaf23c50': Fix ALL compile warnings
| * | Fix ALL compile warningsJohn Reck2014-07-2411-104/+77
| | | | | | | | | | | | | | | | | | All warnings/errors fixed for GCC & Clang Change-Id: I2ece3a136a5ae97a9acc3069537ed986238b5fd3
* | | am 27222820: am 1a146fc8: Compute layer bounds over subset of VertexBuffer vertsChris Craik2014-07-243-12/+19
|\ \ \ | |/ / | | | | | | | | | * commit '2722282067f472e30e0642b8374034ac01bca314': Compute layer bounds over subset of VertexBuffer verts
| * | Compute layer bounds over subset of VertexBuffer vertsChris Craik2014-07-243-12/+19
| | | | | | | | | | | | | | | bug:15538815 Change-Id: I0dbb54f656a6ae99a87c5734761107e1c2351b65
* | | am 394e8703: am 2d3c6c93: Connect shadow style attributes to rendererChris Craik2014-07-249-41/+54
|\ \ \ | |/ / | | | | | | | | | * commit '394e8703222d59f0de4da82afce423ada12c346f': Connect shadow style attributes to renderer
| * | Connect shadow style attributes to rendererChris Craik2014-07-249-41/+54
| |/ | | | | | | | | | | | | | | | | bug:15859361 Moves lighting info out of StatefulBaseRenderer, since it's not useful at record time, and only used by OGLR. Change-Id: I7ab065d02d9304afad1dc4c48597a7a621366f8e