- Nov 03, 2015
-
-
Casey Dahlin authored
Change-Id: Iaa8da704b2ae3c1ca5456177441a335991b40e8a Test: unit tests pass Bug: 24470786 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Pablo Ceballos authored
- Add a boolean to BufferItem to track whether single buffer mode is enabled. When it is, force SurfaceFlinger to acquire a new buffer and refresh on every vsync. Bug 24940410 Change-Id: Iea67330c416b6fb14500865f98c67f1c12f23197
-
Pablo Ceballos authored
- Adds a single buffer mode to BufferQueue. In this mode designate the first dequeued buffer as the shared buffer. All calls to dequeue() and acquire() will then return the shared buffer, allowing the producer and consumer to share it. - Modify the buffer slot state tracking. Add a new SHARED state for the shared buffer in single buffer mode. Also track how many times a buffer has been dequeued/queued/acquired as it's possible for a shared buffer to be both dequeued and acquired at the same time, or dequeued/acquired multiple times. This tracking is needed to know when to drop the buffer out of the SHARED state after single buffer mode has been disabled. - Add plumbing for enabling/disabling single buffer mode from Surface. Bug 24940410 Change-Id: I3fc550c74bacb5523c049a227111356257386853
-
- Oct 30, 2015
-
-
Pablo Ceballos authored
Bug 18173359 Change-Id: I36e83ba4e9ce9884533952d8321d22f666cc8a06
-
- Oct 29, 2015
-
-
Badhri Jagan Sridharan authored
Bug: 25229483 Change-Id: I4b6dd13870c41907c708f32412261efdca826023
-
Dan Stoza authored
Add API for fetching the next frame number to be produced by a given buffer producer. Add an API to SurfaceComposer to defer execution of the current transaction until a given frame number. Together these may be used to synchronize app drawing and surface control updates. Change-Id: I8e0f4993332ac0199c768c88581a453fefbaff1d
-
- Oct 28, 2015
-
-
Casey Dahlin authored
We use a template function to let us pass arbitrary interfaces, all of which can be cast to IBinder. Change-Id: Iadf21c495cde43e8a5adb85a49e6592196f401ff Test: unit tests Bug: 23600713 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
- Oct 23, 2015
-
-
Adrian Roos authored
Makes sure we don't change the memory layout of the Parcel class to maintain binary compatibility with prebuilts linking against libbinder. Bug: 25004154 Change-Id: I656687497f08bb85cefda796aafa2341e601e30a (cherry picked from commit 6bb31142)
-
Adrian Roos authored
This reverts commit 6880307e. Bug: 25004154 Change-Id: I9b432d1ebc39f3bbcd7afdefc403f0fb6ced8158 (cherry picked from commit cbf37263)
-
Adrian Roos authored
Makes sure we don't change the memory layout of the Parcel class to maintain binary compatibility with prebuilts linking against libbinder. Bug: 25004154 Change-Id: I656687497f08bb85cefda796aafa2341e601e30a
-
Adrian Roos authored
This reverts commit 6880307e. Bug: 25004154 Change-Id: I9b432d1ebc39f3bbcd7afdefc403f0fb6ced8158
-
- Oct 22, 2015
-
-
Ian Pedowitz authored
This reverts commit e2f499fb. Bug: 25169267 Bug: 25191602 Bug: 25004154 Change-Id: I24bb0da4e8739ee5a0c251e4adac9904827144e0
-
Nick Kralevich authored
On klp-dev, UINT16_MAX isn't available unless __STDINT_LIMITS is defined, which it's not for this code. This isn't relevant for later branches due to bionic commit e2a292d278b94fec3d078b1f1b27c1f89942c276 Don't use UINT16_MAX when we can just hardcode 65535. Bug: 23905002 Change-Id: Ia1fd0f749cb7a4d19866075abc28ed6960424e54
-
Michael Wright authored
Apps can send us a KCM containing a ridiculous key count, which will cause us to crash when an allocation fails. Limit the key count so this doesn't happen. Bug: 24876135 Change-Id: I2bb4a5acabfc9184a867a406eef756c28c28f0ad
-
Nick Kralevich authored
fix klp-dev only build breakage. frameworks/native/libs/input/Input.cpp: In member function 'android::status_t android::MotionEvent::readFromParcel(android::Parcel*)': frameworks/native/libs/input/Input.cpp:494:47: error: 'UINT16_MAX' was not declared in this scope Bug: 23905002 Change-Id: I4b6b864ca64d39a8873d045a61e0ddaea2ab9109
-
- Oct 21, 2015
-
-
Adrian Roos authored
Bug: 25004154 Change-Id: Id9d5656dd0605f1b50525596b75601309f67ebdc
-
Adrian Roos authored
Bug: 25004154 Change-Id: Id9d5656dd0605f1b50525596b75601309f67ebdc
-
Michael Wright authored
Bug: 25120948 Change-Id: Ic2569b1d542fb3fd4159d8c08fe65beeb8b656d7
-
- Oct 20, 2015
-
-
Casey Dahlin authored
Also a readString16 with the expected semantics. Change-Id: Idbeaff1b4337089b2a5a7124f77226a693b2be4f Test: Unit tests pass Bug: 25012838 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
Flanker authored
Bug:23905002 Signed-off-by:
Adam Lesinski <adamlesinski@google.com> (cherry picked from commit 552a8a5d) Change-Id: I9b7ea859889b7697bee4165a2746602212120543
-
- Oct 16, 2015
-
-
Casey Dahlin authored
We lift these to int, but handling the details of that here will be better than having AIDL generate casting code all the time. Test: unit tests pass Bug: 24981507 Change-Id: If6aa33ab5fe365dd237136a95c5d9a702af41d15 Signed-off-by:
Casey Dahlin <sadmac@google.com>
-
- Oct 14, 2015
-
-
Dianne Hackborn authored
Seems like it breaks some prebuilt binaries. Change-Id: Ia5e35beb4538364b2ab3618fbf21b2e9c9ee2363
-
- Oct 12, 2015
-
-
Flanker authored
Bug:23905002 Change-Id: Ifd24802977c3dcdd1dbc5120a78aac41beae4603 Signed-off-by:
Adam Lesinski <adamlesinski@google.com>
-
Dianne Hackborn authored
IBinder has a new common interface for sending shell commands to it. This can be implemented by system services to provide a shell interface to the service, without needing to have separate shell java code. Also add a new "cmd" command line tool, which invokes the shell command method on a system service. This is much like dumpsys, but for shell commands. Change-Id: I95dc80c881a28cefb76957ad4d4fd9b3ed9630df
-
- Oct 06, 2015
-
-
Pablo Ceballos authored
The Volantis driver will dequeue a buffer in eglCreateWindowSurface. - Remove the requirement that no buffers be dequeued when calling setAsyncMode() on a BufferQueueProducer, since this gets called from eglSwapInterval. - Modify the tests to call setMaxDequeuedBufferCount before calling eglCreateWindowSurface. Change-Id: Icc64e9933f151771bbd57035549cd5928c0b7216
-
- Sep 30, 2015
-
-
Daniel Erat authored
Add the full list of transaction IDs from IPowerManager.aidl to IPowerManager.h and make BpPowerManager support calling goToSleep, reboot, shutdown, and crash. These are currently needed by or likely to be needed by Brillo. Bug: 22122485 Change-Id: I19abd3587c9d53b28ec150210e07f97517ee4ff4
-
Sergio Giro authored
Towards deprecation of SharedBuffer Change-Id: I9c853c86fb057280013405cb8c3c725e13175ea4
-
- Sep 29, 2015
-
-
Dmitry Torokhov authored
Currently keyboard maps allow to assign character sequences to key events and allow specifying a so-called "fallback" key events that are re-injected into input stream if target application indicates that it was not able to handle the original key event. Unfortunately there is no way to perform substitution before handing the event to applicationis. This change adds a new keymap keyword "replace" that allows users query "replacement" actions for key (if any), with the intent that such replacement happens early in the event handling process. Bug: 24504154 Change-Id: I3e6a2476c856524171df00ad22ff56f2018c1278
-
- Sep 24, 2015
-
-
Pablo Ceballos authored
- Get rid of the async flag in dequeueBuffer, allocateBuffers, waitForFreeSlotThenRelock, and QueueBufferInput. - Instead use the persistent flags mDequeueBufferCannotBlock and mAsyncMode to determine whether to use the async behavior. Bug 13174928 Change-Id: Ie6f7b9e46ee3844ee77b102003c84dddf1bcafdd
-
- Sep 22, 2015
-
-
Michael Wright authored
This reverts commit 9b70ab7a, reversing changes made to 153008ef. Bug: 24302031 Change-Id: Ia746381b30be3b54cb646ed412b7271962c4b02a
-
- Sep 21, 2015
-
-
Pablo Ceballos authored
- Remove getSharedBuffer() from Region - Don't use SharedBuffer for memory management in HWCLayerVersion1, instead keep shallow copies of the Regions. Bug 23962051 (cherry picked from commit d814cf2a) Change-Id: I8fa17beed57936648c7b4defc9219dff1d5b337f
-
- Sep 18, 2015
-
-
Pablo Ceballos authored
- Update unit tests to match Bug 23763412 Change-Id: I77e59bf6b57b328433c3835450455f80a8fa454b
-
- Sep 15, 2015
-
-
Daniel Erat authored
Move libpowermanager's transaction ID enum (needed when implementing BnPowerManager::onTransact()) into IPowerManager.h and update the library's Android.mk file to export its headers. Bug: 22122485 Change-Id: Ie97198c3d2ebe8e880125e19a001ef7162009858
-
- Sep 14, 2015
-
-
Daniel Erat authored
As far as I can tell (e.g. https://goo.gl/nxpFBZ from 2009), BnServiceManager is unused. It's only relevant for libbinder-based C++ daemons implementing the IServiceManager.aidl interface. service_manager.c rolls its own binder code instead. Change-Id: I837a897d8a201b04bf3ff65c87b0d35d10196199
-
Pablo Ceballos authored
- All instances of mBuf have now been removed from the code base, so remove the union and get rid of it. Bug 19769719 Change-Id: I49db71a664702dd355bdb9efe6b955fee2d54531
-
- Sep 11, 2015
-
-
Pablo Ceballos authored
- Remove getSharedBuffer() from Region - Don't use SharedBuffer for memory management in HWCLayerVersion1, instead keep shallow copies of the Regions. Bug 23962051 Change-Id: I8fa17beed57936648c7b4defc9219dff1d5b337f
-
- Sep 03, 2015
-
-
Pablo Ceballos authored
- Rename setDefaultMaxBufferCount() to setMaxBufferCount(). Modify it to be hard maximum on the number of buffers that can't be overwritten by the producer. - Enforce the maximum buffer count in setMaxAcquiredBufferCount(), setMaxDequeuedBufferCount(), and setAsyncMode(). - Remove mOverrideMaxBufferCount as it's no longer needed since overriding is no longer possible. - Expose setMaxAcquiredBufferCount() in GLConsumer. - Remove disableAsyncBuffer(), it was only being used for single buffer mode. Single buffer mode is now achievable with setMaxBufferCount(). Bug 13174928 Change-Id: Ia33799f42751272a711fbd8559f7602ce9f18e4f
-
- Sep 02, 2015
-
-
Nick Armstrong-Crews authored
BUG: b/23589870 Change-Id: I9bb575fe97bfae926ef4db37615e88057b81480c
-
- Aug 31, 2015
-
-
Dan Stoza authored
Adds the colorTransform field, which defines a vendor-specific color transform (e.g., wide gamut, sRGB, etc.) to the DisplayInfo class, and populates it from the HWC interface. Bug: 20853317 Change-Id: I153edc36a361407656f3eb5082b96c2da2ecbec7
-
- Aug 28, 2015
-
-
Johan Euphrosine authored
Change-Id: I6e387f905ba87bde810952daf939ba0f529d18b8
-