Chih-Hung Hsieh
6d09d547b0
Fix google-explicit-constructor warnings.
...
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: Ic550902559b0800bdcfc0b1d301313a909434eed
2016-08-29 14:51:31 -07:00
Chih-Hung Hsieh
4529b6300e
Merge "Fix misc-macro-parentheses warnings in hwui/tests." am: e2732e5e38 am: e33f3472f3
...
am: 007c463e64
Change-Id: Idb404e8f99289a1492d7d3f1af938cf5c0f1c7f0
2016-08-27 00:08:36 +00:00
Chih-Hung Hsieh
007c463e64
Merge "Fix misc-macro-parentheses warnings in hwui/tests." am: e2732e5e38
...
am: e33f3472f3
Change-Id: I4601d7072c16322b70de9620a6bbaa41772d612b
2016-08-27 00:01:59 +00:00
Chih-Hung Hsieh
474081eee1
Fix misc-macro-parentheses warnings in hwui/tests.
...
* Add parentheses around macro parameters.
Bug: 28705665
Test: build with WITH_TIDY=1
Change-Id: I04f6dd1a180ed1191bf68b685facf6fb9020b4b0
2016-08-26 15:19:47 -07:00
Martijn Coenen
2cc64692ce
Merge changes from topic 'utf' am: 0a357a1a73 am: de8a6a66f6
...
am: 1657493c22
Change-Id: Ie675738a4f9042929d1ffb5e1ffcc7bbb5c7b217
2016-08-25 20:31:31 +00:00
Martijn Coenen
1657493c22
Merge changes from topic 'utf' am: 0a357a1a73
...
am: de8a6a66f6
Change-Id: If82cb8e885e6a378be2b85ff7dea4c7279758444
2016-08-25 20:24:03 +00:00
Sergio Giro
8f7b8a1f6c
Unicode: specify destination length in utf8_to_utf16 methods
...
Change-Id: I5223caa7d42f4582a982609a898a02043265c6d3
2016-08-25 12:04:40 +02:00
John Reck
e986be325c
resolve merge conflicts of 24e38ab to stage-aosp-master am: 621fb590e3
...
am: f929ef6cbd
Change-Id: Ie7d5ff6858f95cf7725fa12df8d33420bc3954b2
2016-08-23 23:08:32 +00:00
John Reck
f929ef6cbd
resolve merge conflicts of 24e38ab to stage-aosp-master
...
am: 621fb590e3
Change-Id: Ia1b617a13012a8d475feb91bfbabb6ace264a29e
2016-08-23 22:56:52 +00:00
John Reck
621fb590e3
resolve merge conflicts of 24e38ab to stage-aosp-master
...
Change-Id: I02db3eb317ccb182b563ec9350a116bd5de063b6
2016-08-23 15:10:47 -07:00
John Reck
24e38ab322
Merge "Fix native memory leak caused by small HWUI path cache creation"
2016-08-22 21:48:31 +00:00
caiqinl
4b505376cb
Fix native memory leak caused by small HWUI path cache creation
...
HWUI calculates the texture size as w*h*bpp. In some cases, the
calculated path cache is small, but the actual memory allocated
in driver is 4k/8k/16k, much bigger than HWUI calculates.
Example: a 5*65 alpha texture, HWUI think it is 5*65*1 = 325 bytes,
but driver allocates 8K. An app can allocates up to 32M path textures,
which actually consumes 32M*(8*1024/325) = 806M memory.
Here we limit the number of path texture in the cache to 256, it
should be a pretty generous global limit.
Change-Id: I890819b73bb0b7f63e96bc3d9d0ff9469c16838c
2016-08-22 11:22:43 +05:30
Chih-hung Hsieh
4797b44d0c
Merge "Fix google-explicit-constructor warnings in common_time." am: 67d47e0ca6 am: 9b36ce973e
...
am: f121917e51
Change-Id: Id90b589066e93fee5f956dc2bf31e1e8405a5d5c
2016-08-17 18:28:00 +00:00
Chih-hung Hsieh
f121917e51
Merge "Fix google-explicit-constructor warnings in common_time." am: 67d47e0ca6
...
am: 9b36ce973e
Change-Id: I8a9e9d09a48da636a8256aec1c0000441d986d4e
2016-08-17 18:18:22 +00:00
Chih-hung Hsieh
9b36ce973e
Merge "Fix google-explicit-constructor warnings in common_time."
...
am: 67d47e0ca6
Change-Id: I2548e50d2654d3dfacd175b4db118983848bf15c
2016-08-17 18:06:22 +00:00
Chih-hung Hsieh
67d47e0ca6
Merge "Fix google-explicit-constructor warnings in common_time."
2016-08-17 17:42:52 +00:00
Chih-Hung Hsieh
ad3dea12ee
Fix google-explicit-constructor warnings in common_time.
...
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: Ieab4756042e77cfadda35e34f78f515058ae0bb3
2016-08-15 14:51:48 -07:00
Elliott Hughes
59d4a4ddd0
Merge "recvfrom takes a non-const pointer." am: 96660b37a1 am: 2f4c6e3d0d
...
am: c41a11a0ee
Change-Id: I48c43a9675568c6b6edbf2a94f51a21770196f2c
2016-08-12 20:19:16 +00:00
Elliott Hughes
c41a11a0ee
Merge "recvfrom takes a non-const pointer." am: 96660b37a1
...
am: 2f4c6e3d0d
Change-Id: I84f726f12c27f66c668026f913708bb8d2a7cfff
2016-08-12 20:09:56 +00:00
Elliott Hughes
2f4c6e3d0d
Merge "recvfrom takes a non-const pointer."
...
am: 96660b37a1
Change-Id: Ief2e969ec0498ac2c9264fa34a3de36773bc43fa
2016-08-12 19:58:55 +00:00
Elliott Hughes
2fa54ef232
recvfrom takes a non-const pointer.
...
Change-Id: Ib2c8f2710cb333904106f849f492c83697fdd937
2016-08-12 10:53:48 -07:00
Chih-Hung Hsieh
56996ff61e
resolve merge conflicts of 76ce8e5 to stage-aosp-master am: ed935c32f4
...
am: ef57a0d629
Change-Id: Ifcc24ad835f2e74a25954bf3fd7090c75abdc084
2016-08-12 00:40:25 +00:00
Chih-Hung Hsieh
ef57a0d629
resolve merge conflicts of 76ce8e5 to stage-aosp-master
...
am: ed935c32f4
Change-Id: Ibb7415686469d7b15e8dbe0cd04226c4e0cd7d76
2016-08-12 00:31:29 +00:00
Chih-Hung Hsieh
ed935c32f4
resolve merge conflicts of 76ce8e5 to stage-aosp-master
...
Change-Id: I4b4ca9906373a95776d2da8ba2fa39a4a78e2a30
2016-08-11 16:48:46 -07:00
Treehugger Robot
76ce8e5242
Merge "Fix clang-tidy warnings in libs/hwui."
2016-08-11 23:20:47 +00:00
Chih-Hung Hsieh
f35c939cd7
Fix clang-tidy warnings in libs/hwui.
...
* Add explicit keyword to conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
Test: build with WITH_TIDY=1
Change-Id: Iab3e6636f60a70cb124f29dc19f20f842fa8dfda
Merged-In: Iab3e6636f60a70cb124f29dc19f20f842fa8dfda
2016-08-10 23:26:59 +00:00
John Reck
1d7ee6b5a3
Make updateSurface non-blocking am: cd68212f08
...
am: 9dd91dec3f
Change-Id: I8a27b5bcff0781e90c9d061da0c1fe03eb6d8176
2016-08-10 17:44:40 +00:00
John Reck
cd68212f08
Make updateSurface non-blocking
...
Bug: 30442298
We already do this for initialize(), fix
it so that update() is parallel with the
UI thread as well.
Shaves ~7ms off of the 99th percentile on
NotificationShade open & close
Change-Id: I1791df495453fb9e1e12362c68e3d20e837e62be
2016-08-09 12:11:13 -07:00
Chris Craik
674965822b
Prevent EndLayerOps when Begin was rejected am: 3c53ec51ef
...
am: 152f76ee50
Change-Id: Id942f3b0495a4e3c9eb7aa6d8647987e72ddb77a
2016-08-09 00:06:51 +00:00
Chris Craik
152f76ee50
Prevent EndLayerOps when Begin was rejected
...
am: 3c53ec51ef
Change-Id: I075b68a1b7bdee4cbebd734748dd485ff6cd67b3
2016-08-08 23:57:22 +00:00
Chris Craik
a9bef43149
Merge "Prevent EndLayerOps when Begin was rejected" into nyc-mr1-dev
2016-08-08 23:44:08 +00:00
Chris Craik
3c53ec51ef
Prevent EndLayerOps when Begin was rejected
...
bug:30537130
BeginLayerOps were being rejected in a way that allowed the associated
EndLayerOps to still be recorded. This was a violation of DisplayList
content expectations, and caused crashes in FrameBuilder when trying to
play these DisplayLists back.
Change-Id: I531b840aa5c4ffb1ee458da3f4b366978eaeafbe
2016-08-08 15:15:58 -07:00
Doris Liu
bd58ea2239
Fix infinite AVD not running am: 18e08a0170
...
am: c66c046a18
Change-Id: I1c6b7e9f768fae2d9ab8b6e22b3d6386de80df89
2016-08-08 21:37:26 +00:00
Doris Liu
18e08a0170
Fix infinite AVD not running
...
This CL fixed an integer overflow error caused by using integer literal
when it should be a float literal that defines a double.
BUG:30739855
Change-Id: If2bdb0eb7a2e93d28434bfe72ec11e8f1f2a1eda
2016-08-08 19:57:34 +00:00
John Reck
77e5333520
Ensure Dequeue/Queue duration is always set am: 70e89c9c37
...
am: ed343def3e
Change-Id: I7d8d854254f491f1a65d0efb82fa8545bc6feacf
2016-08-08 15:06:51 +00:00
John Reck
ed343def3e
Ensure Dequeue/Queue duration is always set
...
am: 70e89c9c37
Change-Id: I4d4543d0f65d5d2826518e7975934ce7a5d7232d
2016-08-08 15:00:15 +00:00
John Reck
295d81c360
Merge "Ensure Dequeue/Queue duration is always set" into nyc-mr1-dev
2016-08-08 14:52:05 +00:00
Doris Liu
8f036e373d
Remove animation value change from push staging am: 6725d581eb
...
am: bc4cefa331
Change-Id: I2c2eefaf5199816821b834ecda441df1a258f43b
2016-08-06 01:22:33 +00:00
Doris Liu
ceda529fae
Support repeatMode = reverse in AVD am: f7167e8f28
...
am: 113a8c63d4
Change-Id: I1872a2e6187956bf72337832f106b9fd833c4834
2016-08-06 01:15:51 +00:00
Doris Liu
bc4cefa331
Remove animation value change from push staging
...
am: 6725d581eb
Change-Id: I53988f1d269c9691a098693a978e1d6e0b275cd6
2016-08-06 01:15:48 +00:00
Doris Liu
7ae119ebff
Merge "Remove animation value change from push staging" into nyc-mr1-dev
2016-08-06 01:07:15 +00:00
Keith Mok
44a291e3f4
Merge "Fix random crash in libhwui" am: 3f67a1855e am: 9aaf189103
...
am: b4e6b8a3df
Change-Id: I94df288a017e27aa86b80a5b4a0bf355947cabfb
2016-08-05 18:47:20 +00:00
Keith Mok
b4e6b8a3df
Merge "Fix random crash in libhwui" am: 3f67a1855e
...
am: 9aaf189103
Change-Id: I87d1c7b03bbf231fa059df53b667687ec68589ef
2016-08-05 18:41:07 +00:00
Keith Mok
9aaf189103
Merge "Fix random crash in libhwui"
...
am: 3f67a1855e
Change-Id: I8dfcad3d00b2cca955457142b963934143ec2cbd
2016-08-05 18:37:14 +00:00
Treehugger Robot
3f67a1855e
Merge "Fix random crash in libhwui"
2016-08-05 18:23:14 +00:00
John Reck
70e89c9c37
Ensure Dequeue/Queue duration is always set
...
Bug: 30662749
Change-Id: I35a4c26ce78536fc7a506ec2f92a8b9eecb12ec2
2016-08-05 10:50:36 -07:00
Doris Liu
f7167e8f28
Support repeatMode = reverse in AVD
...
BUG: 30641232
Change-Id: I34c823a0a45c8441873a9b467275174c5529994b
2016-08-05 01:44:20 +00:00
Doris Liu
6725d581eb
Remove animation value change from push staging
...
This CL ensures that animation values are only updated during
animation pulses.
This CL also includes the revert of
https://googleplex-android-review.git.corp.google.com/#/c/1285913/
BUG: 30659748
Change-Id: Iadc84462dc61157efd3c18a23767bba9faf00f6e
2016-08-04 22:43:07 +00:00
John Reck
d298aff715
Fix RNA crash am: d58230c7f7
...
am: cb3cf9e385
Change-Id: If3e79b4593c8f1edf06f1b7e16e16a727c1a28b8
2016-08-03 19:15:34 +00:00
John Reck
d58230c7f7
Fix RNA crash
...
Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853
2016-08-03 10:28:10 -07:00