summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Report a runtime error instead of asserting on malformed avc ↵Andreas Huber2011-11-221-0/+4
|\ | | | | | | configuration data." into ics-mr1
| * Report a runtime error instead of asserting on malformed avc configuration data.Andreas Huber2011-11-181-0/+4
| | | | | | | | | | Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845 related-to-bug: 5641069
* | Merge "Fix log spamming during time lapse video recording" into ics-mr1James Dong2011-11-212-4/+3
|\ \
| * | Fix log spamming during time lapse video recordingJames Dong2011-11-212-4/+3
| | | | | | | | | | | | | | | | | | Change-Id: I4fc0809203684ebb02eaf217d7abad00aefc898f related-to-bug: 5626569
* | | EGL: default to swap interval 1Jamie Gennis2011-11-211-0/+4
|/ / | | | | | | | | | | | | This change explicitly sets swap interval 1 on the window when an EGLSurface is created to render to it. Change-Id: I91eb29dbee3ae4a55076b921f084d503fbe94e03
* | attempt to fix bug 5313580Mathias Agopian2011-11-171-0/+1
|/ | | | | | | | | | | | | | the working theory here is that a Surface object has become non-promotable because it lost its last reference; later Surface::readFromParcel is called the previous surface is found in the cache, but can't be promoted. this causes a new Surface object to be created which will promptly try to connect to the CPU_API -- this in turn will fail because the previous (now dead) surface is still connected. To fix this, we make sure to disconnect from the SurfaceTexture when Surface[TextureClient] is destroyed. Change-Id: I422234868a05d7b7d283e9d5a85f7ab79e65d8a9
* Merge "SurfaceTexture: Fix to return the oldest of free buffers to Client on ↵Jamie Gennis2011-11-161-1/+12
|\ | | | | | | Dequeue call" into ics-mr1
| * SurfaceTexture: Fix to return the oldest of free buffers to Client on ↵Sunita Nadampalli2011-11-151-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dequeue call Surface Texture dequeue logic is modified to return the oldest of the free buffers to Client on dequeue call. Currently dequeue method is returning the first buffer index which is free. The parsing is done in ascending order of the buffer slot indices. This leads to returning the buffer which has been just queued to composer, and hence display, and this defeats the purpose of having minimum dequeue count as 2 in asynchrnouse mode. This is fixed by checking all the free slots and returning the oldest buffer. Change-Id: Ibbac10593c3994c278c601af0480b171635ecdd4 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
* | Merge "Eliminate hw.keyboards system properties." into ics-mr1Jeff Brown2011-11-153-19/+4
|\ \
| * | Eliminate hw.keyboards system properties.Jeff Brown2011-11-153-19/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | Stop using system properties to publish information about the key character map path. Instead, we can retrieve it on demand by asking the window manager. It was possible to exhaust the supply of system properties when repeatedly adding and removing input devices. Bug: 5532806 Change-Id: Idd361a24ad7db2edc185c8546db7fb05f9c28669
* | Merge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames ↵Hong Teng2011-11-151-5/+15
|\ \ | |/ |/| | | in media_profiles.xml to limit the total memory usage." into ics-mr1
| * Fix for issue 5309336Hong Teng2011-11-141-5/+15
| | | | | | | | | | | | -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage. Change-Id: I41ffbc192fcce4c7635e5b0a1f2835852e5ee509
* | Define, document, and test the behavior of very large SurfaceTexturesMathias Agopian2011-11-111-2/+10
| | | | | | | | | | | | | | | | | | updateTexImage() now throws a runtime exception when its native counterpart fails Bug: 5506633 Change-Id: I151a6f685d465966e7df4df624412ab2da62e95f
* | Add support for retrieving location information in mp4/3gpp filesJames Dong2011-11-102-0/+2
|/ | | | | Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687 related-to-bug: 5560253
* Merge "Remove surface legacy APIs and code." into ics-mr1Andreas Huber2011-11-083-5/+0
|\
| * Remove surface legacy APIs and code.Andreas Huber2011-10-283-5/+0
| | | | | | | | | | | | All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
* | am 5462bc63: Fix a leak in Parcel::writeBlob.Jeff Brown2011-11-051-1/+2
|\ \ | | | | | | | | | | | | * commit '5462bc6318b4b70e7a58c66994e2bd79f59d9739': Fix a leak in Parcel::writeBlob.
| * | Fix a leak in Parcel::writeBlob.Jeff Brown2011-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was mistakenly assuming that Parcel::writeFileDescriptor took ownership of the fd that was passed in. It does not! Added some comments and a default parameter to allow the caller to specify whether it wishes the Parcel to take ownership. Bug: 5563374 Change-Id: I5a12f51d582bf246ce90133cce7690bb9bca93f6
* | | Merge changes Ibc99cb1c,Ie1f4f6f8 into ics-mr1Jamie Gennis2011-11-031-20/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: BlobCache: implement cache serialization BlobCache: remove the mutex locking
| * | | BlobCache: implement cache serializationJamie Gennis2011-10-311-12/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds serialization and deserialization functionality to BlobCache, conforming to the Flattenable interface. Change-Id: Ibc99cb1c3d015f363d57d0713eabccec07ff975e
| * | | BlobCache: remove the mutex lockingJamie Gennis2011-10-311-8/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the mutex from the BlobCache class. The caller must be responsible for thread synchronization in order to properly implement the Flattenable interface, which is coming soon. Otherwise would be the potential for the cache contents to change between the call to the getFlattenedSize and flatten methods. Because the caller must do this synchronization anyway there's no reason to also some synchronization inside BlobCache. Change-Id: Ie1f4f6f82b78744f46a41ce863cac0cad276a20e
* | | am 4b6353ea: Merge "Update camera continuous autofocus javadoc." into ics-mr0Chih-Chung Chang2011-11-011-9/+11
|\ \ \ | |/ / |/| / | |/ | | * commit '4b6353ea0265bfed52d0637abd1b17596ce25ff0': Update camera continuous autofocus javadoc.
| * Merge "Update camera continuous autofocus javadoc." into ics-mr0Chih-Chung Chang2011-10-311-9/+11
| |\
| | * Update camera continuous autofocus javadoc.Wu-cheng Li2011-10-281-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose applications call autoFocus in CAF picture mode. If CAF is in the middle of scanning, the picture is very likely to be blurry. Change focus callback to return when the scanning finishes. bug:5514415 Change-Id: Ibcb8f92a5263d7dbd7cce54df3617fb21c6255d4
* | | am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ↵Jamie Gennis2011-10-281-3/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr0 * commit '08479ceeba56c460fb52f60a24df27776f1936c3': Stagefright: ANW::connect in MediaPlayerService
| * | Stagefright: ANW::connect in MediaPlayerServiceJamie Gennis2011-10-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | This change moves the ANativeWindow connect and disconnect logic from MediaPlayer to MediaPlayerService::Client. Bug: 5502654 Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d
* | | am b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ↵Jamie Gennis2011-10-261-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr0 * commit 'b7b4eaaa05284634d50d581d924a250f1194f66d': Stagefright: push blank buffers when tearing down
| * | Stagefright: push blank buffers when tearing downJamie Gennis2011-10-251-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | This change makes OMXCodec push RGB 565 buffers filled with black to an ANativeWindow when tearing down after decoding to protected gralloc buffers. This allows the OMX tear down to zero out any protected buffers that were used without the possibility that the buffer is still being used by SurfaceFlinger or HWComposer. Bug: 5483222 Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560
* | am 23d64420: Merge "Stagefright: idle OMX after ANW errors" into ics-mr0Dave Burke2011-10-191-0/+3
|\ \ | |/ | | | | | | * commit '23d644202a44383bf008ff86f6faa3ea7e447290': Stagefright: idle OMX after ANW errors
| * Merge "Stagefright: idle OMX after ANW errors" into ics-mr0Dave Burke2011-10-191-0/+3
| |\
| | * Stagefright: idle OMX after ANW errorsJamie Gennis2011-10-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes an issue in Stagefright where the state of an OMXCodec object can get out of sync with the state of the OMX component. In particular, if one of the ANativeWindow functions failed and put the OMXCodec into the ERROR state, this would cause Stagefright to skip doing the Executing -> Idle transition. Without this transition the freeBuffersOnPort call would never be made, and the MediaBuffers would end up being leaked (which would also leak the Gralloc buffers they reference). Bug: 5333695 Change-Id: I85ea0cf92d18e7ef6d35c7d1e2a7b4e2c9745d34
* | | am 70ac412b: Merge "Add a LayerScreenshot" into ics-mr0Dave Burke2011-10-181-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '70ac412b2fe7be2507189a9fdfb30c43b36d56ac': Add a LayerScreenshot
| * | Add a LayerScreenshotMathias Agopian2011-10-181-0/+1
| |/ | | | | | | | | | | | | | | | | | | A LayerScreenshot is a special type of layer that contains a screenshot of the screen acquired when its created. It works just like LayerDim. Make sure to call compositionComplete() after rendering into a FBO. Bug: 5446982, 5467587, 5466259 Change-Id: I5d8a1b4c327f9973d950cd4f4c0bca7f62825cd4
* | am 9a0732af: Merge "SensorManager reconnects to sensor service when the ↵Mathias Agopian2011-10-171-4/+16
|\ \ | |/ | | | | | | | | | | later dies" into ics-mr0 * commit '9a0732af1bd96a7d8247dee124a7da389137a52f': SensorManager reconnects to sensor service when the later dies
| * Merge "SensorManager reconnects to sensor service when the later dies" into ↵Mathias Agopian2011-10-171-4/+16
| |\ | | | | | | | | | ics-mr0
| | * SensorManager reconnects to sensor service when the later diesMathias Agopian2011-10-161-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | if system process ever restarted, processes using a SensorManager would loose the ability to use it, resulting to a crash. we now listen for sensor service death and reconnected if necessary. Bug: 5445240 Change-Id: Ia47f8b26cdcecb729fa22bf11d55e10fcaef8cfc
* | | am 840b8a67: Revert "Add a LayerScreenshot"Mathias Agopian2011-10-171-1/+0
|\ \ \ | |/ / | | | | | | | | | * commit '840b8a678537519c27ddf2f818494eaa20a135d4': Revert "Add a LayerScreenshot"
| * | Revert "Add a LayerScreenshot"Mathias Agopian2011-10-161-1/+0
| |/ | | | | | | This reverts commit d6809f40cf61203573ec5dbc437f695cd132cc18.
* | Merge branch 'master' of ssh://android-git:29418/platform/frameworks/baseElliott Hughes2011-10-172-5/+7
|\ \
| * \ Merge changes I4e5ff00c,Id5e3ca1d,I97cbba61Jamie Gennis2011-10-172-5/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: SurfaceFlinger: Remove display freezing code SurfaceFlinger: add some layer update tests SurfaceFlinger: make sync transactions explicit
| | * | SurfaceFlinger: Remove display freezing codeJamie Gennis2011-10-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the dead code from SurfaceFlinger that resulted from disabling support for freezing the display. Change-Id: I4e5ff00c94b4c7a79af2f65c9850c135210068ed
| | * | SurfaceFlinger: make sync transactions explicitJamie Gennis2011-10-142-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables a layer or orientation update transaction sent to SurfaceFlinger to explicitly request a synchronous transaction. Change-Id: I97cbba610c13679849f66114b216fa6dbf12f2a9
* | | | am 57337eb7: Merge "Add a LayerScreenshot" into ics-mr0Mathias Agopian2011-10-171-0/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| * commit '57337eb78e65c160fb9c46a01e04c476d1bfdca1': Add a LayerScreenshot
| * | Add a LayerScreenshotMathias Agopian2011-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | A LayerScreenshot is a special type of layer that contains a screenshot of the screen acquired when its created. It works just like LayerDim. Bug: 5446982 Change-Id: I7814aff2380e7e146937f2b641907be2a30c76cc
* | | Merge "Deprecate local-only CursorWindows."Jeff Brown2011-10-141-2/+1
|\ \ \ | |_|/ |/| |
| * | Deprecate local-only CursorWindows.Jeff Brown2011-10-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no difference and has never really been a difference between local-only and remotable CursorWindows. By removing the distinction officially in the API, we will make it easier to implement CrossProcessCursor correctly. CrossProcessCursor is problematic currently because it's not clear whether a call to getWindow() will return a local-only window or a remotable window. As a result, the bulk cursor adaptor has special case handling for AbstractWindowedCursors vs. ordinary CrossProcessCursors so that it can set a remotable window before the cursor fills it. All these problems go away if we just forget about local-only windows being special in any way. Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
* | | Merge "Support for an MPEG2 Program Stream extractor."Andreas Huber2011-10-131-1/+4
|\ \ \
| * | | Support for an MPEG2 Program Stream extractor.Andreas Huber2011-09-301-1/+4
| | | | | | | | | | | | | | | | Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
* | | | am 514a6cfb: Merge "Improve camera javadoc and fix some errors." into ics-mr0Wu-cheng Li2011-10-121-10/+21
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| * commit '514a6cfb7f7085b266f457155ff63373d2dff8ee': Improve camera javadoc and fix some errors.
| * | Improve camera javadoc and fix some errors.Wu-cheng Li2011-10-131-10/+21
| | | | | | | | | | | | | | | bug:5169599 Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d