7609 Commits

Author SHA1 Message Date
John Reck
bbb4c2eb2e Merge "Add a callback for rendernode parentcount=0" into nyc-dev 2016-03-31 18:24:49 +00:00
Chris Craik
4f6bb3e012 Merge "Fix layer damage and clipping for Text shadows" into nyc-dev
am: 08f41df

* commit '08f41dfb8c43e8d34d8723ef22fe96b580af4d56':
  Fix layer damage and clipping for Text shadows

Change-Id: I17147a76c8f02dd2933cc8ac5664d889ba7d0c26
2016-03-31 17:49:15 +00:00
John Reck
6fa7b4616e Merge "Expand JankTracker" into nyc-dev
am: c48dd5d

* commit 'c48dd5d81e2fadf33314f0e738fd9fc406c6c533':
  Expand JankTracker

Change-Id: I2c3c5a8e5a8d279f1457be6050674d5208135727
2016-03-31 17:49:00 +00:00
Chris Craik
08f41dfb8c Merge "Fix layer damage and clipping for Text shadows" into nyc-dev 2016-03-31 17:08:04 +00:00
John Reck
660108075e Expand JankTracker
Bug: 27922347

* Dump the full histogram
* Expand the histogram to have a slow-frame section with
  large 50ms buckets to raise the cap to 5s to give more
  insight into system-health
* Stop excluding first-frame metrics as we want to include
  those in our global tracking. Automated tests already filter
  these out by doing resets before running anyway.

Change-Id: Idaba8aad591f59d10a6477b11efc0767ff715083
2016-03-31 08:40:23 -07:00
John Reck
44b49f070a Add a callback for rendernode parentcount=0
Bug: 27709981
Fixes: 22565656

Change-Id: I1cb4461baf9069dc4e7ca6de10d5862578c107f4
2016-03-31 08:36:50 -07:00
Chris Craik
70969ccde4 Fix layer damage and clipping for Text shadows
Fixes: 27787426

Change-Id: I4c65cca0cfcd343a9cfbaedd3a32b83f90df2ecf
2016-03-30 18:09:18 -07:00
Adam Lesinski
617608769d Merge "AAPT2: Suppress warnings from libandroidfw when built for host" into nyc-dev
am: 30cadc2

* commit '30cadc25293b82c6f142ead81ef10563ed52bf99':
  AAPT2: Suppress warnings from libandroidfw when built for host

Change-Id: I53cdedcfb71db41226d6bb07c3e2a8cca70b8320
2016-03-30 23:39:02 +00:00
Adam Lesinski
1d7172e598 AAPT2: Suppress warnings from libandroidfw when built for host
Certain error cases are expected (like not finding a package) when
using libandroidfw on the host side for AAPT2. Suppress those warnings
and let AAPT2 handle error cases.

Change-Id: I3de97128686c03c89c5b99559bf46d4f2f1dfe4d
2016-03-30 16:22:33 -07:00
John Reck
b96c35d51d Merge "Add an option to try and filter out test overhead" into nyc-dev
am: 7fa1115

* commit '7fa1115aaf07103c2480b61578bc62ff9cfd53a6':
  Add an option to try and filter out test overhead

Change-Id: I9acf8dffe4f874e846a445fecf01b05a6636e6b6
2016-03-30 20:11:31 +00:00
John Reck
7fa1115aaf Merge "Add an option to try and filter out test overhead" into nyc-dev 2016-03-30 20:07:03 +00:00
John Reck
c7cd9cf25d Add an option to try and filter out test overhead
Bug: 26912651

By setting debug.hwui.filter_test_overhead to true, hwui's
janktracker will attempt to filter out overhead caused
by the event injection that automated testing uses

Change-Id: I75c8dc5e7798e06e3009baf396108507c7240eec
2016-03-30 10:08:13 -07:00
Chris Craik
a8321fb6a2 Merge "Support buildLayer in new pipeline" into nyc-dev
am: 0b88079

* commit '0b880795c12954f1b7818c78d6416d47f1df08dc':
  Support buildLayer in new pipeline

Change-Id: If4a178c5b757b17d652c0e5103d9db826e1ef7bd
2016-03-30 16:52:31 +00:00
Chris Craik
6246d27813 Support buildLayer in new pipeline
bug:26561995
bug:27620686

Change-Id: I6c39f9a077e7e6002d3c01b8888238fd17b0f02a
2016-03-29 16:50:32 -07:00
Chris Craik
f42e9b1b1e Merge "Overdraw avoidance in new pipeline" into nyc-dev
am: 80a67f3

