Commit Graph

7700 Commits

Author SHA1 Message Date
Sergei Vasilinetc
0353c378ba Merge "Add gmock to hwui library" 2016-05-17 21:00:02 +00:00
sergeyv
8bd5edf804 Add gmock to hwui library
Change-Id: I1dec4cd234e5ee8bb01140b969d0cf817a849047
2016-05-17 12:22:55 -07:00
Chris Craik
f6856b0f34 Merge "Fix hw layer overdraw/update visualization" into nyc-dev am: 189e3e5ec5 am: bd2edfca03
am: f075b05d5a

* commit 'f075b05d5a8516ff98d9c25c1b5ac307fdfc234a':
  Fix hw layer overdraw/update visualization

Change-Id: I70968a90dbc3ea13654b7dbb8065d5a577a0f9ae
2016-05-17 00:17:42 +00:00
Chris Craik
bd2edfca03 Merge "Fix hw layer overdraw/update visualization" into nyc-dev
am: 189e3e5ec5

* commit '189e3e5ec5b698f1062fb98692fa75d3750148e0':
  Fix hw layer overdraw/update visualization

Change-Id: Ic4c49b25e0d1709d34974adb828c3ab4644415e5
2016-05-17 00:08:14 +00:00
TreeHugger Robot
189e3e5ec5 Merge "Fix hw layer overdraw/update visualization" into nyc-dev 2016-05-16 23:58:28 +00:00
Chris Craik
3741328947 Fix hw layer overdraw/update visualization
Fixes: 28748255

Change-Id: I83b531cdf5e4407fd17edd72d96e6189924926fa
2016-05-16 13:54:02 -07:00
Chris Craik
76e9903749 Merge "Fix Skia filter behavior test" into nyc-dev am: 0c5bd7dffe am: de6400a282
am: ec51ed4aa7

* commit 'ec51ed4aa774fddb8d8741aaf627730a19fa675d':
  Fix Skia filter behavior test

Change-Id: I832a61ef95dcc998477b10bffa7e3155acc43066
2016-05-13 23:23:18 +00:00
Chris Craik
ec51ed4aa7 Merge "Fix Skia filter behavior test" into nyc-dev am: 0c5bd7dffe
am: de6400a282

* commit 'de6400a2824b4396e971fc5105f6dc29b97cebc7':
  Fix Skia filter behavior test

Change-Id: Ia19db77125a90b546e9766e070917f562c08d49e
2016-05-13 23:20:13 +00:00
Chris Craik
0cf377c6ae Merge "Fix Skia filter behavior test" into nyc-dev
am: 0c5bd7dffe

* commit '0c5bd7dffec8e5a5f21eed79dc827ef809048c2a':
  Fix Skia filter behavior test

Change-Id: I505e0cf42d47afed31dda7dfcae8a890f17f2dff
2016-05-13 23:17:34 +00:00
Chris Craik
36ce80d530 Fix Skia filter behavior test
Fixes: 28751534

Change-Id: Ie5e2ee946b21702539fc0cc7358d0f9550e7d095
2016-05-12 17:55:47 -07:00
John Reck
dcf3203ca6 Add a benchmark
Change-Id: I0238d79372bc4b2d2f265c026d172b37e3e38c0f
2016-05-12 15:11:51 -07:00
Sergei Vasilinetc
2173c7536e Merge "Move gl calls from PatchCache to MeshState" 2016-05-12 01:22:14 +00:00
sergeyv
571e48c4ae Merge "Merge "Draw textShadow always first." into nyc-dev am: 45d6e79565 am: ac26a7c427" into nyc-mr1-dev-plus-aosp
am: ae8a928350

* commit 'ae8a928350b4abbb2b1b197f0ed9b7a17013f52d':
  Draw textShadow always first.

