Chris Craik
ec83bd15c8
Merge \"Avoid throwing when 0 size layer requested\" into nyc-mr1-dev
...
am: 272b827925
Change-Id: Ibd3f90aea167b7ee0e1f9add327a651ba94c7883
2016-07-11 21:28:23 +00:00
Chris Craik
e3e481df76
Avoid throwing when 0 size layer requested
...
bug:30032790
Change-Id: I8553af0d0b0d59fea6535d03479c4e7134a9f4f9
2016-07-11 19:26:18 +00:00
Tim Murray
03b34e402c
Merge changes from topic \'fifo\' into nyc-mr1-dev
...
am: a96d445aef
Change-Id: If4a5c3f65cb611aecf82ad49ad6d992f098cbfb1
2016-07-07 20:48:27 +00:00
Tim Murray
a96d445aef
Merge changes from topic 'fifo' into nyc-mr1-dev
...
* changes:
Add new mode for SCHED_FIFO on UI and RenderThreads.
Add isThreadInProcess.
2016-07-07 20:29:24 +00:00
Tim Murray
33eb07f575
Add new mode for SCHED_FIFO on UI and RenderThreads.
...
Add a new mode, controlled by sys.use_fifo_ui property, that enables the
top app's UI and RenderThread to be SCHED_FIFO. This eliminates almost
all jank due to scheduling competition with non-UI critical
threads. This mode may not be suitable for all devices.
bug 24503801
Change-Id: I7b8a31830ad80f7efa00236928d5476998ed4e00
2016-07-07 12:55:31 -07:00
John Reck
6354336493
Merge \"Consider queue & dequeue times for should draw\" into nyc-mr1-dev
...
am: 3a465e7a12
Change-Id: I2ea38a087056e2f75aeb27c5bce03fe52690cd6e
2016-07-07 16:18:06 +00:00
John Reck
0def73aac5
Consider queue & dequeue times for should draw
...
Bug: 29413700
Change-Id: I4b27b077af569e3c60c57b0e11501e9f3af70579
2016-07-06 17:00:43 -07:00
Chris Craik
ab9e74bbbd
Merge \"Handle post-record-time clipPath scaling\" into nyc-mr1-dev
...
am: a6b011e9b0
Change-Id: Icdf0cb748953c9ad1db57b748719f4c93429e78a
2016-06-30 01:21:30 +00:00
Chris Craik
82457c5117
Handle post-record-time clipPath scaling
...
bug:29547149
Change-Id: I268210b240d2d8e08638114715f9622840fc02f7
2016-06-29 16:22:28 -07:00
Chris Craik
b1d6dd216c
Merge \"Fix savelayer rounding\" into nyc-mr1-dev
...
am: 754ea612ec
Change-Id: Ib86ae01c824b57c4c93562aefb6c264b02538e28
2016-06-28 17:39:26 +00:00
Chris Craik
754ea612ec
Merge "Fix savelayer rounding" into nyc-mr1-dev
2016-06-28 17:33:27 +00:00
Chris Craik
e4f6d968f5
Fix savelayer rounding
...
bug:29456451
Change-Id: I8022163d2c004510da5db74efdca27582484224d
2016-06-28 09:53:04 -07:00
John Reck
892f8e7d4f
Merge \"Fix SurfaceViewPositionListener race bugs\" into nyc-mr1-dev
...
am: 8701bff9ba
Change-Id: I17b1cf4e81321edb04ae9ac99449160a705ba824
2016-06-28 01:31:02 +00:00
TreeHugger Robot
8701bff9ba
Merge "Fix SurfaceViewPositionListener race bugs" into nyc-mr1-dev
2016-06-28 01:26:43 +00:00
John Reck
27875c2f31
Merge \\"Add missing roundOut for layer damage\\" into nyc-dev am: 48cde353eb
...
am: aecf607eb6
Change-Id: Iede184ab8942798a932f67d1ece3f7fd5e0f9d66
2016-06-27 22:31:39 +00:00
John Reck
11858f170a
Merge \"Add missing roundOut for layer damage\" into nyc-dev
...
am: 48cde353eb
Change-Id: I99532e6b7992452523c4fb0716a7161c06b92950
2016-06-27 22:28:41 +00:00
John Reck
aecf607eb6
Merge \"Add missing roundOut for layer damage\" into nyc-dev
...
am: 48cde353eb
Change-Id: If4ca933e218fc33fa78dc063b687e03793635e6c
2016-06-27 22:28:39 +00:00
John Reck
48cde353eb
Merge "Add missing roundOut for layer damage" into nyc-dev
2016-06-27 22:22:41 +00:00
John Reck
ac046387be
Add missing roundOut for layer damage
...
fixes: 29771171
This is a regression from HWUI_NEW_OPS, a roundOut
was missing in the new path that was in the old one
Change-Id: Ibf223d550bb5525781864dd9b7f7cd6d73adb98b
2016-06-27 15:18:26 -07:00
Chris Craik
65c0d9d290
Round unclipped saveLayers
...
am: 45e83338e5
Change-Id: I3ecb7fdd2097779cf7f596c0e6a3f7914902ca39
2016-06-27 21:45:04 +00:00
Chris Craik
45e83338e5
Round unclipped saveLayers
...
fixes: 29456451
Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
(cherry picked from commit d5a9011412 )
2016-06-27 21:06:35 +00:00
John Reck
7b570deea6
Fix SurfaceViewPositionListener race bugs
...
Bug: 29628138
1: Make windowPositionLost synchronous as that's
what the Java side was expecting
2: Make the listener ref counted as otherwise
there's a race condition with the GC, which could
end up with use-after-frees
3: Ensure that all position updates are invoked
prior to frame completion
Change-Id: Iedbc017f611ba2878a49b4586612f79249ca2fe3
2016-06-27 13:35:13 -07:00
Chris Craik
366f7476ea
Merge \"Round unclipped saveLayers\" into nyc-mr1-dev
...
am: fdef509c93
Change-Id: I815b90f2d26a9043db3c76b69c64a3b42d3369ca
2016-06-24 23:06:38 +00:00
Chris Craik
d5a9011412
Round unclipped saveLayers
...
fixes: 29456451
Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
2016-06-24 14:14:45 -07:00
Doris Liu
b53c9c1658
Merge \"Fix NPE for checking for whether animators should play together\" into nyc-mr1-dev
...
am: 7f9c189f06
Change-Id: I3ea0e652dd39dfffe279b4c2c0bb19d362eb91af
2016-06-24 17:53:06 +00:00
Doris Liu
c470466d7c
Fix NPE for checking for whether animators should play together
...
BUG: 29586505
Change-Id: Ic2a67d51d2ac8d5bfb11ed7773c7c7e413cc28c7
2016-06-24 00:01:39 +00:00
John Reck
2d30d67249
Merge \"Avoid re-calculating vsync mid-frame\" into nyc-dev
...
am: fc275d244e
Change-Id: I295b6e60a7b2fdcdce3692e74fe54755845132e0
2016-06-18 02:22:54 +00:00
John Reck
f5159155d0
Merge \"DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it\" into nyc-dev
...
am: d11b5e6661
Change-Id: I1caf2fbac785c68c6afeb61b60493e728a83a670
2016-06-18 02:14:29 +00:00
John Reck
a32df88d7d
Merge \\"Avoid re-calculating vsync mid-frame\\" into nyc-dev am: fc275d244e
...
am: cb0649f72b
Change-Id: I7cc9443c1ab3e876daa3aeecbcb9a41085f359af
2016-06-18 02:08:56 +00:00
TreeHugger Robot
d11b5e6661
Merge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into nyc-dev
2016-06-18 02:07:05 +00:00
John Reck
cb0649f72b
Merge \"Avoid re-calculating vsync mid-frame\" into nyc-dev
...
am: fc275d244e
Change-Id: Ic46d2d9627c4dcbd345b49f01af0bf3b8247259c
2016-06-18 02:05:17 +00:00
John Reck
501ff9acfe
Avoid re-calculating vsync mid-frame
...
Fixes: 29072773
By using computeFrameTime AnimationContext would
potentially end up modifying the latest vsync if
a very-slow frame was received from the UI thread.
This could potentially desync animations that were
RT & UI thread 'synchronized', but more significantly
it would confuse the swap chain which tries to only
draw one frame per vsync causing unneccessary frame
drops.
Change-Id: Ibd2ec3157ce32fee1eec8d56837c45a35e622895
2016-06-17 20:44:43 +00:00
John Reck
34bf49e4de
DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it
...
Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
(cherry picked from commit aa6e84f21d )
2016-06-17 20:26:10 +00:00
John Reck
61513724f0
Merge \"Move SurfaceView offscreen if the app stops drawing it\" into nyc-mr1-dev
...
am: e66dedf35b
Change-Id: I3d070161a4bdacd0cdcf2e61f026f9fffe15890e
2016-06-17 20:20:38 +00:00
John Reck
aa6e84f21d
Move SurfaceView offscreen if the app stops drawing it
...
Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
2016-06-17 10:23:54 -07:00
ywen
8ef6b2e628
Merge \\\"Performance Optimization: Align texture dirty rect\\\" am: 4e6a73c16a am: ec45adde70
...
am: 89132e094f
Change-Id: I198fc7403ad5e42dbb0caaac33185c8169b3aebc
2016-06-16 21:59:21 +00:00
John Reck
89132e094f
Merge \\"Performance Optimization: Align texture dirty rect\\" am: 4e6a73c16a
...
am: ec45adde70
Change-Id: Ice5c2f216dab71fe26b07f9299f8c4300b80f665
2016-06-16 21:47:55 +00:00
ywen
ec45adde70
Merge \"Performance Optimization: Align texture dirty rect\"
...
am: 4e6a73c16a
Change-Id: I2bafdfadd3d6ff88be44475f77158236015acfde
2016-06-16 21:42:13 +00:00
John Reck
4e6a73c16a
Merge "Performance Optimization: Align texture dirty rect"
2016-06-16 21:35:12 +00:00
Adam Lesinski
f4152a9c7e
Merge \\"ResourcesManager: Allow managed addition of library asset paths\\" into nyc-dev am: 464bda8a2b
...
am: c3ab1b7c0a
Change-Id: I6d268a2d0871de19a57358ff7755c525906aae1c
2016-06-15 22:57:08 +00:00
Adam Lesinski
1dda5b39d4
Merge \"ResourcesManager: Allow managed addition of library asset paths\" into nyc-dev
...
am: 464bda8a2b
Change-Id: I0609c73c4f36b48970bba83b6ea5bd95e6c2d956
2016-06-15 22:47:58 +00:00
Adam Lesinski
c3ab1b7c0a
Merge \"ResourcesManager: Allow managed addition of library asset paths\" into nyc-dev
...
am: 464bda8a2b
Change-Id: I352c56482aca030efab49ca39301679b51e44e05
2016-06-15 22:44:43 +00:00
Adam Lesinski
464bda8a2b
Merge "ResourcesManager: Allow managed addition of library asset paths" into nyc-dev
2016-06-15 22:35:26 +00:00
Adam Lesinski
25f48886b2
ResourcesManager: Allow managed addition of library asset paths
...
This allows WebView to add itself to the ResourcesManager and
remain their even after configuration changes and multi-window
changes.
Bug:29112218
Change-Id: I2cb131ae2c61fb58c48babafdd46c1882be96aa9
2016-06-15 12:00:18 -07:00
ywen
229cad0ab2
Performance Optimization: Align texture dirty rect
...
Align x offset and width to 32, y offset and height to 4.
It improves the font texture upload performance.
Change-Id: I967eeed90658f2ce1eb08cb2740d5dc34c72f40b
2016-06-15 08:32:25 +00:00
John Reck
6c3281a7c7
Merge \\"Redraw if dirty during stopped when resumed\\" into nyc-dev am: 5b4ff21a74
...
am: fc4c59a10c
Change-Id: Id572ab8137655b8f64e563d78897d2461442dd39
2016-06-14 14:58:56 +00:00
John Reck
f22f6cf0f3
Merge \"Redraw if dirty during stopped when resumed\" into nyc-dev
...
am: 5b4ff21a74
Change-Id: I75235a18c29939b4f221c8af664d5f7218660aed
2016-06-14 14:54:21 +00:00
John Reck
fc4c59a10c
Merge \"Redraw if dirty during stopped when resumed\" into nyc-dev
...
am: 5b4ff21a74
Change-Id: If4eedb4a4c1ff6d4e96f8b0db4ddd846a2967a9f
2016-06-14 14:54:18 +00:00
John Reck
5b4ff21a74
Merge "Redraw if dirty during stopped when resumed" into nyc-dev
2016-06-14 14:43:20 +00:00
Doris Liu
33b9430e90
Merge \"Test RenderNode\'s prepareTree when its DL is null and non-null\" into nyc-mr1-dev
...
am: 3d66bdb56d
Change-Id: I55aab1c33b1da1b28eb5cb0b9347d7edad5c8666
2016-06-13 23:51:08 +00:00