* commit '80a67f363f6ae941c28572ea8420c14c2ce6ef79':
  Overdraw avoidance in new pipeline

Change-Id: I139d5172d2913ecce6f8ab91d5f5b5f34988039a
2016-03-29 21:49:21 +00:00
Chris Craik
80a67f363f Merge "Overdraw avoidance in new pipeline" into nyc-dev 2016-03-29 21:41:52 +00:00
Chris Craik
80d2ade939 Overdraw avoidance in new pipeline
bug:27873093

Adds the simple overdraw avoidance optimization to the new
pipeline. This means when LayerBuilder defers draws that are opaque over
the full area of the repaint region, it will discard all drawing content
beneth.

Also moves a lot of complexity out of BakedOpState's header.

Change-Id: Iffca6d8e1b170ef31a5d6c83d25592670e02323d
2016-03-29 13:30:15 -07:00
John Reck
a4d8ea14bf Merge "Add a font microbench" into nyc-dev
am: a5c4545

* commit 'a5c45459d3f114f125da3357c36b5a3f659d2229':
  Add a font microbench

Change-Id: Ib992cc06dcc7063283bee9840ec1b290f378adf5
2016-03-29 20:16:04 +00:00
John Reck
a5c45459d3 Merge "Add a font microbench" into nyc-dev 2016-03-29 20:07:56 +00:00
John Reck
0775a95c39 Merge "Fix array out of bounds access in JankTracker" into nyc-dev
am: f01e4af

* commit 'f01e4af5a3af7ceb7d022660953d3ed6ab2e193c':
  Fix array out of bounds access in JankTracker

Change-Id: I7a999da1b8cafe96b5739f1361be7428ffc26b80
2016-03-29 18:37:46 +00:00
John Reck
f01e4af5a3 Merge "Fix array out of bounds access in JankTracker" into nyc-dev 2016-03-29 18:08:51 +00:00
John Reck
2c0f93798b Add a font microbench
Also remove a low-signal high-frequency trace mark

Fixes: 27894187

Change-Id: I090122a0db8e455eaa9dbce2b0f5b6778a218188
2016-03-29 09:55:13 -07:00
Dan Austin
62c01e3740 Merge "Address const issues in preparation for libcxx rebase." am: 64ade5d
am: 170c93f

* commit '170c93f57fba11aade98caaffefb8d65dc7c864e':
  Address const issues in preparation for libcxx rebase.
2016-03-28 21:52:55 +00:00
Derek Sollenberger
64efee70a4 Fix broken test.
am: 58691b6

* commit '58691b6fe7631ab55e05775fa6e190dbdb4c3c69':
  Fix broken test.
2016-03-28 21:06:01 +00:00
Chris Craik
2841963e51 Merge "Consume TextureView matrix safely" into nyc-dev
am: 3839ab1

* commit '3839ab1e3eabbceeccfc0be25fbd15512138fab7':
  Consume TextureView matrix safely
2016-03-28 21:04:31 +00:00
Chris Craik
17bf838462 Merge "Add a couple more tests around bitmap uploads" into nyc-dev
am: aab289b

* commit 'aab289b8c2f1e8c763972bad93465022eb6846a6':
  Add a couple more tests around bitmap uploads
2016-03-28 21:02:46 +00:00
Dan Austin
71831a6303 Address const issues in preparation for libcxx rebase.
Change-Id: Ia9edf466ab4d1b6cc3f6c6ed86b333e6521c528d
2016-03-28 13:33:11 -07:00
Derek Sollenberger
58691b6fe7 Fix broken test.
bug: 27877439
Change-Id: I43b009f3c9ebe8011a241d0740136e6cff2e1ff7
2016-03-28 16:17:36 -04:00
Chris Craik
3839ab1e3e Merge "Consume TextureView matrix safely" into nyc-dev 2016-03-28 18:30:22 +00:00
Chris Craik
aab289b8c2 Merge "Add a couple more tests around bitmap uploads" into nyc-dev 2016-03-28 17:47:52 +00:00
Chris Craik
aafb01d8ad Consume TextureView matrix safely
Fixes: 27825042

TextureView's matrix may not be set at record time - delay using it
until on RenderThread, when deferring the op.

Change-Id: Icf8b55d656e304ec049ca803b042dc2359482db2
2016-03-28 10:12:37 -07:00
John Reck
d6e3cf4ab5 Fix array out of bounds access in JankTracker
Fixes: 27873879

If frametime > max janktracker would accidentally
double-increment totalFrameCount due to overflowing
the end of frameCounts

