Christopher Ferris
6de9653ac8
Merge "Remove unnecessary include."
2013-09-19 23:16:10 +00:00
Christopher Ferris
d142f4b787
Remove unnecessary include.
...
All these files are including utils/CallStack.h, but none of the code
uses any CallStack objects.
Change-Id: I38c3a346a3bd0ddbff368d0f7f8b3f3d78fc0432
2013-09-19 15:45:03 -07:00
Mathias Agopian
0f0e845113
am a7e1660b
: am c1c05de4
: fix camera API 2.0 orientation
...
* commit 'a7e1660b257326f99261e7c9b2d58c9d2e68d0b0':
fix camera API 2.0 orientation
2013-09-18 15:36:00 -07:00
Mathias Agopian
c1c05de415
fix camera API 2.0 orientation
...
we add a flag to ANativeWindow::setBufferTransform that means
"apply the inverse rotation of the display this buffer is displayed
onto to".
Bug: 10804238
Change-Id: Id2447676271950463e8dbcef1b95935c5c3f32b2
2013-09-17 23:45:22 -07:00
Mathias Agopian
7229e98229
am 3f342c11
: am 02b62df7
: Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev
...
* commit '3f342c113360eacc1e9c1ff481cb03f700a50117':
Make sure do disconnect from a BQ when its client dies.
2013-09-17 14:35:29 -07:00
Mathias Agopian
02b62df711
Merge "Make sure do disconnect from a BQ when its client dies." into klp-dev
2013-09-17 21:31:14 +00:00
Aravind Akella
f0d2b05ac7
am 30480ac9
: am fca43392
: Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev
...
* commit '30480ac9f9cb102095e6bfec2226b48e5d1f4060':
Fix for AOSP fusion sensors not handling multiple clients correctly.
2013-09-17 11:26:15 -07:00
Aravind Akella
fca43392b7
Merge "Fix for AOSP fusion sensors not handling multiple clients correctly." into klp-dev
2013-09-17 18:17:50 +00:00
Aravind Akella
bb7f65829e
am 47e300c4
: am f0c72846
: Merge "Sensor Batching Bug fixes." into klp-dev
...
* commit '47e300c4b44762bcf3de2332eff1b0b00a8123e8':
Sensor Batching Bug fixes.
2013-09-17 10:53:50 -07:00
Aravind Akella
f0c728465a
Merge "Sensor Batching Bug fixes." into klp-dev
2013-09-17 17:49:27 +00:00
Jesse Hall
cd9fd427ac
am b8080d9a
: am 2a36497e
: Merge "Stop using default value for Surface producerControlledByApp parameter" into klp-dev
...
* commit 'b8080d9a3b760617c5dde7b1d2d63aa2bcecf3a7':
Stop using default value for Surface producerControlledByApp parameter
2013-09-16 20:32:34 -07:00
Mathias Agopian
365857df8b
Make sure do disconnect from a BQ when its client dies.
...
Bug: 5679534
Change-Id: If447e8673df83fe0b1d6210641e0a48522501a53
2013-09-16 16:15:21 -07:00
Aravind Akella
bf72deea2f
Fix for AOSP fusion sensors not handling multiple clients correctly.
...
Bug: 10786801
Change-Id: I7b938bc583a303a30237c3d93b5accbf64cc90b5
2013-09-16 15:49:49 -07:00
Jesse Hall
83cafffeac
Stop using default value for Surface producerControlledByApp parameter
...
Bug: 10785749
Change-Id: Ifbf9340e5eabe621a69e990ec3e05ac51f8db66a
2013-09-16 15:39:55 -07:00
Aravind Akella
4c8b951f8d
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
2013-09-16 14:43:02 -07:00
Alan Viverette
ff735dd2b8
Merge "Add API for pushing color transforms to SurfaceFlinger"
2013-09-16 19:27:22 +00:00
Alan Viverette
9c5a333511
Add API for pushing color transforms to SurfaceFlinger
...
BUG: 9057596
Change-Id: Iea0953366eac875b7968897a75472c25a137edb5
2013-09-12 20:04:35 -07:00
Mathias Agopian
24695a1cff
am 7c4f2365
: am 90ed3e8d
: fix a few problems with BitTube
...
* commit '7c4f236532692b847b9b103df6490549656ae993':
fix a few problems with BitTube
2013-09-11 17:24:11 -07:00
Mathias Agopian
90ed3e8d78
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
2013-09-10 21:10:53 -07:00
Mathias Agopian
8e84e29486
am 7390e049
: am 77414216
: Merge "color blindness enhancement" into klp-dev
...
* commit '7390e04932dc1b588967d9951eeaf0d00e8a5a83':
color blindness enhancement
2013-09-06 09:52:08 -07:00
Mathias Agopian
77414216cd
Merge "color blindness enhancement" into klp-dev
2013-09-06 02:09:43 +00:00
Mathias Agopian
ff2ed70fa3
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
2013-09-04 22:11:15 -07:00
Aravind Akella
91e0ff5739
am e29df8b9
: am a5552de9
: Merge "Sensor batching. Changes to the native code." into klp-dev
...
* commit 'e29df8b929128621c8ef90091696d414eb235276':
Sensor batching. Changes to the native code.
2013-09-03 17:45:18 -07:00
Aravind Akella
724d91d778
Sensor batching. Changes to the native code.
...
Bug: 10109508
Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
2013-09-03 17:04:36 -07:00
Mathias Agopian
9b7176b428
am d213910a
: am 9b5534b0
: Merge changes I8283a989,I64add89a into klp-dev
...
* commit 'd213910ab0acc956ee66bd3a0079a6393e7c695c':
switch to use mat4
vector and matrix classes for graphics use
2013-08-30 18:33:08 -07:00
Mathias Agopian
9b5534b0e5
Merge changes I8283a989,I64add89a into klp-dev
...
* changes:
switch to use mat4
vector and matrix classes for graphics use
2013-08-31 01:30:10 +00:00
Jesse Hall
83ae7708cd
am 2d28c372
: am 87967c18
: Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
...
* commit '2d28c37269ca55b2be896ca67271994ebbc2bc84':
Force async behavior for the virtual display output BufferQueue
2013-08-30 14:25:07 -07:00
Jesse Hall
87967c1869
Merge "Force async behavior for the virtual display output BufferQueue" into klp-dev
2013-08-30 21:14:55 +00:00
Jesse Hall
8db92553e9
Force async behavior for the virtual display output BufferQueue
...
Bug: 10551087
Change-Id: I40bbb2b87d64420939a0ea309254f281437dab56
2013-08-29 16:09:11 -07:00
Mathias Agopian
aa62c663b7
am bf5e8b63
: am 19733a32
: minor clean-up of the GLESRenderer
...
* commit 'bf5e8b631db3dbd9cee5cf8805c5379f013b54db':
minor clean-up of the GLESRenderer
2013-08-28 18:41:31 -07:00
Mathias Agopian
3e75e82f52
am ecebe12e
: am 931bda1c
: reset the gl viewport at each frame for each display
...
* commit 'ecebe12e708e6946821facce1fa05cd86570c33f':
reset the gl viewport at each frame for each display
2013-08-28 18:19:48 -07:00
Mathias Agopian
19733a3279
minor clean-up of the GLESRenderer
...
Change-Id: I978dea25b7687fbbbb283f09c24e115d9bad49a2
2013-08-28 18:13:56 -07:00
Mathias Agopian
931bda1c47
reset the gl viewport at each frame for each display
...
Bug: 10097128, 9506003
Change-Id: Ie0403a631e339a9134216224f3366f46ece58b53
2013-08-28 18:11:46 -07:00
Mathias Agopian
a8c386f1c3
switch to use mat4
...
Change-Id: I8283a989cfd2b74d53958150bc90298bc083fee7
2013-08-26 20:42:07 -07:00
Mathias Agopian
d3cf96416e
am 288b94b4
: am f2e4fcd9
: Merge changes I34935d21,If423cd29 into klp-dev
...
* commit '288b94b4abb42c534def97e955c6ae77e79afe6c':
handle several vsync signal correctly
only use format compatible with CPU consumers
2013-08-26 15:17:19 -07:00
Mathias Agopian
1057bbe72e
am db54dbe3
: am ed127ea3
: Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
...
* commit 'db54dbe37228fd6e16fec02ce35d6b5a54015dca':
make sure SF initialization is ran at target priority and correct thread group
2013-08-26 15:17:19 -07:00
Mathias Agopian
64ca284d91
am 01ff3d6f
: am bcab7b17
: fix DimLayer in GLES2.0 SF
...
* commit '01ff3d6fde685193955874643d26ec4e799aa3a8':
fix DimLayer in GLES2.0 SF
2013-08-26 15:17:18 -07:00
Mathias Agopian
f2e4fcd96c
Merge changes I34935d21,If423cd29 into klp-dev
...
* changes:
handle several vsync signal correctly
only use format compatible with CPU consumers
2013-08-24 00:12:42 +00:00
Mathias Agopian
ed127ea383
Merge "make sure SF initialization is ran at target priority and correct thread group" into klp-dev
2013-08-24 00:12:05 +00:00
Mathias Agopian
9414d67f46
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
2013-08-23 17:10:32 -07:00
Mathias Agopian
bcab7b17b1
fix DimLayer in GLES2.0 SF
...
DimLayer state wasn't initialized properly.
Bug: 10442967
Change-Id: I384c1d85c58c96ae29d5daa1fabee9f4ce003501
2013-08-23 16:12:34 -07:00
Jeff Brown
464febc449
Remove input flinger stubs. (DO NOT MERGE)
...
Bug: 10446930
Change-Id: I4dd46f539cd2a2e324dfc83b45ba2787f7404a4a
2013-08-22 18:40:07 -07:00
Todd Poynor
cf80873586
libbatteryservice: add interface to read individual battery properties
...
Change-Id: I089eb6348053a8a9c8bca59e57ed97b4af14825a
2013-08-22 01:57:19 +00:00
Mathias Agopian
bef42c50eb
handle several vsync signal correctly
...
Change-Id: I34935d2197ce8e914fef2f110896e47b44225ad2
2013-08-21 17:45:46 -07:00
Mathias Agopian
4ceff3d5ef
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
2013-08-21 15:25:50 -07:00
Mathias Agopian
a525483dc7
Merge "Fix a bug where non-cropped layer could be scaled incorrectly" into klp-dev
2013-08-21 18:55:19 +00:00
Jesse Hall
d2cf8c2f07
Merge "Provide HWC prepare with a valid output buffer" into klp-dev
2013-08-21 14:38:51 +00:00
Jesse Hall
7127d17db1
Merge "Fix HWComposer dumping of float source crops" into klp-dev
2013-08-21 14:37:51 +00:00
Andy McFadden
32551478fc
Merge "Fix virtual displays for HWC 1.0" into klp-dev
2013-08-21 14:31:35 +00:00
Mathias Agopian
0e8f1443b8
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
2013-08-20 21:46:45 -07:00