OSDN Git Service
Mathias Agopian [Tue, 17 Sep 2013 21:33:09 +0000 (14:33 -0700)]
am
02b62df7: Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev
* commit '
02b62df7119b27c89d91d96938d8f4f5232b296b':
Make sure do disconnect from a BQ when its client dies.
Mathias Agopian [Tue, 17 Sep 2013 21:31:13 +0000 (21:31 +0000)]
Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev
Aravind Akella [Tue, 17 Sep 2013 18:22:59 +0000 (11:22 -0700)]
am
fca43392: Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev
* commit '
fca43392b755b34c83c3abbfea216bafa9cd8171':
Fix for AOSP fusion sensors not handling multiple clients correctly.
Aravind Akella [Tue, 17 Sep 2013 18:17:50 +0000 (18:17 +0000)]
Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev
Aravind Akella [Tue, 17 Sep 2013 17:51:53 +0000 (10:51 -0700)]
am
f0c72846: Merge "Sensor Batching Bug fixes." into klp-dev
* commit '
f0c728465a87435e6a8a66991451cf6fe72acc24':
Sensor Batching Bug fixes.
Aravind Akella [Tue, 17 Sep 2013 17:49:26 +0000 (17:49 +0000)]
Merge "Sensor Batching Bug fixes." into klp-dev
Amith Yamasani [Tue, 17 Sep 2013 15:58:55 +0000 (08:58 -0700)]
am
fc7083a8: Merge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev
* commit '
fc7083a828b6db00698c1418e5f370b31625213c':
Enable FEATURE_DEVICE_ADMIN for handheld devices
Amith Yamasani [Tue, 17 Sep 2013 15:56:23 +0000 (15:56 +0000)]
Merge "Enable FEATURE_DEVICE_ADMIN for handheld devices" into klp-dev
Jesse Hall [Tue, 17 Sep 2013 03:30:11 +0000 (20:30 -0700)]
am
2a36497e: Merge "Stop using default value for Surface producerControlledByApp parameter" into klp-dev
* commit '
2a36497e45d4d96e35fed89cfdcb09b71459ac3c':
Stop using default value for Surface producerControlledByApp parameter
Jesse Hall [Tue, 17 Sep 2013 03:27:15 +0000 (03:27 +0000)]
Merge "Stop using default value for Surface producerControlledByApp parameter" into klp-dev
Mathias Agopian [Thu, 12 Sep 2013 02:35:45 +0000 (19:35 -0700)]
Make sure do disconnect from a BQ when its client dies.
Bug:
5679534
Change-Id: If447e8673df83fe0b1d6210641e0a48522501a53
Aravind Akella [Mon, 16 Sep 2013 22:37:41 +0000 (15:37 -0700)]
Fix for AOSP fusion sensors not handling multiple clients correctly.
Bug:
10786801
Change-Id: I7b938bc583a303a30237c3d93b5accbf64cc90b5
Jesse Hall [Mon, 16 Sep 2013 22:24:53 +0000 (15:24 -0700)]
Stop using default value for Surface producerControlledByApp parameter
Bug:
10785749
Change-Id: Ifbf9340e5eabe621a69e990ec3e05ac51f8db66a
Aravind Akella [Fri, 6 Sep 2013 00:03:38 +0000 (17:03 -0700)]
Sensor Batching Bug fixes.
i) SensorService dropping events. Increase SOCKET_BUFFER_SIZE in BitTube ctor.
ii) Call flush before every activate.
iii) Emulate flush for older devices. Add a trivial flush complete event when flush is called.
Bug:
10641596
Change-Id: I30d0f3948e830457143f16e157b6ad81908687ce
Jesse Hall [Mon, 16 Sep 2013 19:44:40 +0000 (12:44 -0700)]
am
a2ba428a: Disable the egl_khr_gl_colorspace extension
* commit '
a2ba428a22125558a129c6ba4001dfc2169de2fe':
Disable the egl_khr_gl_colorspace extension
Jesse Hall [Sun, 15 Sep 2013 04:00:14 +0000 (21:00 -0700)]
Disable the egl_khr_gl_colorspace extension
Bug:
10777398
Change-Id: Ib50ea8b9d5d960537701b85929d6312304993a0f
Amith Yamasani [Mon, 16 Sep 2013 17:48:35 +0000 (10:48 -0700)]
Enable FEATURE_DEVICE_ADMIN for handheld devices
Bug:
9520957
Change-Id: I9c09dc726509db9e6d9ba4700255c74528b9f9fa
Kenny Root [Thu, 12 Sep 2013 18:51:34 +0000 (11:51 -0700)]
resolved conflicts for merge of
1852eb4f to klp-dev-plus-aosp
Change-Id: I7217c0e859b384a042c02fe339e745996c6ef49e
Kenny Root [Thu, 12 Sep 2013 18:41:19 +0000 (18:41 +0000)]
Merge "Remove copy of UniquePtr.h"
Mathias Agopian [Wed, 11 Sep 2013 22:06:10 +0000 (15:06 -0700)]
am
90ed3e8d: fix a few problems with BitTube
* commit '
90ed3e8d7883d9c80fb8bf11b1c593bd8b2b39d0':
fix a few problems with BitTube
Kenny Root [Wed, 11 Sep 2013 21:29:20 +0000 (14:29 -0700)]
Remove copy of UniquePtr.h
The UniquePtr.h file is no longer in libcore/... so there is no need to
have this extra copy of it anymore.
Change-Id: I4ec4f86d2844e524b50441c3a9100a50a6a45b1a
Mathias Agopian [Tue, 10 Sep 2013 06:36:25 +0000 (23:36 -0700)]
fix a few problems with BitTube
BitTube used to send objects one at a time and didn't
handle errors properly.
We now send all the objects in one call, which means they
have to be read as a single batch as well. This changes the
BitTube API.
Update SensorService to the new API.
Also added an API to set the size of the send buffer.
Bug:
10641596
Change-Id: I77c70d35e351fdba0416fae4b7ca3b1d56272251
Mathias Agopian [Fri, 6 Sep 2013 22:06:41 +0000 (15:06 -0700)]
am
63108c34: fix a possible null dereference when eglMakeCurrent() fails
* commit '
63108c34ec181e923b68ee840bb7960f205466a7':
fix a possible null dereference when eglMakeCurrent() fails
Mathias Agopian [Fri, 6 Sep 2013 20:36:49 +0000 (13:36 -0700)]
fix a possible null dereference when eglMakeCurrent() fails
Bug:
10648797
Change-Id: Iee0be47f2646feb25de4ea199bbb9b707452916e
Mathias Agopian [Fri, 6 Sep 2013 02:13:13 +0000 (19:13 -0700)]
am
77414216: Merge "color blindness enhancement" into klp-dev
* commit '
77414216cde4d131eb09454d81dab30e408e4e7a':
color blindness enhancement
Mathias Agopian [Fri, 6 Sep 2013 02:09:42 +0000 (02:09 +0000)]
Merge "color blindness enhancement" into klp-dev
Mathias Agopian [Mon, 2 Sep 2013 04:36:12 +0000 (21:36 -0700)]
color blindness enhancement
This is an attempt at improving the experience of
users with color vision impairement.
At this time this feature can only be enabled for
debugging:
adb shell service call SurfaceFlinger 1014 i32 PARAM
with PARAM:
0 : disabled
1 : protanomaly/protanopia simulation
2 : deuteranomaly/deuteranopia simulation
3 : tritanopia/tritanomaly simulation
11, 12, 13: same as above w/ attempted correction/enhancement
The enhancement algorithm tries to spread the "error"
such that tones that would otherwise appear similar can be
distinguished.
Bug:
9465644
Change-Id: I860f7eed0cb81f54ef9cf24ad78155b6395ade48
Dianne Hackborn [Thu, 5 Sep 2013 01:24:33 +0000 (18:24 -0700)]
am
59b1516f: Fix issue #
10422349: Limit/change the battery history data in batterystats
* commit '
59b1516f4cefcfd599f4e5e9c4a227a48d1ace65':
Fix issue #
10422349: Limit/change the battery history data in batterystats
Dianne Hackborn [Thu, 5 Sep 2013 01:04:14 +0000 (18:04 -0700)]
Fix issue #
10422349: Limit/change the battery history data in batterystats
Use new compact option to include history when dumping battery stats.
Change-Id: I3833a88db76d8791bd5c2e8f6ff414af65472a42
Chong Zhang [Wed, 4 Sep 2013 22:11:28 +0000 (15:11 -0700)]
am
e6772914: Merge "HDCP: add enums for HDCP module capabilities" into klp-dev
* commit '
e67729144a56966dd39e1bcda5efa51852e16d74':
HDCP: add enums for HDCP module capabilities
Chong Zhang [Wed, 4 Sep 2013 22:07:46 +0000 (22:07 +0000)]
Merge "HDCP: add enums for HDCP module capabilities" into klp-dev
Chong Zhang [Tue, 3 Sep 2013 21:17:58 +0000 (14:17 -0700)]
HDCP: add enums for HDCP module capabilities
This change adds the enums for HDCP caps. An interface getCaps()
will be added later for querying whether HDCP module supports
encryption from a native buffer output from the encoder.
Bug:
10609422
Change-Id: Ib7fa14e7f4de1da90b46eaa174a7a05ec9dacbdc
Aravind Akella [Wed, 4 Sep 2013 00:43:44 +0000 (17:43 -0700)]
am
a5552de9: Merge "Sensor batching. Changes to the native code." into klp-dev
* commit '
a5552de96f0cff9fb1947d8d21556bfeccf9cd03':
Sensor batching. Changes to the native code.
Aravind Akella [Wed, 4 Sep 2013 00:41:41 +0000 (00:41 +0000)]
Merge "Sensor batching. Changes to the native code." into klp-dev
Aravind Akella [Thu, 27 Jun 2013 19:04:23 +0000 (12:04 -0700)]
Sensor batching. Changes to the native code.
Bug:
10109508
Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
Mathias Agopian [Tue, 3 Sep 2013 23:49:34 +0000 (16:49 -0700)]
am
1d4d8f94: improve mat44 implementation
* commit '
1d4d8f94e2989b7c8667602304df9059d2701653':
improve mat44 implementation
Mathias Agopian [Mon, 2 Sep 2013 04:35:36 +0000 (21:35 -0700)]
improve mat44 implementation
this will make it easier to create matrices of different sizes
Change-Id: I2c1771ba0823c42d737762e2dfc2cd47eb302767
Mathias Agopian [Sat, 31 Aug 2013 01:31:38 +0000 (18:31 -0700)]
am
9b5534b0: Merge changes I8283a989,I64add89a into klp-dev
* commit '
9b5534b0e5e1510f56e6a2c58ad0816167603ebd':
switch to use mat4
vector and matrix classes for graphics use
Mathias Agopian [Sat, 31 Aug 2013 01:30:10 +0000 (01:30 +0000)]
Merge changes I8283a989,I64add89a into klp-dev
* changes:
switch to use mat4
vector and matrix classes for graphics use
Jesse Hall [Fri, 30 Aug 2013 21:19:13 +0000 (14:19 -0700)]
am
87967c18: Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
* commit '
87967c186995d1500875c495cba8f04f7cff76cc':
Force async behavior for the virtual display output BufferQueue
Jesse Hall [Fri, 30 Aug 2013 21:14:55 +0000 (21:14 +0000)]
Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
Jesse Hall [Thu, 29 Aug 2013 23:03:50 +0000 (16:03 -0700)]
Force async behavior for the virtual display output BufferQueue
Bug:
10551087
Change-Id: I40bbb2b87d64420939a0ea309254f281437dab56
Mathias Agopian [Thu, 29 Aug 2013 01:40:14 +0000 (18:40 -0700)]
am
19733a32: minor clean-up of the GLESRenderer
* commit '
19733a32799f792125913e746e8644d16f8dc223':
minor clean-up of the GLESRenderer
Mathias Agopian [Thu, 29 Aug 2013 01:17:28 +0000 (18:17 -0700)]
am
931bda1c: reset the gl viewport at each frame for each display
* commit '
931bda1c472ba8c8e965bdba6757ff94154df903':
reset the gl viewport at each frame for each display
Mathias Agopian [Thu, 29 Aug 2013 01:13:56 +0000 (18:13 -0700)]
minor clean-up of the GLESRenderer
Change-Id: I978dea25b7687fbbbb283f09c24e115d9bad49a2
Mathias Agopian [Thu, 29 Aug 2013 01:11:46 +0000 (18:11 -0700)]
reset the gl viewport at each frame for each display
Bug:
10097128,
9506003
Change-Id: Ie0403a631e339a9134216224f3366f46ece58b53
Mathias Agopian [Wed, 28 Aug 2013 22:49:37 +0000 (15:49 -0700)]
am
672ddf2b: remove adreno 130 workaround support
* commit '
672ddf2b58b6c6ddef4fc4f296e5fa53910d8e3b':
remove adreno 130 workaround support
Mathias Agopian [Wed, 28 Aug 2013 22:49:36 +0000 (15:49 -0700)]
am
f4486c6e: try to keep omap4 alive
* commit '
f4486c6ea4bcb728ee0f38df7a8ec75c389d9d2e':
try to keep omap4 alive
Mathias Agopian [Wed, 28 Aug 2013 22:27:30 +0000 (15:27 -0700)]
remove adreno 130 workaround support
Change-Id: I8ea5ee65d405114b30cfaa44e1a0c971d1ef2a61
Mathias Agopian [Wed, 28 Aug 2013 22:22:29 +0000 (15:22 -0700)]
try to keep omap4 alive
Bug:
10527646
Change-Id: Iec572a910e932115cf4f2e1215142b10cd91bd6f
John Reck [Tue, 27 Aug 2013 16:54:06 +0000 (09:54 -0700)]
am
05f0a81a: Merge "Add libpng include path"
* commit '
05f0a81a93f0d41fa4115c752e617849d145fe5b':
Add libpng include path
John Reck [Tue, 27 Aug 2013 16:49:46 +0000 (16:49 +0000)]
Merge "Add libpng include path"
Mathias Agopian [Tue, 27 Aug 2013 03:42:07 +0000 (20:42 -0700)]
switch to use mat4
Change-Id: I8283a989cfd2b74d53958150bc90298bc083fee7
Mathias Agopian [Thu, 22 Aug 2013 06:10:41 +0000 (23:10 -0700)]
vector and matrix classes for graphics use
- this implements vec2, vec3, vec4, which are float vectors
of size 2, 3 and 4 respectively.
the code allows easy instantiation of vectors of a different
type via the tvec{2|3|4}<T> template classes.
- this also implements mat4 which is a float 4x4 matrix. the
tmat44<T> template class allows easy instantiation of a
4x4 matrix of a different value_type.
The vector types have some minimal support for the
glsl style swizzled access; for instance:
vec4 u;
vec3 v = u.xyz;
only .x, .xy, .xyz and their .stpq / .rgba equivalent are
supported.
most operators are supported on both vector and matrices:
arithmetic, unary, compound assignment and comparison
(bit-wise operators NOT supported).
- operations available on vectors include:
dot, length, distance, normalize and cross
- operations available on matrices include:
transpose, inverse, trace
- and a few utilities to create matrices:
ortho, frustum, lookAt
Change-Id: I64add89ae90fa78d3f2f59985b63495575378635
John Reck [Mon, 26 Aug 2013 23:48:46 +0000 (16:48 -0700)]
Add libpng include path
Forward compatibility change
Change-Id: Iae792715d9a9aea34f53cd6383981371835c4a31
Mathias Agopian [Mon, 26 Aug 2013 22:03:24 +0000 (15:03 -0700)]
am
f2e4fcd9: Merge changes I34935d21,If423cd29 into klp-dev
* commit '
f2e4fcd96c11861bd0af1a9525344c1b691c9de9':
handle several vsync signal correctly
only use format compatible with CPU consumers
Mathias Agopian [Mon, 26 Aug 2013 22:03:23 +0000 (15:03 -0700)]
am
ed127ea3: Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
* commit '
ed127ea3834045597a072dcf31877ff3084582ff':
make sure SF initialization is ran at target priority and correct thread group
Mathias Agopian [Mon, 26 Aug 2013 22:03:19 +0000 (15:03 -0700)]
am
bcab7b17: fix DimLayer in GLES2.0 SF
* commit '
bcab7b17b1c5476935a6f2f916922b4eb57991a4':
fix DimLayer in GLES2.0 SF
Mathias Agopian [Sat, 24 Aug 2013 00:12:41 +0000 (00:12 +0000)]
Merge changes I34935d21,If423cd29 into klp-dev
* changes:
handle several vsync signal correctly
only use format compatible with CPU consumers
Mathias Agopian [Sat, 24 Aug 2013 00:12:05 +0000 (00:12 +0000)]
Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
Mathias Agopian [Fri, 23 Aug 2013 22:56:38 +0000 (15:56 -0700)]
make sure SF initialization is ran at target priority and correct thread group
SF can spawn threads (indirectly) during initialization
and we want those to be spawned at URGENT_DISPLAY_PRIORITY
(in theory they should set their own, but some code lives
in vendor libraries and doesn't).
Bug:
10430209
Change-Id: I5b3a8f979297de287614c8eafd8267bef1176e4b
Mathias Agopian [Fri, 23 Aug 2013 23:12:34 +0000 (16:12 -0700)]
fix DimLayer in GLES2.0 SF
DimLayer state wasn't initialized properly.
Bug:
10442967
Change-Id: I384c1d85c58c96ae29d5daa1fabee9f4ce003501
Jeff Brown [Fri, 23 Aug 2013 02:34:04 +0000 (19:34 -0700)]
am
464febc4: Remove input flinger stubs. (DO NOT MERGE)
* commit '
464febc44908fb4a8fca9e513ba8469750dde838':
Remove input flinger stubs. (DO NOT MERGE)
Jeff Brown [Fri, 23 Aug 2013 01:34:33 +0000 (18:34 -0700)]
Remove input flinger stubs. (DO NOT MERGE)
Bug:
10446930
Change-Id: I4dd46f539cd2a2e324dfc83b45ba2787f7404a4a
Jeff Tinker [Thu, 22 Aug 2013 23:13:15 +0000 (16:13 -0700)]
am
39bfc698: Merge "Add ability to test supported content types to MediaDrm" into klp-dev
* commit '
39bfc6989259c5d24fd43f3d7fa7e967a4b17aac':
Add ability to test supported content types to MediaDrm
Jeff Tinker [Thu, 22 Aug 2013 23:08:09 +0000 (23:08 +0000)]
Merge "Add ability to test supported content types to MediaDrm" into klp-dev
Eino-Ville Talvala [Thu, 22 Aug 2013 19:26:51 +0000 (12:26 -0700)]
am
b6aea00c: Merge "Surface: Fix controlledByApp parameter" into klp-dev
* commit '
b6aea00c7843705fdc6d265d7e15b3df52e86009':
Surface: Fix controlledByApp parameter
Eino-Ville Talvala [Thu, 22 Aug 2013 19:23:27 +0000 (19:23 +0000)]
Merge "Surface: Fix controlledByApp parameter" into klp-dev
Mathias Agopian [Thu, 22 Aug 2013 00:45:46 +0000 (17:45 -0700)]
handle several vsync signal correctly
Change-Id: I34935d2197ce8e914fef2f110896e47b44225ad2
Mathias Agopian [Wed, 21 Aug 2013 23:36:34 +0000 (16:36 -0700)]
only use format compatible with CPU consumers
EGL now picks the buffer format out of a small set
of formats compatible with CPU consumers instead of
using the EGL_NATIVE_VISUAL_ID.
Bug:
10194508
Change-Id: If423cd29601b7a3ace8670f4c73004132cfc4b31
Jeff Tinker [Wed, 21 Aug 2013 18:57:40 +0000 (11:57 -0700)]
Add ability to test supported content types to MediaDrm
bug:
10244066
Change-Id: I6666d0dbfdc6e791deb9a82c918255af4fa19816
Mathias Agopian [Wed, 21 Aug 2013 22:59:20 +0000 (15:59 -0700)]
am
4ceff3d5: screenshot layers wouldn\'t work in some cases
* commit '
4ceff3d5efd27c164788bb2b3f0fd17c691a0204':
screenshot layers wouldn't work in some cases
Mathias Agopian [Wed, 21 Aug 2013 22:23:15 +0000 (15:23 -0700)]
screenshot layers wouldn't work in some cases
specifically when the display size and the screenshot window
size didn't match, the buffer would be rejected.
We simply fix this by setting the scalling mode to
"SCALE_TO_WINDOW".
Bug:
9992306
Change-Id: Ib821767899af330bb70d3cbbfa7d41b02794a075
Dmitry Shmidt [Wed, 21 Aug 2013 19:38:25 +0000 (12:38 -0700)]
am
56968ec0: Merge "dumpstate: Fix wifi list of networks dump" into klp-dev
* commit '
56968ec0bfbe70b76193a2614a23beacfc9cf9dc':
dumpstate: Fix wifi list of networks dump
Dmitry Shmidt [Wed, 21 Aug 2013 19:35:25 +0000 (19:35 +0000)]
Merge "dumpstate: Fix wifi list of networks dump" into klp-dev
Eino-Ville Talvala [Wed, 21 Aug 2013 18:53:37 +0000 (11:53 -0700)]
Surface: Fix controlledByApp parameter
Bug:
10425641
Change-Id: I1a47e2ce4ecbdb8e67030a5d9ddf6604c5e2497d
Mathias Agopian [Wed, 21 Aug 2013 18:56:48 +0000 (11:56 -0700)]
am
a525483d: Merge "Fix a bug where non-cropped layer could be scaled incorrectly" into klp-dev
* commit '
a525483dc73df39a72c9b4865102a86704b3622c':
Fix a bug where non-cropped layer could be scaled incorrectly
Mathias Agopian [Wed, 21 Aug 2013 18:55:19 +0000 (18:55 +0000)]
Merge "Fix a bug where non-cropped layer could be scaled incorrectly" into klp-dev
Dmitry Shmidt [Wed, 21 Aug 2013 17:58:29 +0000 (10:58 -0700)]
dumpstate: Fix wifi list of networks dump
Bug:
9056601
Change-Id: Ia0adb67afdf3d478033d0ee34bbb95e621e2fe51
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Jesse Hall [Wed, 21 Aug 2013 14:41:23 +0000 (07:41 -0700)]
am
d2cf8c2f: Merge "Provide HWC prepare with a valid output buffer" into klp-dev
* commit '
d2cf8c2f07b4285a224acd262e6f052c37dbc0b0':
Provide HWC prepare with a valid output buffer
Jesse Hall [Wed, 21 Aug 2013 14:41:23 +0000 (07:41 -0700)]
am
7127d17d: Merge "Fix HWComposer dumping of float source crops" into klp-dev
* commit '
7127d17db148ad388a4eb3c152d4c257c6015476':
Fix HWComposer dumping of float source crops
Jesse Hall [Wed, 21 Aug 2013 14:38:51 +0000 (14:38 +0000)]
Merge "Provide HWC prepare with a valid output buffer" into klp-dev
Jesse Hall [Wed, 21 Aug 2013 14:37:50 +0000 (14:37 +0000)]
Merge "Fix HWComposer dumping of float source crops" into klp-dev
Andy McFadden [Wed, 21 Aug 2013 14:33:46 +0000 (07:33 -0700)]
am
32551478: Merge "Fix virtual displays for HWC 1.0" into klp-dev
* commit '
32551478fc5417d3b7b5e33a202eb6ca66061f7d':
Fix virtual displays for HWC 1.0
Andy McFadden [Wed, 21 Aug 2013 14:31:34 +0000 (14:31 +0000)]
Merge "Fix virtual displays for HWC 1.0" into klp-dev
Mathias Agopian [Wed, 21 Aug 2013 04:41:07 +0000 (21:41 -0700)]
Fix a bug where non-cropped layer could be scaled incorrectly
If a layer is not cropped but its bounds are outside of the
viewport (i.e.: clipped), the crop rectangle passed to
hw composer would be invalid because it started invalid
in the first place (to indicate "no crop").
Bug:
10410944
Change-Id: I4ae4d49a1adef0be7fa4304ecf84b1a5b7d03fe0
Jesse Hall [Tue, 20 Aug 2013 23:35:32 +0000 (16:35 -0700)]
Provide HWC prepare with a valid output buffer
We weren't dequeing and setting the output buffer until just before
set(). This didn't allow HWC to make decisions in prepare() based on
the output buffer format, dimensions, etc.
Now we dequeue the output buffer at the beginning of the composition
loop and provide it to HWC in prepare. In GLES-only rendering, we may
have to cancel the buffer and acquire a new one if GLES requests a
buffer with properties different than the one we already dequeued.
Bug:
10365313
Change-Id: I96b4b0a851920e4334ef05080d58097d46467ab8
Jesse Hall [Tue, 20 Aug 2013 23:11:50 +0000 (16:11 -0700)]
Fix HWComposer dumping of float source crops
Change-Id: I45a9344b5fab17ccb54bebd01382d738a03860e6
Andy McFadden [Tue, 20 Aug 2013 23:04:47 +0000 (16:04 -0700)]
Fix virtual displays for HWC 1.0
We weren't swapping the buffers.
Bug
10366404
Change-Id: I43eb7648231bedf24899da6fc0d9acc09e0b047e
Mathias Agopian [Tue, 20 Aug 2013 21:36:37 +0000 (14:36 -0700)]
am
4f4f0943: SurfaceFlinger now runs in the process\'s main thread
* commit '
4f4f0943489d9113c66ac22b58cfba8c21dfa879':
SurfaceFlinger now runs in the process's main thread
Mathias Agopian [Tue, 20 Aug 2013 00:26:18 +0000 (17:26 -0700)]
SurfaceFlinger now runs in the process's main thread
it used to spawn its own thread and return the main thread
to the binder thread pool -- this was confusing the naming
of things in the kernel.
Bug:
10331839
Change-Id: I2d13a6d73409a38109300fcbe6a04b4c41cb5d00
Andy McFadden [Mon, 19 Aug 2013 16:51:16 +0000 (09:51 -0700)]
Andy McFadden [Mon, 19 Aug 2013 15:56:07 +0000 (08:56 -0700)]
Fix build
Neglected the "checkbuild"-built tests.
Change-Id: I202692f1a6d1e306c88e820c959d07d16e7c6a00
Andy McFadden [Mon, 19 Aug 2013 14:29:11 +0000 (07:29 -0700)]
am
90f59bf9: Merge "Re-enable frame dropping for non-auto timestamps" into klp-dev
* commit '
90f59bf9eba79b27629505bc2709d84e7c811c8b':
Re-enable frame dropping for non-auto timestamps
Andy McFadden [Mon, 19 Aug 2013 14:27:28 +0000 (14:27 +0000)]
Merge "Re-enable frame dropping for non-auto timestamps" into klp-dev
Jesse Hall [Sun, 18 Aug 2013 04:34:03 +0000 (21:34 -0700)]
am
7c6278de: Merge "Use new HWC display type/count constants." into klp-dev
* commit '
7c6278de6e2aed171362012d578d8bd093c8f280':
Use new HWC display type/count constants.
Jesse Hall [Sun, 18 Aug 2013 04:31:24 +0000 (04:31 +0000)]
Merge "Use new HWC display type/count constants." into klp-dev
Mathias Agopian [Sat, 17 Aug 2013 00:43:31 +0000 (17:43 -0700)]
am
0f05a926: Merge "Encapsulate textures into their own Texture class" into klp-dev
* commit '
0f05a926647389551aba6b8cfac37aaf73e8bad8':
Encapsulate textures into their own Texture class
Mathias Agopian [Sat, 17 Aug 2013 00:40:19 +0000 (00:40 +0000)]
Merge "Encapsulate textures into their own Texture class" into klp-dev
Mathias Agopian [Thu, 15 Aug 2013 01:20:17 +0000 (18:20 -0700)]
Encapsulate textures into their own Texture class
the main reason for doing this is so that we can have
access to informations about a texture (like its dimension)
close to where we generate and use shaders in ES 2.0.
Previously, there wasn't any way to get to a texture's size
from a RenderEngine implementation.
Bug:
8679321
Change-Id: I388b338a70d07e3e8177dde248710ea1e4c82dff