Change-Id: I3cd44d019931d14faace09bb3c5b829449041fe2
2016-05-12 00:41:38 +00:00
sergeyv
fd3744b7d8 Move gl calls from PatchCache to MeshState
bug:27358166
Change-Id: I5f544f497e9480e64faa2ddd369eb16318e82dc3
2016-05-11 23:53:39 +00:00
sergeyv
da5cbe00ab Merge "Draw textShadow always first." into nyc-dev am: 45d6e79565
am: ac26a7c427

* commit 'ac26a7c42776e0feb2a30729ba178169e33dc927':
  Draw textShadow always first.

Change-Id: I6c5d8f8a5f08359fbd1bd2fe9b9ab152f7465475
2016-05-11 22:11:44 +00:00
sergeyv
db607a6cde Merge "Draw textShadow always first." into nyc-dev
am: 45d6e79565

* commit '45d6e7956544051c06a228755b7fd7c179bcdbfe':
  Draw textShadow always first.

Change-Id: Ic7b600ef444bf58d37203266f3faede21cd50711
2016-05-11 21:59:52 +00:00
Sergei Vasilinetc
45d6e79565 Merge "Draw textShadow always first." into nyc-dev 2016-05-11 21:34:19 +00:00
Tenghui Zhu
a7a6be1085 Merge "Turn off some path drawing logs by default" 2016-05-11 21:33:44 +00:00
Matt Sarett
3727a7fada Remove dead code from NinePatch::Draw
This will give me the flexibility to change this API.

Change-Id: I1ee34986e37fffeb03b8a349f29923541f95b593
2016-05-11 19:09:44 +00:00
sergeyv
284b765e3c Draw textShadow always first.
Interleaving text and shadow rendering resulted in issuing draw commands from FontRenderer::renderDropShadow.

bug: 28528923
Change-Id: Ife2677f58180aaf10ec74d7c6efe5c44fe248daa
2016-05-11 10:30:14 -07:00
Adam Lesinski
860f1bce7c Merge "Resource shared libraries: fix theme references" into nyc-dev am: 47521a6631 am: 63d0964fc0
am: 887b2720f2

* commit '887b2720f20bc995236edeace2245ce17ec7e8c0':
  Resource shared libraries: fix theme references

Change-Id: Ic06c96bab3d09310c3f27de911b0bc7c5004e5cd
2016-05-11 00:17:52 +00:00
Adam Lesinski
63d0964fc0 Merge "Resource shared libraries: fix theme references" into nyc-dev
am: 47521a6631

* commit '47521a66314555e2450192a77e75ccbeb19acbb0':
  Resource shared libraries: fix theme references

Change-Id: Ie0265ea7652bb29d017eedae16ecff85c665d71f
2016-05-11 00:11:53 +00:00
Adam Lesinski
8ac51d14b6 Resource shared libraries: fix theme references
Theme values that would reference other theme values would not work
if they were declared in a shared library.

We now introduce a parallel resource type to TYPE_DYNAMIC_REFERENCE,
TYPE_DYNAMIC_ATTRIBUTE, which allows us to lookup and resolve
theme value references from shared libraries.

Bug:28687378
Change-Id: I4f2364e3e8b567679f90784fcaaea12b6b05e926
2016-05-10 10:45:52 -07:00
Chris Craik
6d89da7a91 Merge "Add layer tracing tags in new pipeline" into nyc-dev am: f8892359b0 am: 85bf1a85bd
am: ca4af965e1

* commit 'ca4af965e1dbbc8c01226cc29800ecdcc2739e3a':
  Add layer tracing tags in new pipeline

Change-Id: I22b83a2709182951e09236ce4639c4da994e2676
2016-05-05 20:20:48 +00:00
Chris Craik
85bf1a85bd Merge "Add layer tracing tags in new pipeline" into nyc-dev
am: f8892359b0

* commit 'f8892359b0ae07031160a71cf3f7e3a86604c2b1':
  Add layer tracing tags in new pipeline