Change-Id: Iebfd1349b7014ade807f42d9c196139274a96684
2016-03-28 09:37:20 -07:00
Derek Sollenberger
cf512aa31e Merge "Compute text bounds on a per glyph basis when drawing from an SkPicture." into nyc-dev
am: b64da4c

* commit 'b64da4cac43ad66dc1a1d6e8c963a263cbf932c8':
  Compute text bounds on a per glyph basis when drawing from an SkPicture.
2016-03-28 14:35:50 +00:00
Derek Sollenberger
b64da4cac4 Merge "Compute text bounds on a per glyph basis when drawing from an SkPicture." into nyc-dev 2016-03-28 14:31:17 +00:00
Chris Craik
d4abb2527b Merge "Create first class unbounded ColorOp" into nyc-dev
am: 349c866

* commit '349c866e399a1eb2e85b1982d5d10f3a8cc4c69b':
  Create first class unbounded ColorOp
2016-03-26 00:33:01 +00:00
Chris Craik
349c866e39 Merge "Create first class unbounded ColorOp" into nyc-dev 2016-03-26 00:26:12 +00:00
Chris Craik
716ae9c350 Merge "Fix TextureLayer test" into nyc-dev
am: fd39aa1

* commit 'fd39aa1426257654416cea4267c534050c447112':
  Fix TextureLayer test
2016-03-26 00:22:42 +00:00
Chris Craik
243e85b2e4 Fix TextureLayer test
Fixes: 27823158

Change-Id: Ifed0d6119349662a23899935bfe5f3bacb361617
2016-03-25 15:36:43 -07:00
Chris Craik
a204848b1d Create first class unbounded ColorOp
bug:27810783

Previous drawColor->drawPaint conversion failed to preserve unbounded
nature of drawColor from old pipeline.

Change-Id: Ifd7a7b9d645f0887e252e48ca95d3195ee31615f
2016-03-25 15:13:23 -07:00
Chris Craik
bee6092dbe Add a couple more tests around bitmap uploads
Change-Id: I36138238b7e6cce8dab62fb56eaa1be15091a412
2016-03-25 10:27:03 -07:00
Derek Sollenberger
928b30a1c3 Merge "Update HWUI tests to use minikin to layout fonts." into nyc-dev
am: 35a568f

* commit '35a568fde4d9158fca49af36d8f1b1456fd20169':
  Update HWUI tests to use minikin to layout fonts.
2016-03-25 17:11:59 +00:00
Derek Sollenberger
35934cccab Compute text bounds on a per glyph basis when drawing from an SkPicture.
bug: 27665826
Change-Id: I031c08a348b2488c85f74e708ee90019b24d707f
2016-03-25 17:10:27 +00:00
Derek Sollenberger
79abbf22d4 Update HWUI tests to use minikin to layout fonts.
This update is a precondition for landing additional tests
that depend on the minkin layout implementation.

bug: 27675371
Change-Id: I9bb98bae6b39462246e42cf8acb968b7df05292d
2016-03-25 11:53:08 -04:00
John Reck
75cfe87335 Merge "Track slowest frames" into nyc-dev
am: 5bee059

* commit '5bee05960dcc415c28076d8efd2ff94c0f89f9fd':
  Track slowest frames
2016-03-25 14:40:34 +00:00
John Reck
5bee05960d Merge "Track slowest frames" into nyc-dev 2016-03-25 14:33:59 +00:00
John Reck
5ed587f25b Track slowest frames
Fixes: 27795291

Track the 10 slowest frames over the last 24 hours
to try and give approximate insight into total system health.

Change-Id: I8aa646cef0bea185d46b3c78478266bc01d17fd7
2016-03-24 17:22:45 -07:00
Chris Craik
a031de69f0 Merge "Add refBitmap tests" into nyc-dev
am: d7285c2

* commit 'd7285c29d19eb47e061cedb8d6a8c5fcf6e40948':
  Add refBitmap tests
2016-03-24 19:51:28 +00:00
Chris Craik
d7285c29d1 Merge "Add refBitmap tests" into nyc-dev 2016-03-24 19:44:15 +00:00
Chris Craik
734f146c1e Add refBitmap tests
Change-Id: I769457ff8934689bf425bab34a65d2a743959f9d
2016-03-24 11:10:10 -07:00
Chris Craik
044cb78a52 Merge "Precache/early kick off of op work for non-shadow ops." into nyc-dev
am: 6e379cd

* commit '6e379cddbcf658cf177e4adf44046c836f543772':
  Precache/early kick off of op work for non-shadow ops.
2016-03-23 20:32:30 +00:00