summaryrefslogtreecommitdiffstats
path: root/libs/gui
Commit message (Collapse)AuthorAgeFilesLines
* IGraphicBufferProducer: fix QUEUE_BUFFER info leakRobert Shih2016-01-151-0/+1
|\ | | | | | | | | | | | | am: d06421fd37 * commit 'd06421fd37fbb7fd07002e6738fac3a223cb1a62': IGraphicBufferProducer: fix QUEUE_BUFFER info leak
| * IGraphicBufferProducer: fix QUEUE_BUFFER info leakRobert Shih2016-01-111-0/+1
| | | | | | | | | | Bug: 26338109 Change-Id: I8a979469bfe1e317ebdefa43685e19f9302baea8
* | am c1e6fbb5: Initialize local variables to avoid data leakNaveen Leekha2015-09-241-2/+2
|\ \ | |/ | | | | | | * commit 'c1e6fbb52c3f85cc7610d1d07d12be38f70b4ed4': Initialize local variables to avoid data leak
| * Initialize local variables to avoid data leakNaveen Leekha2015-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uninitialized local variables pick up whatever the memory content was there on stack. This data gets sent to the remote process in case of a failed transaction, which is a security issue. Fixed. (Manual merge of master change 12ba0f57d028a9c8f4eb3afddc326b70677d1e0c ) For b/23696300 Change-Id: I665212d10da56f0803b5bb772d14c77e632ba2ab
* | Set default values for FifoMaxEventCount and ReservedEventCount.Aravind Akella2014-05-121-0/+3
| | | | | | | | Change-Id: I4f610c2912ffe1697d1ffb99c556d1c88578466e
* | Merge "Add stringType and requiredPermission to sensors, effectively adding ↵Aravind Akella2014-04-111-32/+126
|\ \ | | | | | | | | | permission checking for sensors" into klp-modular-dev
| * | Add stringType and requiredPermission to sensors, effectively adding ↵Aravind Akella2014-04-111-32/+126
| | | | | | | | | | | | | | | | | | | | | | | | permission checking for sensors This reverts commit 4369a4ebd5ae7567e7075bc82830b83178099ed5. Change-Id: Ifa8619cc6873470a07a987763d818d78d4232610
| * | Revert "Add stringType and requiredPermission to sensors, effectively adding ↵Etienne Le Grand2014-04-051-126/+32
| | | | | | | | | | | | | | | | | | | | | | | | permission checking for sensors" This reverts commit c57a019e117117c5a76c772970b26cd0f5db8c6a. Change-Id: I3540565bc3e56a32cf3b176a29216cf68bb763b2
| * | Add stringType and requiredPermission to sensors, effectively adding ↵Etienne Le Grand2014-04-041-32/+126
| | | | | | | | | | | | | | | | | | permission checking for sensors Change-Id: If0f3dbdb5d2e9378e1fed4614baee4e750d0c850
* | | Always release a bufferAndy McFadden2014-04-041-2/+12
|/ / | | | | | | | | | | | | | | | | In GLConsumer's updateAndReleaseLocked(), we must release either the previously-acquired buffer or the newly-acquired buffer. Bug 13755224 Change-Id: I96adc255400ed008ba6e6ac1725ab3514c7cc8ba
* | Allow "opaque" flag to be updated. DO NOT MERGEAndy McFadden2014-02-181-1/+6
| | | | | | | | | | | | | | | | | | Moves the "opaque layer" from Layer to Layer::State. This allows it to be updated as part of a transaction. Bug 12387406 Change-Id: I0a114ce6adf77cd12fb08f96e0691b76c475768d
* | am 85075869: Wait for buffers to drainAndy McFadden2013-10-181-17/+30
|\ \ | |/ | | | | | | * commit '8507586903fa803abf535853a169913f2cf2e555': Wait for buffers to drain
| * Wait for buffers to drainAndy McFadden2013-10-181-17/+30
| | | | | | | | | | | | | | | | | | | | | | When a BufferQueue producer disconnects and reconnects, we retain the previously-queued buffers but empty the slots. This allows the number of queued buffers to grow without limit. The low-memory killer does not approve. Bug 11069934 Change-Id: Ia2eaa954c7a3904b54209a3701dba01689e204d8
* | am 5d6aa951: Merge "Change API from flush(handle) to flush(). Call flush on ↵Aravind Akella2013-10-102-6/+4
|\ \ | |/ | | | | | | | | | | all active sensors in the given SensorEventConnection." into klp-dev * commit '5d6aa95129a13aae37a60b3e4246a0592dab396d': Change API from flush(handle) to flush(). Call flush on all active sensors in the given SensorEventConnection.
| * Change API from flush(handle) to flush(). Call flush on all active sensors ↵Aravind Akella2013-10-092-6/+4
| | | | | | | | | | | | in the given SensorEventConnection. Change-Id: I4ef2bec80406c517903ab9782dc9eaf3fa8b7f36
* | am f0cf5f10: BufferQueue: fix a test crashJamie Gennis2013-10-021-5/+9
|\ \ | |/ | | | | | | * commit 'f0cf5f103cf9c54d59de4ed6f1d8ddd2302dec1b': BufferQueue: fix a test crash
| * BufferQueue: fix a test crashJamie Gennis2013-10-021-5/+9
| | | | | | | | | | Bug: 10935880 Change-Id: If76e9fb055103bad0db7e6c16487532671573149
* | am a9c47f32: Merge "GLConsumer: start using EGL_ANDROID_image_crop" into klp-devJamie Gennis2013-10-021-63/+124
|\ \ | |/ | | | | | | * commit 'a9c47f327373cbe48e187442c7f9554d24a75c08': GLConsumer: start using EGL_ANDROID_image_crop
| * GLConsumer: start using EGL_ANDROID_image_cropJamie Gennis2013-10-021-63/+124
| | | | | | | | | | | | | | | | | | | | This change makes GLConsumer use the EGL_ANDROID_image_crop extension when available on a device. The crop rectangle is passed to the EGL driver when creating EGLImages, allowing the crop to be performed by the driver rather than using the texture transform matrix. Bug: 10897141 Change-Id: I63e9a5d5c85067376abc420e3639154468346311
* | am d171da97: GLConsumer: Add query for current frame number.Eino-Ville Talvala2013-09-191-0/+8
|\ \ | |/ | | | | | | * commit 'd171da973de3c6b30263011334fdcd916739144f': GLConsumer: Add query for current frame number.
| * GLConsumer: Add query for current frame number.Eino-Ville Talvala2013-09-191-0/+8
| | | | | | | | | | | | | | Surface the underlying frame number of the current texture. Bug: 10830400 Change-Id: Ide3a7da12ea0aac54588beb6bf00dbfe2cd37653
* | am c1c05de4: fix camera API 2.0 orientationMathias Agopian2013-09-182-3/+8
|\ \ | |/ | | | | | | * commit 'c1c05de415854eb7a13a16b7e22a22de8515123a': fix camera API 2.0 orientation
| * fix camera API 2.0 orientationMathias Agopian2013-09-172-3/+8
| | | | | | | | | | | | | | | | | | 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
* | am 799f5126: Fix build (tests)Mathias Agopian2013-09-171-1/+1
|\ \ | |/ | | | | | | * commit '799f51268006f319f6ae538dca670bfc7f522688': Fix build (tests)
| * Fix build (tests)Mathias Agopian2013-09-171-1/+1
| | | | | | | | Change-Id: I5b233ef448e5e7eec3818c6586dfea138b28f7b6
* | am 02b62df7: Merge "Make sure do disconnect from a BQ when its client dies." ↵Mathias Agopian2013-09-173-7/+37
|\ \ | |/ | | | | | | | | | | into klp-dev * commit '02b62df7119b27c89d91d96938d8f4f5232b296b': Make sure do disconnect from a BQ when its client dies.
| * Merge "Make sure do disconnect from a BQ when its client dies." into klp-devMathias Agopian2013-09-173-7/+37
| |\
| | * Make sure do disconnect from a BQ when its client dies.Mathias Agopian2013-09-163-7/+37
| | | | | | | | | | | | | | | | | | Bug: 5679534 Change-Id: If447e8673df83fe0b1d6210641e0a48522501a53
* | | am 2a36497e: Merge "Stop using default value for Surface ↵Jesse Hall2013-09-161-5/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | producerControlledByApp parameter" into klp-dev * commit '2a36497e45d4d96e35fed89cfdcb09b71459ac3c': Stop using default value for Surface producerControlledByApp parameter
| * | Stop using default value for Surface producerControlledByApp parameterJesse Hall2013-09-161-5/+7
| |/ | | | | | | | | Bug: 10785749 Change-Id: Ifbf9340e5eabe621a69e990ec3e05ac51f8db66a
* | resolved conflicts for merge of 1852eb4f to klp-dev-plus-aospKenny Root2013-09-121-1/+0
|\ \ | | | | | | | | | Change-Id: I7217c0e859b384a042c02fe339e745996c6ef49e
| * | Remove copy of UniquePtr.hKenny Root2013-09-111-1/+0
| | | | | | | | | | | | | | | | | | | | | 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
* | | am 90ed3e8d: fix a few problems with BitTubeMathias Agopian2013-09-112-58/+68
|\ \ \ | | |/ | |/| | | | | | | * commit '90ed3e8d7883d9c80fb8bf11b1c593bd8b2b39d0': fix a few problems with BitTube
| * | fix a few problems with BitTubeMathias Agopian2013-09-102-58/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am a5552de9: Merge "Sensor batching. Changes to the native code." into klp-devAravind Akella2013-09-033-16/+63
|\ \ \ | |/ / | | | | | | | | | * commit 'a5552de96f0cff9fb1947d8d21556bfeccf9cd03': Sensor batching. Changes to the native code.
| * | Sensor batching. Changes to the native code.Aravind Akella2013-09-033-16/+63
| | | | | | | | | | | | | | | Bug: 10109508 Change-Id: I7333f3aac76125a8226a4c99c901fb904588df04
* | | am 87967c18: Merge "Force async behavior for the virtual display output ↵Jesse Hall2013-08-301-2/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | BufferQueue" into klp-dev * commit '87967c186995d1500875c495cba8f04f7cff76cc': Force async behavior for the virtual display output BufferQueue
| * | Force async behavior for the virtual display output BufferQueueJesse Hall2013-08-291-2/+4
| | | | | | | | | | | | | | | Bug: 10551087 Change-Id: I40bbb2b87d64420939a0ea309254f281437dab56
* | | am b6aea00c: Merge "Surface: Fix controlledByApp parameter" into klp-devEino-Ville Talvala2013-08-221-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'b6aea00c7843705fdc6d265d7e15b3df52e86009': Surface: Fix controlledByApp parameter
| * | Surface: Fix controlledByApp parameterEino-Ville Talvala2013-08-211-1/+1
| | | | | | | | | | | | | | | Bug: 10425641 Change-Id: I1a47e2ce4ecbdb8e67030a5d9ddf6604c5e2497d
* | | am 8b308ed7: Fix buildAndy McFadden2013-08-191-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '8b308ed70ed782f68c8075aac2a6b66bbfcdb9af': Fix build
| * | Fix buildAndy McFadden2013-08-191-1/+1
| | | | | | | | | | | | | | | | | | Neglected the "checkbuild"-built tests. Change-Id: I202692f1a6d1e306c88e820c959d07d16e7c6a00
* | | am 90f59bf9: Merge "Re-enable frame dropping for non-auto timestamps" into ↵Andy McFadden2013-08-194-4/+22
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-dev * commit '90f59bf9eba79b27629505bc2709d84e7c811c8b': Re-enable frame dropping for non-auto timestamps
| * | Re-enable frame dropping for non-auto timestampsAndy McFadden2013-08-164-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an entire field to note whether the timestamp was auto-generated by Surface or supplied by the application. The value is used when deciding whether or not to drop frames based on buffer presentation timestamps. If a desired presentation time was set explicitly, BufferQueue will use that value to decide if a frame should be dropped. If the timestamp was generated by Surface at the time the buffer was queued, the timestamp is ignored. Bug 10151804 Change-Id: Ibd571a7578351063b813cbdad2ddbeed70655ba5
* | | am e60a0b1e: Merge "gui: CpuConsumer::lockNextBuffer change return code when ↵Igor Murashkin2013-08-161-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | too many bufs acquired" into klp-dev * commit 'e60a0b1e6a29d79b4d0ec0374446cb829bcadee4': gui: CpuConsumer::lockNextBuffer change return code when too many bufs acquired
| * | gui: CpuConsumer::lockNextBuffer change return code when too many bufs acquiredIgor Murashkin2013-08-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Return NOT_ENOUGH_DATA instead of INVALID_OPERATION when too many buffers have already been locked. - INVALID_OPERATION is nominally used when something irrecoverable happens, but in this case the client just needs to call unlockBuffer to go back into a good state. Bug: 10333400 Change-Id: I3a034d77de85741429f832a90eedd670afa1dc94
* | | am c6bae007: Fix build. optional tests were broken.Mathias Agopian2013-08-141-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit 'c6bae007e6e29b585fc1207f84b378a480006173': Fix build. optional tests were broken.
| * | Fix build. optional tests were broken.Mathias Agopian2013-08-141-0/+3
| | | | | | | | | | | | Change-Id: Iba9f5cb57f134559e1f9c55e293578d9f5d8cb96
* | | am 56f825e7: Merge "SurfaceFlinger now uses GLES 2.x when available" into ↵Mathias Agopian2013-08-141-5/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | klp-dev * commit '56f825e7ab9f83706a74dcd4825c7bc839e49ae4': SurfaceFlinger now uses GLES 2.x when available
| * | SurfaceFlinger now uses GLES 2.x when availableMathias Agopian2013-08-131-5/+5
| | | | | | | | | | | | | | | | | | Bug: 8679321 Change-Id: I2b152d01fb4e2de2ea9fe87f1ddbd6826d7520d7