Change-Id: Id77f8234013d6bdbfd75b8fbc6a63b724820fd95
2016-05-05 20:10:42 +00:00
TreeHugger Robot
f8892359b0 Merge "Add layer tracing tags in new pipeline" into nyc-dev 2016-05-05 19:57:08 +00:00
Chris Craik
aff230f6f9 Add layer tracing tags in new pipeline
bug:28596354

Change-Id: I351cb50c8c9ddfc73be73d28a1af94d2a8f9992e
2016-05-04 16:27:29 -07:00
Chris Craik
b5d88fb974 Merge "Update nullegl to support swapbuffers with damage" 2016-05-04 16:50:53 +00:00
Chris Craik
40205a76ae Merge "Use LUT for computing final shadow alpha" into nyc-dev am: b2e36d7939 am: 92e7158f81
am: cd10b8870e

* commit 'cd10b8870ed56f252ad28a7e88bfaebeebbef2d4':
  Use LUT for computing final shadow alpha

Change-Id: If999e689416f661107f10c1d5aa0c70bc045c06a
2016-05-04 01:17:11 +00:00
Chris Craik
92e7158f81 Merge "Use LUT for computing final shadow alpha" into nyc-dev
am: b2e36d7939

* commit 'b2e36d7939610de538a6ec95a821b61b365b3073':
  Use LUT for computing final shadow alpha

Change-Id: Ia17e3b93e9ade0633aee5a1e9edd60b92dd1e062
2016-05-04 01:11:15 +00:00
TreeHugger Robot
b2e36d7939 Merge "Use LUT for computing final shadow alpha" into nyc-dev 2016-05-04 01:03:42 +00:00
Chris Craik
63cd1b4d11 Update nullegl to support swapbuffers with damage
Change-Id: I4bc4682c624c02f51235a3c4a6b4a6d5b17a3b6f
2016-05-03 23:05:23 +00:00
Chris Craik
138c21fbec Use LUT for computing final shadow alpha
bug:27415250

Significantly reduces shadow fragment shader computation.

Change-Id: Ie9b3c712700754b3734d0ae9cda8751c298fc59e
2016-05-03 14:36:29 -07:00
Chris Craik
02453ecae5 Merge "Add LightingFilter behavior test" into nyc-dev am: 7039adafa9 am: 3a86af812a
am: 2670842b8d

* commit '2670842b8d55c237ec52317fbe3bdd80aa7aeb06':
  Add LightingFilter behavior test

Change-Id: I1aa609663d6e1a96758debf9c3500a043eacd681
2016-05-03 21:25:07 +00:00
Chris Craik
2670842b8d Merge "Add LightingFilter behavior test" into nyc-dev am: 7039adafa9
am: 3a86af812a

* commit '3a86af812a217231db210ab1aadcf545a2715ea2':
  Add LightingFilter behavior test

Change-Id: Id2d3a6fbb8eccab22b0d57be41f17a19cf18f5c7
2016-05-03 21:22:22 +00:00
Chris Craik
f921dfc23d Merge "Add LightingFilter behavior test" into nyc-dev
am: 7039adafa9

* commit '7039adafa9a99f8eb4f8ccab9a6f9d2208454150':
  Add LightingFilter behavior test

Change-Id: Iab2b353423990cfe78c72e980d76ba7fec6b7f7b
2016-05-03 21:20:03 +00:00
Chris Craik
7039adafa9 Merge "Add LightingFilter behavior test" into nyc-dev 2016-05-03 21:12:04 +00:00
Chih-hung Hsieh
b494f840e2 Merge "Fix google-explicit-constructor warnings." 2016-05-03 18:48:14 +00:00
Chih-Hung Hsieh
d53e3bed1c Fix google-explicit-constructor warnings.
Bug: 28341362
Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
2016-05-03 10:02:51 -07:00
Doris Liu
494e6b6e5e Merge "Count native allocation for VD against Java heap" into nyc-dev am: 6543533f29 am: 031fc2de5c
am: 5b41913606

* commit '5b41913606b4a134b2e852b8e1dceb6d90f10513':
  Count native allocation for VD against Java heap

