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
6246d27813
Support buildLayer in new pipeline
...
bug:26561995
bug:27620686
Change-Id: I6c39f9a077e7e6002d3c01b8888238fd17b0f02a
2016-03-29 16:50:32 -07: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
a5c45459d3
Merge "Add a font microbench" into nyc-dev
2016-03-29 20:07:56 +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
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
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
349c866e39
Merge "Create first class unbounded ColorOp" into nyc-dev
2016-03-26 00:26:12 +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
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
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
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
6e379cddbc
Merge "Precache/early kick off of op work for non-shadow ops." into nyc-dev
2016-03-23 20:24:26 +00:00
Chris Craik
3a5811b501
Precache/early kick off of op work for non-shadow ops.
...
bug:26562703
bug:27052145
Change-Id: Ic452bfe75da849ffdd47fecdd6eb1472fd0c806e
2016-03-23 12:55:12 -07:00
John Reck
417ed6d433
Fix missing first frame
...
Bug: 26776366
Change-Id: I46258c0ff35fdefe5c9f2ee610c904b2dbe8c5d9
2016-03-23 07:59:10 -07:00
sergeyv
bad9918391
Clean up and rename TypefaceImpl
...
bug:25865834
Change-Id: I77e8a627163e040a5c25865054a8a936052af367
2016-03-21 16:33:14 -07:00
sergeyv
dccca44ffd
Reland: Move text logic from jni to hwui level
...
Initial CL: https://googleplex-android-review.git.corp.google.com/#/c/886854/
Change-Id: I9dfd85fe1d2a2c44f4360c8a29fd58d80e6f31c8
2016-03-21 15:55:46 -07:00
Sergei Vasilinetc
6847953955
Merge "Revert "Move text logic from jni to hwui level"" into nyc-dev
2016-03-21 21:06:47 +00:00
Sergei Vasilinetc
afbd0f1fef
Revert "Move text logic from jni to hwui level"
...
This reverts commit a7f6bba1a3565c19715e878dfe7f0e01022944ff.
Change-Id: If4f36f87a85411b6128fd92d391313803ccaf9dd
2016-03-21 21:03:40 +00:00
Sergei Vasilinetc
49658d4380
Merge "Move text logic from jni to hwui level" into nyc-dev
2016-03-21 20:11:27 +00:00
Chris Craik
4fd95b0d94
Merge "Handle unbounded drawPaint/drawGLFunction operations safely" into nyc-dev
2016-03-21 19:26:06 +00:00
Chris Craik
4c3980b6e4
Handle unbounded drawPaint/drawGLFunction operations safely
...
bug:26591194
Also, revert to using current clip bounds as drawColor/drawPaint bounds
for simplicity in new pipeline.
Change-Id: I1a6b3f9716b564b46df41d57dfe14475fdd24de0
2016-03-18 16:16:38 -07:00
Chris Craik
7fb0d09455
Merge "Rebuild outline when setBackground is called." into nyc-dev
2016-03-18 22:29:20 +00:00
Chris Craik
96bacd186e
Rebuild outline when setBackground is called.
...
bug:27505848
Also correctly register damage from profiling bars.
Change-Id: I9550c2742eb833350a077ca48eccf9b584083a1e
2016-03-18 15:28:23 -07:00
John Reck
7882592d0c
Merge "Fix NPE in clearTexture()" into nyc-dev
2016-03-17 18:08:49 +00:00
John Reck
db009173f8
Fix NPE in clearTexture()
...
Change-Id: I38d261968506ab8b312584c7e688e2b148fadd1f
Fixes: 25928378
2016-03-17 11:02:07 -07:00
Chris Craik
f9e398da8e
Merge "Fix prep_volantis.sh freq printing" into nyc-dev
2016-03-17 17:59:14 +00:00
Chris Craik
dfc07dedf7
Fix prep_volantis.sh freq printing
...
Change-Id: I05e7e73423ae6ae7baf6f96924ed0f8cb9ad5488
2016-03-17 10:57:52 -07:00
John Reck
969e8c365f
Merge "Move updating window position off RT" into nyc-dev
2016-03-17 17:43:50 +00:00
John Reck
38f6c034d1
Move updating window position off RT
...
Bug: 27385141
Change-Id: I6c75b5f1d9ef55ef64dde050f71d0e28fb8714bf
2016-03-17 10:32:07 -07:00
Chris Craik
aefcb2bd39
Merge "Account for text op stroke in bounds calculation" into nyc-dev
2016-03-17 17:05:15 +00:00
sergeyv
a7f6bba1a3
Move text logic from jni to hwui level
...
bug:25865834
Change-Id: I2d8c9c9544afcb5ce1784f732aed3e54e0eda372
2016-03-17 09:48:57 -07:00
Chris Craik
7c02cab0b1
Account for text op stroke in bounds calculation
...
bug:27410033
Change-Id: Idf5bd5d2401f458d03af11617144cbe88adaf886
2016-03-16 17:46:40 -07:00
Tenghui Zhu
71e806b2f4
Merge "Add fillType support to VectorDrawable" into nyc-dev
2016-03-16 21:13:24 +00:00
Chris Craik
9aec632913
Remove unused include
...
This include breaks compilation when HWUI_NEW_OPS=false
Change-Id: Ia3167f1550167f96de83af4b2f25abd6903c4723
2016-03-16 13:04:03 -07:00
Teng-Hui Zhu
46591f4a2d
Add fillType support to VectorDrawable
...
Default as non-zero, which is the same as SVG.
b/27533958
Change-Id: Id20e6d3493bb4d2b4b65d7f6cdb13586631c40e4
2016-03-16 11:03:27 -07:00
Doris Liu
d75f694c1a
Merge "Workaround for PathMeasure.getSegment() behavior change" into nyc-dev
2016-03-16 00:21:14 +00:00
Doris Liu
24ba125158
Workaround for PathMeasure.getSegment() behavior change
...
SkPathMeasure::getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
bool startWithMoveTo) in SkPathMeasure used to ignore the case when
startD == stopD in MNC release. In NYC, the same paramaters would yield
a tiny segment, which leaves undesirable artifacts as shown in the bug
below.
Bug: 27665826
Change-Id: I8289dc32773fd55d686458183af44ff072866c6e
2016-03-15 17:01:55 -07:00