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
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
Chris Craik
d06fa51e6b
Merge "Unrounded round rects are just rects" into nyc-dev
2016-03-14 23:49:37 +00:00
Chris Craik
2dbb4c46ee
Unrounded round rects are just rects
...
Change-Id: I66517390943192e4725251b316a3d8c332c2b77d
2016-03-14 15:58:44 -07:00
Chris Craik
02806288d1
Fix flickering when layers resize in-place
...
bug:27248275
Change-Id: Ia11c93ebc1097f3735071204b6f14ca079bb9fc4
2016-03-14 13:26:25 -07:00
Chris Craik
e62beb0ebf
Merge "Dump full Glop in GlopBuilder::dump" into nyc-dev
2016-03-14 17:22:27 +00:00
Chris Craik
701b3cc0db
Dump full Glop in GlopBuilder::dump
...
Change-Id: I022b3c8c265998fd97d41f13964f4703025b338a
2016-03-11 18:39:01 -08:00
Sergei Vasilinetc
67bd3b5256
Merge "Add GlopBuilder test for snapping" into nyc-dev
2016-03-11 23:43:10 +00:00
sergeyv
f42bf3e257
Add GlopBuilder test for snapping
...
Change-Id: I7aa5cddef6f0a0e78f3ade67b0446c1f76cf3d13
2016-03-11 14:33:26 -08:00
Chris Craik
e83cca3a3a
Merge "Fix node rejection crash" into nyc-dev
2016-03-10 23:45:20 +00:00
Chris Craik
1367d2550e
Fix node rejection crash
...
bug:27598131
Change-Id: Iea05c22ec10f92beef9c47236929eb5f860d84f9
2016-03-10 15:43:13 -08:00
Chris Craik
ed5916d2be
Merge "Fix WebView disappearing" into nyc-dev
2016-03-10 19:21:13 +00:00
Chris Craik
223e3b6c2b
Fix WebView disappearing
...
bug:27528563
Change-Id: Ib9fefa18ef9fb8eb11edd097cbadf8ab2b911576
2016-03-10 10:49:45 -08:00
Adam Lesinski
ff5808d223
AssetManager: Cache a pre-filtered list of configurations
...
When we set the parameters for a ResTable, we can pre-filter which
resources match and only look at that smaller list when getting entries.
This helps A LOT with types that have many configurations, like strings
and all their various locales.
We must store the cached entries in a parallel data structure because parts
of the main Type object are shared with other ResTables, causing data races.
Bug:25499111
Change-Id: I63e37dcbd683fc9f1e7d0f3a6ed4c1c01e0fc575
2016-03-09 17:33:14 -08:00
Chris Craik
727819d134
Merge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev
2016-03-10 00:26:20 +00:00
Chris Craik
034a10bf21
Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7
...
Bug:27534946
Mapping empty rects still must be done to get correct positions for
line/point rects describing strokable bounds.
Change-Id: I2f9efe543e58eb438b755276585491c1256d6719
2016-03-09 16:14:35 -08:00
Chris Craik
c17232598b
Merge "Add initial BakedOpDispatcher tests" into nyc-dev
2016-03-10 00:08:46 +00:00
Chris Craik
419a1e7ef5
Add initial BakedOpDispatcher tests
...
bug:26571145
bug:26923968
bug:27389290
Change-Id: If8ba33732d09b335171f87d5efc419641bafa126
2016-03-09 16:03:52 -08:00
John Reck
99f1215607
Merge "Add basic LsaVector tests" into nyc-dev
2016-03-09 20:29:46 +00:00
John Reck
77bf1bb928
Merge "Switch hwui to google-benchmark" into nyc-dev
2016-03-09 15:20:11 +00:00
John Reck
308dba5d92
Add basic LsaVector tests
...
Change-Id: I57600271a4efcb63b1c24b582ead48d51f002c2e
2016-03-08 13:20:06 -08:00
John Reck
f76535cd4a
Merge "Fix build breakage" into nyc-dev
2016-03-08 19:06:54 +00:00
John Reck
88737a05b3
Fix build breakage
...
Update for API change
Change-Id: I649778b5f104a5295c0c827cc832e6190137bd02
2016-03-08 11:03:35 -08:00
John Reck
328653d74c
Merge "Add leak-checking to unit tests" into nyc-dev
2016-03-08 18:25:10 +00:00
John Reck
dc87c52cd5
Add leak-checking to unit tests
...
Initial pass at leak-detection on the unit
tests. Due to quirks in jemalloc we need
to run the leak check on both the main thread
and the RT thread to get decent leak coverage.
Change-Id: I0dce754aef5593f1ef5c3bed86e1168437a34b74
2016-03-08 10:20:28 -08:00
John Reck
0418afa362
Switch hwui to google-benchmark
...
Change-Id: Ia2b24b8288cb8dc4f9176f4132a24ddcae9b6edd
2016-03-07 13:42:11 -08:00
Adam Lesinski
53185a50d1
Merge "Revert "AssetManager: Cache a pre-filtered list of configurations"" into nyc-dev
2016-03-07 20:22:24 +00:00
Adam Lesinski
fa7d78ae87
Revert "AssetManager: Cache a pre-filtered list of configurations"
...
There is a race due to the modification of shared data structures in the framework ResTable.
See b/27499488
This reverts commit d4b169173ad7805369204277580d3942cb08174a.
Change-Id: I3f400a2ad3b5ffc652b84dd5fe777f7cf34b5548
2016-03-07 19:39:56 +00:00
Chris Craik
a98222ae7a
Merge "Reject RenderNodes contents when clip is empty" into nyc-dev
2016-03-07 17:43:32 +00:00
Chris Craik
8913c8942f
Reject RenderNodes contents when clip is empty
...
bug:22630332
Change-Id: I326123de3154f655e35d649c242daea3b4f0fda0
2016-03-04 16:28:31 -08:00
Chris Craik
b862f5866f
Merge "Support GPU profiling vis in new pipeline" into nyc-dev
2016-03-05 00:19:10 +00:00
Chris Craik
1dfa070496
Support GPU profiling vis in new pipeline
...
bug:27353099
Change-Id: I905c1a998d9a9e2097c047dab9de87a70d7a370e
2016-03-04 16:18:26 -08:00
Chris Craik
485e41d510
Merge "Revert "Disable HWUI_NEW_OPS"" into nyc-dev
2016-03-04 17:58:37 +00:00
Chris Craik
6f270e062c
Merge "Fix clip rect snapping at non-integer scale values" into nyc-dev
2016-03-04 17:54:33 +00:00
Chris Craik
69aeabe618
Fix clip rect snapping at non-integer scale values
...
bug:26923968
Also removes several reinterprets to ClipRect, since Rect member is in
base class.
Change-Id: If46dbdcea05b1257af185ccb38058735ebe81f79
2016-03-03 16:52:34 -08:00
Chris Craik
4123e53846
Merge "Improve handling of undefined-at-record-time bounds in new ops" into nyc-dev
2016-03-04 00:20:46 +00:00
Roozbeh Pournader
7960898f6f
Fix script-related parts of locale resource matching
...
Previously, a bit was kept to find if the script of a locale was
explicitly "provided" in a resource. This was not backward
compatible, and failed in some edge cases when the package was
created with older versions of AAPT that did not set the bit.
The cases would happen when the old resource had an explicit script
specified in its locale, but since the "provided" bit was not set in
the package, we would assume that the script was computed by us.
This CL replaces the "provided" bit with a "computed" bit, so the
default value of the bit (set to "false" for old packages) would be
correct.
Bug: 27156990
Change-Id: I99e7f1ad8f70c90e25ab3640ed34cc1a6f8d1d64
2016-03-03 15:19:37 -08:00
Chris Craik
a154f47307
Improve handling of undefined-at-record-time bounds in new ops
...
bug:26591194
Change-Id: Ifc695d285d688903e2ef6aa3f0cb9e7ebf1f68d6
2016-03-03 14:16:31 -08:00
Chris Craik
f0a76088f8
Revert "Disable HWUI_NEW_OPS"
...
bug:27366026
This reverts commit 0bed032eb2d19c339ecaa89a6e3159c0e2ac98de.
Change-Id: I4d569a11bb2b8db73b9984c50941c78ec5c91fe9
2016-03-03 21:07:54 +00:00