Change-Id: Ib18ac599272de1cd9177d841e3146d3d67379c5d
2016-05-03 17:01:19 +00:00
Doris Liu
031fc2de5c Merge "Count native allocation for VD against Java heap" into nyc-dev
am: 6543533f29

* commit '6543533f29d869d5cbbc1c403e4e0ed219fcc300':
  Count native allocation for VD against Java heap

Change-Id: I2bc21681d07d759f7fd668ec286f719b7ea6707a
2016-05-03 16:51:48 +00:00
Doris Liu
6543533f29 Merge "Count native allocation for VD against Java heap" into nyc-dev 2016-05-03 16:41:20 +00:00
John Reck
3f0154833a Merge "Remove high-overhead low-signal trace section" into nyc-dev am: a2c10caef2 am: 750600e0d0
am: 6eac229e9c

* commit '6eac229e9c5b878d1ad071813216f19fab1c816d':
  Remove high-overhead low-signal trace section

Change-Id: I439a5b116fdb2db2dd74d408132a81d53ef72db4
2016-05-03 15:09:31 +00:00
John Reck
6eac229e9c Merge "Remove high-overhead low-signal trace section" into nyc-dev am: a2c10caef2
am: 750600e0d0

* commit '750600e0d04208c77cf71f7a4f09c9dd314c7af3':
  Remove high-overhead low-signal trace section

Change-Id: I0830a655744f6571564253b2b8849950c6e4d671
2016-05-03 15:07:22 +00:00
John Reck
d023da1fa9 Merge "Remove high-overhead low-signal trace section" into nyc-dev
am: a2c10caef2

* commit 'a2c10caef20bbdb447844c09a822073fd0c9d62f':
  Remove high-overhead low-signal trace section

Change-Id: I26b96da6906374c7ed86b93d8e0594a2e7066f9d
2016-05-03 15:05:08 +00:00
John Reck
ded1d3c45b Remove high-overhead low-signal trace section
Bug: 28519669

This trace tag makes shadows look way more expensive
than they actually are, particularly troublesome
when tracing things with large number of shadows.

Change-Id: Ib6558b1388edd4b006ec15127470cb9ab563f954
2016-05-02 16:24:28 -07:00
Doris Liu
f8d131cc8d Count native allocation for VD against Java heap
There are two parts to VD's native allocation:
1) VD's internal data structure (i.e. groups, paths, etc that make
   up of the VD tree). This structure can change, when a VD is used
   to load a different drawable resource.
2) Two bitmap caches, not both of which will necessarily be allocated
   The size of the bitmap cache depends on canvas matrix and drawable
   bounds, and therefore can often change.

We need to count the native allocation from the above against Java heap.

Bug: 26269056
Change-Id: If833aedcf7f3efe00ea73a41ddccb1b48066ffd8
2016-05-02 15:34:40 -07:00
Chris Craik
20136f3194 Add LightingFilter behavior test
bug:28519669

Change-Id: I81ca4109bae04387f2eb73374d0f11821745fea1
2016-05-02 09:43:30 -07:00
John Reck
436c6262dc Merge "Merge "Support transform\'d GraphicBuffers" into nyc-dev am: 6d42b5c6e3 am: 88e7238235" into nyc-mr1-dev-plus-aosp
am: 36dec9f831

* commit '36dec9f831a516fea3799f99cd3d1e3a95057fd1':
  Support transform'd GraphicBuffers

Change-Id: I6bcd0fec1f19a2255c15c3eeadae120c214e5ced
2016-04-29 15:05:41 +00:00
John Reck
fa1088497b Merge "Support transform\'d GraphicBuffers" into nyc-dev am: 6d42b5c6e3
am: 88e7238235

* commit '88e7238235e9edf147f44edf89ebcfc6aa5d93ab':
  Support transform'd GraphicBuffers

Change-Id: I9f4240f4c6bfcbf79d0ab292157a580a8998557f
2016-04-29 15:00:24 +00:00