Adam Lesinski
4bf58108d4
Fix issues that will be present in C++11
...
- char16_t is a distinct type, so stay consistent
with it throughout the code base.
- char16_t is defined as minimum size of 16 bits.
Since we mmap and cast data structures onto raw memory,
we need a precise definition (uint16_t), so we cast between
that (and static_assert that they are the same size).
Change-Id: I869c32637543bbcfb39d2643e7d9df10d33acd3c
2014-11-03 11:49:47 -08:00
John Reck
6398d2d42e
am 8a8a4055: am 541641d0: Merge "Fix counting" into lmp-mr1-dev automerge: 5c8d135
...
* commit '8a8a40556ea3b0fb4cc8cd1ec063fb9988db497f':
Fix counting
2014-11-03 18:50:10 +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
Nick Kralevich
bfed827028
partially fix build.
...
Addresses the following compile time errors:
In file included from frameworks/base/libs/hwui/LayerRenderer.cpp:24:0:
frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
void postDecStrong(VirtualLightRefBase* object);
^
In file included from frameworks/base/libs/hwui/LayerCache.h:21:0,
from frameworks/base/libs/hwui/LayerRenderer.cpp:25:
frameworks/base/libs/hwui/Layer.h:55:42: error: expected class-name before '{' token
class Layer : public VirtualLightRefBase {
^
In file included from frameworks/base/libs/hwui/RenderState.cpp:16:0:
frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
void postDecStrong(VirtualLightRefBase* object);
^
Change-Id: I2be439b373ea356b861f413ff6ce323e8d9baf2d
2014-11-01 18:37:39 -07:00
John Reck
9481684560
am e05575e9: am a8d83d63: Merge "Layer changes" into lmp-mr1-dev automerge: a51fba0
...
* commit 'e05575e9c36850d8cfe49396ac9a1372511b12bf':
Layer changes
2014-10-31 23:30:57 +00: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
a8d83d639a
Merge "Layer changes" into lmp-mr1-dev
2014-10-31 22:55:47 +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
Alan Viverette
f2ae40739a
am 9a77c8a2: am 3c5cc234: am 674a3a21: Merge "Distinguish unspecified and explicit null values in resources" into lmp-mr1-dev
...
* commit '9a77c8a279bfe3293295ed77c775ea29b88b2916':
Distinguish unspecified and explicit null values in resources
2014-10-31 00:25:37 +00:00
Alan Viverette
9a77c8a279
am 3c5cc234: am 674a3a21: Merge "Distinguish unspecified and explicit null values in resources" into lmp-mr1-dev
...
* commit '3c5cc234eeef4a08ad7b00b4e869a1e47cf14ab3':
Distinguish unspecified and explicit null values in resources
2014-10-31 00:15:01 +00:00
John Reck
eaab65f49d
am 97054254: am 141823ec: Merge "Be more conservative about current buffer" into lmp-mr1-dev automerge: a27e1a3
...
* commit '97054254d4c8eef66538814e1d5def776ceba97a':
Be more conservative about current buffer
2014-10-30 19:20:17 +00: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
Alan Viverette
f296940502
Distinguish unspecified and explicit null values in resources
...
BUG: 17919345
Change-Id: Ic4f04f7dd0f986f58a749b5950d80c1cfdb074ea
2014-10-29 17:09:36 -07:00
Narayan Kamath
fd79e9f3c3
am 3cad510e: am 4ed472ab: resolved conflicts for merge of 3028394c to stage-aosp-master
...
* commit '3cad510e271d4e9510d0f15560c4979071c8436c':
Suppress Clang compilation warnings.
2014-10-29 19:42:18 +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
Adam Lesinski
6d2268420d
am d75d3eb5: am 31b76b66: Merge "libandroidfw: Do not build device library when building SDK" into lmp-mr1-dev automerge: 06caf1b
...
* commit 'd75d3eb5e423fbcc069dd3c40a4a5eeeaf8bcdab':
libandroidfw: Do not build device library when building SDK
2014-10-28 19:06:00 +00:00
Adam Lesinski
d75d3eb5e4
am 31b76b66: Merge "libandroidfw: Do not build device library when building SDK" into lmp-mr1-dev
...
automerge: 06caf1b
* commit '06caf1b1112a6a3e364a46d02b883451e9180a07':
libandroidfw: Do not build device library when building SDK
2014-10-28 18:09:20 +00:00
Adam Lesinski
31b76b66b1
Merge "libandroidfw: Do not build device library when building SDK" into lmp-mr1-dev
2014-10-28 17:41:12 +00:00
John Reck
a8f1bce008
am c7c8b069: Merge "Cleanup debug options" into lmp-mr1-dev automerge: b0aeaad automerge: 49a01fc
...
* commit 'c7c8b069407236bcc04c086912c73002d48419ef':
Cleanup debug options
2014-10-28 07:17:03 +00:00
John Reck
c7c8b06940
Merge "Cleanup debug options" into lmp-mr1-dev automerge: b0aeaad
...
automerge: 49a01fc
* commit '49a01fc7dc8d2b9cc7591a94d19f3c209e470aea':
Cleanup debug options
2014-10-28 00:35:14 +00:00
John Reck
950ff1b88c
Be more conservative about current buffer
...
Bug: 18065565
Change-Id: I0b9c85ecf384ebe525e3a38803ab77d7ee37f33a
2014-10-27 13:23:20 -07:00
John Reck
23d307c8d8
Cleanup debug options
...
Bug: 18138852
Bug: 18065434
Change-Id: Ibb07b73b147c2a8b287fe8aee3f6624582f21b00
2014-10-27 12:43:25 -07:00
Chih-Hung Hsieh
d3448e437a
Suppress Clang compilation warnings.
...
Ignore warnings about unused parameters and initialization of static
constant float data members.
Change one potential error of allocating variable length
array of non-POD element type on stack.
Fix mismatch of class and struct declaration tags.
BUG: 17512760
Change-Id: I3a09c945fb1c17f27aff74a7e439dd4c35d1fb32
2014-10-24 15:42:14 -07:00
Adam Lesinski
f001e37b31
libandroidfw: Do not build device library when building SDK
...
Building the windows SDK causes a build failure if the device
libandroidfw target is not omitted.
Change-Id: I587b166342d0d047820911d279f192d2b39b6263
2014-10-24 18:39:56 +00:00
Adam Lesinski
63f5e0f7b1
am 705f2ac4: am 879f237a: Merge "Added some more Split density tests" into lmp-mr1-dev automerge: 93b43445
...
* commit '705f2ac42412c8a5a436f0044b84ebbcd1e9c729':
Added some more Split density tests
2014-10-24 02:13:51 +00:00
Adam Lesinski
705f2ac424
am 879f237a: Merge "Added some more Split density tests" into lmp-mr1-dev
...
automerge: 93b43445
* commit '93b434451abd11ff58ada66abdcddb3f33bb5023':
Added some more Split density tests
2014-10-24 02:01:16 +00:00
Adam Lesinski
879f237acb
Merge "Added some more Split density tests" into lmp-mr1-dev
2014-10-23 23:03:48 +00:00
Adam Lesinski
6029319737
Added some more Split density tests
...
Change-Id: I3b83515f1240e713bbcff5385cf054bba693f297
2014-10-23 16:01:58 -07:00
John Reck
675a518d5a
am b64e4372: am 82572cc4: am badac04d: Merge "Add some free zoom to lockHardwareCanvas" into lmp-mr1-dev
...
* commit 'b64e4372bb60bdce75e2af7d0b94efe92d94ac6a':
Add some free zoom to lockHardwareCanvas
2014-10-23 22:23:10 +00:00
John Reck
b64e4372bb
am 82572cc4: am badac04d: Merge "Add some free zoom to lockHardwareCanvas" into lmp-mr1-dev
...
* commit '82572cc458053e8cec292a708e18d0de7cfbead2':
Add some free zoom to lockHardwareCanvas
2014-10-23 22:15:46 +00:00
John Reck
badac04dfd
Merge "Add some free zoom to lockHardwareCanvas" into lmp-mr1-dev
2014-10-23 21:59:26 +00:00
John Reck
1125d1fa92
Add some free zoom to lockHardwareCanvas
...
Bug: 18099195
Don't use EGL_SWAP_BUFFER_PRESERVED on surfaces that will
never benefit. Also clean up some confusing naming
Change-Id: I674ca64e0464a3282cff79e5ecd350d08f47c014
2014-10-23 13:59:47 -07:00
John Reck
945701126b
am 41707d01: am ebcfd24b: am 68335df6: Merge "Fix damage bug" into lmp-mr1-dev
...
* commit '41707d01e9e950ebd00642ef3564edcff8c539e7':
Fix damage bug
2014-10-23 20:48:43 +00:00
John Reck
41707d01e9
am ebcfd24b: am 68335df6: Merge "Fix damage bug" into lmp-mr1-dev
...
* commit 'ebcfd24b8f1fc8e000a08c0bbce3a4215083ae8a':
Fix damage bug
2014-10-23 20:41:07 +00:00
John Reck
5c9d717d3e
Fix damage bug
...
Bug: 18087374
Change-Id: Ie183392122c73f93010fb3f4be071c924b352966
2014-10-22 11:32:27 -07:00
Bill Yi
5a71f83227
Merge lmp-dev-plus-aosp-without-vendor into stage-aosp-master
...
Change-Id: I7063b7b52e9c09a57eb6bf3b4ffa3716d58ebf43
2014-10-22 09:00:49 -07:00
Derek Sollenberger
425cc668a9
Merge "Refactor HWUI to better handle Canvas DrawFilters."
2014-10-22 15:59:28 +00:00
Andreas Gampe
2b3a8cd808
Frameworks/base: Wall Werror in libs/storage
...
Turn on -Wall -Werror in libs/storage.
Change-Id: I314cb32d0a917f9261488f7709d9a78a07b10fea
2014-10-22 08:15:54 -07:00
John Reck
c54a20d9c5
am a2590d59: am 733bb3bc: Merge "Fix memory corruption in test" into lmp-mr1-dev automerge: a91c5ca
...
* commit 'a2590d595fbf688e7bcff5014c1d442ca4243e79':
Fix memory corruption in test
2014-10-22 14:36:31 +00:00
John Reck
a2590d595f
am 733bb3bc: Merge "Fix memory corruption in test" into lmp-mr1-dev
...
automerge: a91c5ca
* commit 'a91c5ca78a0e9b24445126895a0070d399506849':
Fix memory corruption in test
2014-10-22 14:29:45 +00:00
John Reck
733bb3bc78
Merge "Fix memory corruption in test" into lmp-mr1-dev
2014-10-22 14:18:21 +00:00
John Reck
7ab73f1e98
am e73a54f3: am bf463af2: Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev
...
automerge: 76f24bd
* commit '76f24bde7816dd97ed2375ec41c9817be0330d9f':
Surface:lockHardwareCanvas
2014-10-21 23:34:46 +00:00
John Reck
76f24bde78
am e73a54f3: am bf463af2: Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev
...
* commit 'e73a54f33c029552469fcf1cda46eed2f360a38e':
Surface:lockHardwareCanvas
2014-10-21 21:39:36 +00:00
John Reck
bb2d0cc7e1
Surface:lockHardwareCanvas
...
Bug: 17440886
Change-Id: I1f2d98c63ec1a2814c2258cf7e0096139263770a
2014-10-21 13:23:56 -07:00
Dan Albert
c96ac3900c
am 827d00f2: am 3d23d557: am 7f2bc6c7: Merge "More LOCAL_ADDITIONAL_DEPENDENCIES."
...
* commit '827d00f2f416a4271249b7a345b1fcdf7f8a10ae':
More LOCAL_ADDITIONAL_DEPENDENCIES.
2014-10-21 16:16:31 +00:00
Dan Albert
827d00f2f4
am 3d23d557: am 7f2bc6c7: Merge "More LOCAL_ADDITIONAL_DEPENDENCIES."
...
* commit '3d23d557ff00010c041ec3fc655472db3d12509e':
More LOCAL_ADDITIONAL_DEPENDENCIES.
2014-10-21 16:11:52 +00:00
Dan Albert
00b4e773ab
More LOCAL_ADDITIONAL_DEPENDENCIES.
...
Change-Id: I9bf20507442b0722e93446fdb32d8236be974e28
2014-10-21 08:58:39 -07:00