John Reck
5ab86ba05d
am 89a63f02: am 0c31d97a: Merge "Switch TextureCache to SkPixelRef::fStableId" into lmp-mr1-dev
...
* commit '89a63f02f5d0814435e72b515b792bc6737014dc':
Switch TextureCache to SkPixelRef::fStableId
2014-11-25 18:45:48 +00:00
John Reck
71d08a0718
Switch TextureCache to SkPixelRef::fStableId
...
Bug: 18245805
Change-Id: I08e6792dbeed86b13e569c7f2137de0e50dc2763
2014-11-24 15:24:02 -08:00
Chris Craik
90102e1009
am 1ae8a98e: am 29dc496a: Merge "Revert "Add a way to override Xfermode DO NOT MERGE"" into lmp-mr1-dev
...
* commit '1ae8a98e8a6ba82396955c0b6ab0e02568a3494b':
Revert "Add a way to override Xfermode DO NOT MERGE"
2014-11-21 22:21:02 +00:00
Andreas Gampe
2ab8298dc3
resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aosp
...
Change-Id: I3a98f55832ac447b1ed0dd129c7a93d088025943
2014-11-21 14:19:06 -08:00
Chris Craik
29dc496a42
Merge "Revert "Add a way to override Xfermode DO NOT MERGE"" into lmp-mr1-dev
2014-11-21 22:11:13 +00:00
Chris Craik
69e65019b0
Revert "Add a way to override Xfermode DO NOT MERGE"
...
Feature no longer needed.
bug:18448377
This reverts commit 4678dcc5524258908eadc5fe1e5e1874768967eb.
Change-Id: Ib0a19946e966a54857165555827b5fa7b34b6bea
2014-11-21 22:05:33 +00:00
Andreas Gampe
42ddc18d10
Frameworks/base: Unused parameters in hwui
...
Remove Clang cutout for unused parameters. Fix warnings.
Remove Clang cutout for deprecated Skia function usage. Has been
fixed in the L push.
Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
2014-11-21 10:39:21 -08:00
Chris Craik
f2235b6a48
resolve merge conflicts of 57b641a to lmp-mr1-dev-plus-aosp.
...
Change-Id: I1be708f5a0cd4d64021a57f1063d54330f1d2d7e
2014-11-20 16:38:06 -08:00
Dan Albert
582bdf9a59
am d8c169fe: am 0c437fd3: Merge "Add appropriate casts for char16_t."
...
* commit 'd8c169fedf883491e46b354484909694fd52cfaf':
Add appropriate casts for char16_t.
2014-11-20 23:00:56 +00:00
Dan Albert
6698749dd4
Add appropriate casts for char16_t.
...
C++11 defines a real char16_t, which is not implicitly convertible to
uint16_t (and by extension jchar). Add casts as needed.
Bug: 18300613
Change-Id: I00752002ef2e938bdb57f70947e8fd53ec103293
2014-11-20 11:47:40 -08:00
Chris Craik
3b2ba44be3
Merge "Improve logging around performance critical events" into lmp-mr1-dev
2014-11-20 17:36:26 +00:00
Chris Craik
70850ea258
Improve logging around performance critical events
...
bug:17702227
Add details useful to developers (such as layer size/View name), and
switch away from logging implementation names/details, since they
are generally not relevant to developers.
Change-Id: Iee605d182f241450f7e75a6d0c283d51fa1312f5
2014-11-19 17:24:30 -08:00
John Reck
842697a360
am decc26df: am f0f68117: Merge "Trace some interesting events" into lmp-mr1-dev
...
* commit 'decc26df39b734ca1cbaccda1cbe3b355eba6898':
Trace some interesting events
2014-11-18 21:33:19 +00:00
Chih-hung Hsieh
cb82b7f182
am a58336f6: Merge "Use fabsf() rather than abs()"
...
* commit 'a58336f6c8aa44373485e5a6d7ec32677387a935':
Use fabsf() rather than abs()
2014-11-17 22:59:11 +00:00
Bernhard Rosenkränzer
c44958c786
Use fabsf() rather than abs()
...
abs() operates on integers -- to check floats accurately, fabsf
should be used.
Change-Id: I1a4e85f8f5e0d08ff38d307c5c31e2b6783ab7af
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-17 23:12:18 +01:00
John Reck
fbc8df03e4
Trace some interesting events
...
Bug: 18337099
Change-Id: Ie2e60da2b9f06e0368061c944d8123ab6903355c
2014-11-17 10:18:31 -08:00
Rob Tsuk
6552afa878
am ccc956b2: am 41a8043b: Merge "Add a way to override Xfermode DO NOT MERGE" into lmp-mr1-dev
...
* commit 'ccc956b2b4602dca28f7c79d1155df29bcc0d696':
Add a way to override Xfermode DO NOT MERGE
2014-11-12 23:49:19 +00:00
ztenghui
5679d937ff
am ab6515f6: am 4e50ee4f: Merge "Shadow: Fix the crash in spot shadow" into lmp-mr1-dev
...
* commit 'ab6515f6214a09e23deee4b432b41d1849ae403f':
Shadow: Fix the crash in spot shadow
2014-11-12 23:49:08 +00:00
Rob Tsuk
41a8043b30
Merge "Add a way to override Xfermode DO NOT MERGE" into lmp-mr1-dev
2014-11-12 21:42:00 +00:00
Dan Albert
b28ff487fb
resolved conflicts for merge of 5e6cf242 to lmp-mr1-dev-plus-aosp
...
Change-Id: If21bd328a5c8ea3474abfe624e910d4830c72dc9
2014-11-12 13:24:42 -08:00
ztenghui
4e50ee4f42
Merge "Shadow: Fix the crash in spot shadow" into lmp-mr1-dev
2014-11-12 21:16:31 +00:00
ztenghui
3932063bc7
Shadow: Fix the crash in spot shadow
...
Fix the crash from searching for closest umbra vertex by initialized the
starting index correctly.
Fix another potential crash related to ray intersection by introducing epsilon.
b/18315089
Change-Id: I9ac9a781a885701a8388714d44f79a1d905e5d33
2014-11-12 12:58:08 -08:00
Rob Tsuk
4678dcc552
Add a way to override Xfermode DO NOT MERGE
...
Add a non-public API to Canvas/GLES20Canvas to provide a way to draw
the touch ripple animation without using a save layer.
Change-Id: I6e2095adffe515194f669fb75bb67abf813bd518
2014-11-12 12:25:24 -08:00
Dan Albert
ff1d8a6635
Move frameworks/base over to libc++.
...
Bug: 15193147
Change-Id: I96109d2d383f0c8a4aaa611f29fcf887afb3c69e
2014-11-12 11:22:20 -08:00
Andreas Gampe
1272887050
resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aosp
...
Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
2014-11-10 20:54:07 -08:00
Andreas Gampe
1e19674107
Frameworks/base: Wall Werror in libs/hwui
...
Turn on -Wall -Werror in libs/hwui. Fix errors.
Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
2014-11-10 15:58:04 -08:00
John Reck
f1923c368c
am 8dda03a0: am ca93f69c: Merge "Have an actual fallback if the surface is lost" into lmp-mr1-dev
...
* commit '8dda03a08603f45b3c2c90633491ce2c1fea266b':
Have an actual fallback if the surface is lost
2014-11-07 22:55:32 +00:00
John Reck
ca93f69c96
Merge "Have an actual fallback if the surface is lost" into lmp-mr1-dev
2014-11-07 22:41:03 +00:00
John Reck
aa95a88327
Have an actual fallback if the surface is lost
...
Bug: 17516789
This will force a relayout/reinitialize pass if the Surface
is lost mid-render instead of crashing on the next frame
Change-Id: If08bfa16f740728fa7c05904fa11e26f07b81e2e
2014-11-07 11:02:07 -08:00
John Reck
cabf8a7064
am f7d3ce6a: am 4b19b7aa: Merge "Fix wrong-thread issue" into lmp-mr1-dev
...
* commit 'f7d3ce6a3ca88b23a227e29a5fa3285e24f7b2b1':
Fix wrong-thread issue
2014-11-07 18:48:43 +00:00
John Reck
4b19b7aaff
Merge "Fix wrong-thread issue" into lmp-mr1-dev
2014-11-07 18:34:55 +00:00
John Reck
12f5e34332
Fix wrong-thread issue
...
Bug: 18259560
Change-Id: Ic63a86efba9c86f21defac0695a73db8b09ae284
2014-11-07 10:31:53 -08:00
ztenghui
86f289fb50
am 0b70c09c: am 7ae6fc81: Merge "A better looking and faster spot shadow." into lmp-mr1-dev
...
* commit '0b70c09c1df3a5c359b8a93a8ac08e945805b693':
A better looking and faster spot shadow.
2014-11-07 00:17:09 +00:00
ztenghui
7ae6fc81ef
Merge "A better looking and faster spot shadow." into lmp-mr1-dev
2014-11-06 23:59:17 +00:00
ztenghui
d2dcd6fded
A better looking and faster spot shadow.
...
1. This improve the looking, the star shape (spike) on long action bar is gone.
Shadow is more smooth now.
2. The performance is better, too. For averaging around rect, round rect and
circle, the spot shadow itself is 3 times faster. On N7 v1, it could be less than
0.1 ms.
b/14976551
b/16712006
Change-Id: I61ed546ee56e7c8dbe504dfcaef12d084904b4b8
2014-11-06 15:09:46 -08:00
John Reck
be70c7713d
am 327cb318: Merge "Yank ResourceCache out of Caches" into lmp-mr1-dev automerge: 9c13b8c
...
* commit '327cb3184d5f5d9f22db9ab18a07bb71081bb446':
Yank ResourceCache out of Caches
2014-11-06 19:22:28 +00:00
John Reck
a35778c799
Yank ResourceCache out of Caches
...
Bug: 17947547
Pull the ResourceCache (aka, ref-counting side channel) out of
Caches so that DisplayListRenderer doesn't use Caches, avoiding
the risk of instantiating Caches on the wrong thread or
without a GL context
Change-Id: I7d63b70b3b0a0163308c5dedd6ef255eadebe8fd
2014-11-06 09:45:10 -08:00
Rob Tsuk
fce461eada
am db6a1358: am 6c96cbf5: Merge "Log shader source when it fails to compile" into lmp-mr1-dev
...
* commit 'db6a1358d45430a952aa746f8dfd452d12d7e4be':
Log shader source when it fails to compile
2014-11-05 22:31:05 +00:00
Rob Tsuk
fd15f47554
Log shader source when it fails to compile
...
So that there will be something to diagnose when such failures occur during
stability tests.
Bug: 18092655
Change-Id: I9a9d8d33b34273a477f2a9dbcf092887dcbc91c0
2014-11-05 13:26:19 -08:00
Rob Tsuk
6bd8d825b2
am c4aea977: am e6c0bda5: Merge "Make points drawn with default paint visible" into lmp-mr1-dev
...
* commit 'c4aea977cd35c423132382cf0ae1f3238e2c7d10':
Make points drawn with default paint visible
2014-11-04 15:29:10 +00:00
Rob Tsuk
e6c0bda5dd
Merge "Make points drawn with default paint visible" into lmp-mr1-dev
2014-11-04 15:20:00 +00:00
Rob Tsuk
b7c26562d0
Make points drawn with default paint visible
...
When no stroke width is set, use 0.5 instead of 0.25 to make
sure the resulting rectangle spans at least one pixel.
Bug: 15455111
Change-Id: Id0a4b6d014c542ffc98b13a032f88ae0ce69b3a1
2014-11-04 00:31:45 +00:00
John Reck
8a8a40556e
am 541641d0: Merge "Fix counting" into lmp-mr1-dev
...
automerge: 5c8d135
* commit '5c8d135920896af42de8d8b91975abe3fa871cd9':
Fix counting
2014-11-03 18:42:30 +00:00
John Reck
88f5fc7c5a
Fix counting
...
Change-Id: I9a3568908a7223d69430c1765fb5a4db96d7ac9c
2014-11-03 10:32:24 -08:00
John Reck
e05575e9c3
am a8d83d63: Merge "Layer changes" into lmp-mr1-dev
...
automerge: a51fba0
* commit 'a51fba0bf037844bcb911e69e8af733e6d2cccf6':
Layer changes
2014-10-31 23:25:44 +00:00
John Reck
0e89e2b7bc
Layer changes
...
Bug: 17208461
* Switch Layer to be VirtualLightRefBase instead of
Caches' side-channel ref-counting
* Include active layers in gfxinfo dump
* Run gfxinfo dump on the correct thread
* Dump gfxinfo on Layer creation failure
Change-Id: I28d195699e2334518e215ab28c7a17355aee9678
2014-10-31 15:30:10 -07:00
John Reck
97054254d4
am 141823ec: Merge "Be more conservative about current buffer" into lmp-mr1-dev
...
automerge: a27e1a3
* commit 'a27e1a366a2d83165e71b68669fbd21ced6a4b08':
Be more conservative about current buffer
2014-10-30 19:16:14 +00:00
Narayan Kamath
3cad510e27
am 4ed472ab: resolved conflicts for merge of 3028394c to stage-aosp-master
...
* commit '4ed472ab33e78391c0b084ed3908019e06b7dfe5':
Suppress Clang compilation warnings.
2014-10-29 19:34:32 +00:00
John Reck
141823ec63
Merge "Be more conservative about current buffer" into lmp-mr1-dev
2014-10-29 14:40:02 +00:00
Narayan Kamath
4ed472ab33
resolved conflicts for merge of 3028394c to stage-aosp-master
...
Change-Id: I980e4c95cdc6a4778cef3298338692656d23e7c6
2014-10-29 12:12:37 +00:00