Adam Lesinski
be003a3570
am f23e3ea6: am aeef612f: Merge "Search all packages for a given type string when looking up resources by name" into lmp-dev
...
* commit 'f23e3ea629f29060f34ea10a0d89c6ec22766789':
Search all packages for a given type string when looking up resources by name
2014-10-10 00:30:39 +00:00
Adam Lesinski
73587de154
am aeef612f: Merge "Search all packages for a given type string when looking up resources by name" into lmp-dev
...
* commit 'aeef612f200b6b5cee214230271e1c3d718151ee':
Search all packages for a given type string when looking up resources by name
2014-10-09 19:15:36 +00:00
Adam Lesinski
e60a87f552
Search all packages for a given type string when looking up resources by name
...
Previously we would stop at the first match when looking for a type string,
but we should search all packages in case a feature Split added a type
with the same name.
Bug:17924027
Change-Id: I6bc7ef073324db99448538cd8bdf566658f066ff
2014-10-09 11:26:19 -07:00
Jorim Jaggi
638829c58a
am 906fb5b6: am 786afcb3: Trim graphics memory when closing the shade
...
* commit '906fb5b6969a4e7ad8367a052f6c1a1598ae32f5':
Trim graphics memory when closing the shade
2014-10-08 19:08:35 +00:00
Jorim Jaggi
786afcb3ee
Trim graphics memory when closing the shade
...
Graphics memory usually gets trimmed in applications when the
activity goes into the background. We use quite a lot of graphics
memory when the shade/lockscreen is open, and some of them never gets
freed unless the recents activity is closed, because we don't have
these activity-trimming-heuristics for the shade. This change
proactively trims the graphics memory when the shade gets closed or
when the lockscreen is hidden, to emulate the same heuristics as for
activities.
This change also adds trimMemory on RenderThread to systrace to
verify that no jank is introduced with this change.
This change immediately saves around 10-30 MB on an xxhdpi device
after the shade is closed.
Bug: 17581375
Change-Id: I4fb622efb51815fe08187be97ba15d012d4de5d4
2014-10-08 18:30:54 +00:00
ztenghui
0a04e31198
am f11d9de4: am 8cdb0bc0: Merge "Use float instead of double to increase spot shadow perf" into lmp-mr1-dev
...
* commit 'f11d9de43af807ad9d72a62fd1167ff6f9e7b903':
Use float instead of double to increase spot shadow perf
2014-10-06 22:31:33 +00:00
ztenghui
8cdb0bc087
Merge "Use float instead of double to increase spot shadow perf" into lmp-mr1-dev
2014-10-06 20:04:08 +00:00
John Reck
6e4140c6e2
am c4694796: am 6a2296d8: am 9da6e743: am d988a45d: Merge "Cleanup DeferredLayerUpdater" into lmp-dev
...
* commit 'c4694796a952014d07e6d083749d2f8b7d06afee':
Cleanup DeferredLayerUpdater
2014-10-04 15:45:20 +00:00
John Reck
6a2296d856
am 9da6e743: am d988a45d: Merge "Cleanup DeferredLayerUpdater" into lmp-dev
...
* commit '9da6e7435945e34d05e0c8c5c9a324218480c6ff':
Cleanup DeferredLayerUpdater
2014-10-03 23:57:30 +00:00
John Reck
b0d6cd236c
am d988a45d: Merge "Cleanup DeferredLayerUpdater" into lmp-dev
...
* commit 'd988a45d60cd2ff05e41a44c78cb09d307bd90cb':
Cleanup DeferredLayerUpdater
2014-10-03 23:57:09 +00:00
ztenghui
9122b1b168
Use float instead of double to increase spot shadow perf
...
This is helping spot shadow for 15%-20% increase.
With the new algorithm, we are less sensitive to the floating point error.
b/16712006
Change-Id: Ie30a6ce01e73d56054a0cf65a84549454339a7fd
2014-10-03 15:30:53 -07:00
John Reck
749906b468
Cleanup DeferredLayerUpdater
...
Bug: 17765082
DeferredLayerUpdater had fallen behind RT updates. Re-snap to
latest expectations, ensuring to call requireGlContext() prior
to detachSurfaceTexture to avoid leaking SurfaceTextures
Change-Id: Ic65fb9831e5284f658866da8da9ad5af1d227699
2014-10-03 15:02:19 -07:00
Chris Craik
d297b1b994
am ab8f73a7: am 497cb6c0: Merge "Avoid creating Caches instance with gfxinfo dump" into lmp-mr1-dev
...
* commit 'ab8f73a7f17d07bdb4ccb3b6971d3ddc8534bd7d':
Avoid creating Caches instance with gfxinfo dump
2014-10-02 20:12:59 +00:00
Chris Craik
497cb6c0a9
Merge "Avoid creating Caches instance with gfxinfo dump" into lmp-mr1-dev
2014-10-02 20:02:43 +00:00
Chris Craik
f7b96c8e2f
am 00d96e7d: am 59e129fb: Merge "Account for colorfilter transparency in determining paint opacity" into lmp-mr1-dev
...
* commit '00d96e7dd161067473b24d9bee57497fa56fb3f5':
Account for colorfilter transparency in determining paint opacity
2014-10-02 19:45:15 +00:00
Chris Craik
59e129fbc8
Merge "Account for colorfilter transparency in determining paint opacity" into lmp-mr1-dev
2014-10-02 19:28:09 +00:00
ztenghui
79ef48239d
am 3fb45865: am 5f243860: am 9ad17521: am f9033048: Merge "+ correcting shadow visual appearance (b/17610926)" into lmp-dev
...
* commit '3fb458653e50e350e9e377d071cb79573d531748':
+ correcting shadow visual appearance (b/17610926)
2014-10-02 13:37:47 +00:00
Adam Powell
e18d68d6ab
am 4e789dbf: am 8628387c: am b226d295: am c6a06d43: Merge "Revert "Fix issue with using locally defined attrs in a shared lib"" into lmp-dev
...
* commit '4e789dbff0bc4d9c259a33d6e8ea595c0f4d5f35':
Revert "Fix issue with using locally defined attrs in a shared lib"
2014-10-02 12:38:21 +00:00
ztenghui
5f243860a7
am 9ad17521: am f9033048: Merge "+ correcting shadow visual appearance (b/17610926)" into lmp-dev
...
* commit '9ad17521ac073562991cddb78f14d6df8d5fd05a':
+ correcting shadow visual appearance (b/17610926)
2014-10-01 23:41:00 +00:00
Chris Craik
c5b5f0556b
Account for colorfilter transparency in determining paint opacity
...
bug:17765601
Change-Id: I90d76ee199bb357c71fc8f537c1abfa20d848416
2014-10-01 16:40:16 -07:00
ztenghui
6d0eaf45a9
am f9033048: Merge "+ correcting shadow visual appearance (b/17610926)" into lmp-dev
...
* commit 'f903304896809039430c5e52bd0c24052f51b14f':
+ correcting shadow visual appearance (b/17610926)
2014-10-01 23:33:51 +00:00
ztenghui
8def74de33
+ correcting shadow visual appearance (b/17610926)
...
+ adjusting spot and ambient shadow opacity constants to achieve desired appearance
+ reducing ambient scale ratio back to 1.0 to address over-lightening at higher elevations
+ partially revert ag/546290
Change-Id: I9d7f664f73a7b9b83df73b739103c97054bd4f6e
2014-10-01 16:12:28 -07:00
Adam Powell
e4275843fe
am c6a06d43: Merge "Revert "Fix issue with using locally defined attrs in a shared lib"" into lmp-dev
...
* commit 'c6a06d437cf2ee7926a01b2f8ee685555bfb3d81':
Revert "Fix issue with using locally defined attrs in a shared lib"
2014-10-01 22:37:27 +00:00
Adam Powell
8628387c60
am b226d295: am c6a06d43: Merge "Revert "Fix issue with using locally defined attrs in a shared lib"" into lmp-dev
...
* commit 'b226d2951c8641f9851e40b4e13b4ae25cb1a482':
Revert "Fix issue with using locally defined attrs in a shared lib"
2014-10-01 22:15:56 +00:00
Chris Craik
059476a245
Avoid creating Caches instance with gfxinfo dump
...
bug:17509891
Change-Id: I182851068ba04926d60226b3ace95efea59eac45
2014-10-01 11:14:55 -07:00
Adam Powell
908c748096
Revert "Fix issue with using locally defined attrs in a shared lib"
...
This reverts commit 5069dd69898bd0d9c69ba2bbd37239ec8d1c9dc6.
The reverted commit caused issues loading resources supplied by static libraries.
Bug 17748356
Change-Id: I860a4f31451ee7c03c02974826472a67226b029f
2014-10-01 18:11:18 +00:00
Adam Lesinski
7923da5f5d
am 06f380e9: am 95731abe: am bb7b5197: am cd8e7381: Merge "Fix issue with using locally defined attrs in a shared lib" into lmp-dev
...
* commit '06f380e9efa4698c223077cacaa2df80a704ef96':
Fix issue with using locally defined attrs in a shared lib
2014-10-01 17:11:10 +00:00
Adam Lesinski
95731abeae
am bb7b5197: am cd8e7381: Merge "Fix issue with using locally defined attrs in a shared lib" into lmp-dev
...
* commit 'bb7b51978eb5341e9a1204a447c8340bfb248504':
Fix issue with using locally defined attrs in a shared lib
2014-10-01 15:16:02 +00:00
Chris Craik
edb3ebfd3f
am bb5f8f5c: am 08897806: Merge "Add tracing for saveLayer" into lmp-mr1-dev
...
* commit 'bb5f8f5c94610f8eb23a6f74c3f0a5a7dd402606':
Add tracing for saveLayer
2014-10-01 01:42:24 +00:00
Adam Lesinski
d388b1fdde
am cd8e7381: Merge "Fix issue with using locally defined attrs in a shared lib" into lmp-dev
...
* commit 'cd8e73817d14798f9d2031ffd301a03a096b7907':
Fix issue with using locally defined attrs in a shared lib
2014-10-01 00:44:31 +00:00
Adam Lesinski
5069dd6989
Fix issue with using locally defined attrs in a shared lib
...
The attribute name resource IDs were never fixed up with
the runtime package ID so we weren't finding attributes
whenever the runtime package ID was different than the build
time one, which happened to be when a shared lib referenced itself
(0x00 vs 0x02).
Bug:17666947
Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266
2014-09-30 16:18:09 -07:00
Chris Craik
a8bea8edde
Add tracing for saveLayer
...
bug:17702227
Change-Id: Ia9cbf31b360c93f712e021bea406cb63e4cc4c2a
2014-09-29 17:19:05 -07:00
Samsung
e11f3ab000
Fixing memory leak in RenderBufferCache
...
In our devices with higher resolution we have observed a memory
leak in the HWUI code. When there is GC or tree modification
and buffer size is greater than the default size, we make sure
buffer is deleted.
Change-Id: Idf7052ccaf43c8a784ce0e7bdab336dca29bffd8
Signed-off-by: Samsung <aosp@samsung.com>
2014-09-24 11:10:06 -07:00
Chris Craik
3bf8c64d78
am 808583ff: am 1918d884: am a0d0798a: am 737dfe57: Merge "Reject transparent draws more conservatively" into lmp-dev
...
* commit '808583ffbbb461c429a8308034dba632d167f2c6':
Reject transparent draws more conservatively
2014-09-23 15:51:57 +00:00
Chris Craik
ed2f0f53df
am fd0a1df1: am 737dfe57: Merge "Reject transparent draws more conservatively" into lmp-dev
...
* commit 'fd0a1df16fba712fb569eb637d960a7e78e3e62c':
Reject transparent draws more conservatively
2014-09-23 03:07:05 +00:00
Chris Craik
bc341912b1
Reject transparent draws more conservatively
...
bug:17600162
Transparent draws are not safe to reject for all xfermodes other than
clear. Now, to be safe, only perform the rejection for SrcOver draws
since other modes are fairly uncommon.
We could specifically determine whether the xfermode could change the
output given a transparent input, but there's little to be gained from
the additional complexity.
Change-Id: Ia699ac4bdc4da3353955840b53f1922d3cb1d85d
2014-09-23 01:22:00 +00:00
Chris Craik
f1c91fec09
am 30dca470: am f0a80b68: am ea74883e: am fe01ab10: Merge "Account for alpha in hasShadow()" into lmp-dev
...
* commit '30dca470d6b261433f0ad11117e5dff7d9124d9e':
Account for alpha in hasShadow()
2014-09-20 00:19:38 +00:00
Chris Craik
4d4b3aa3d9
am 91a40be0: am fe01ab10: Merge "Account for alpha in hasShadow()" into lmp-dev
...
* commit '91a40be04f8d1822c27888cc47124bf965633f4f':
Account for alpha in hasShadow()
2014-09-19 23:56:46 +00:00
Chris Craik
9e7c919191
Merge "Account for alpha in hasShadow()" into lmp-dev
2014-09-19 23:36:22 +00:00
Dan Albert
8ab25d82b5
resolved conflicts for merge of 1a4527ce to lmp-mr1-dev-plus-aosp
...
Change-Id: If649bd9ef98181a1e1e341cc5b73d237586fb72c
2014-09-19 16:13:49 -07:00
Chris Craik
9fa364dc72
Account for alpha in hasShadow()
...
bug:17587220
Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
2014-09-19 16:04:45 -07:00
Dan Albert
c04d92cac9
resolved conflicts for merge of 1a4527ce to lmp-dev-plus-aosp
...
Change-Id: Iee4e93e3a2b049ec5f13166dbbffdd77b301fe5c
2014-09-19 15:57:26 -07:00
Dan Albert
5648b12da1
resolved conflicts for merge of 8791ebf0 to lmp-mr1-dev-plus-aosp
...
Change-Id: Ifedb15de5a4db6cb0238fec93aaa2d95f1844694
2014-09-19 15:50:13 -07:00
Dan Albert
ece13f90ed
resolved conflicts for merge of 8791ebf0 to lmp-dev-plus-aosp
...
Change-Id: I9d0f81003f84d03a7a67420dd496fde18dd654d4
2014-09-19 15:37:15 -07:00
Adam Lesinski
0fa7511db2
am 9ee3ba23: am e7e9ad6d: am 863b1a90: am 19f9d54f: Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
...
* commit '9ee3ba23395bd1a13bbfd3fe523ee611a5ca001b':
Fix backwards compat problem with AAPT public attrs
2014-09-19 19:08:50 +00:00
Adam Lesinski
8d2556f0de
am 8bdb265f: am 19f9d54f: Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
...
* commit '8bdb265f0a73bc6f2114ca70f141c214a23696c7':
Fix backwards compat problem with AAPT public attrs
2014-09-19 18:37:15 +00:00
Adam Lesinski
b6812b64c4
Merge "Fix backwards compat problem with AAPT public attrs" into lmp-dev
2014-09-19 18:19:58 +00:00
John Reck
367e4c5f80
am 6fcaf93f: am 40d2705e: am a154d76e: am 340ccfe0: Merge "glFinish to flush deletes" into lmp-dev
...
* commit '6fcaf93f3ad73780bfe4392cd4d60e05cb463b8a':
glFinish to flush deletes
2014-09-19 18:05:14 +00:00
John Reck
ab41eee019
am 923ccf24: am 340ccfe0: Merge "glFinish to flush deletes" into lmp-dev
...
* commit '923ccf247415587a23e7be40eacf4cdb7b4f1503':
glFinish to flush deletes
2014-09-19 17:38:41 +00:00
John Reck
6cc6219f6f
Merge "glFinish to flush deletes" into lmp-dev
2014-09-19 17:22:17 +00:00