summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "GenerationCache::get would return a random value instead of NULL Bug ↵Romain Guy2011-12-081-2/+4
|\ \ | | | | | | | | | #5401917"
| * | GenerationCache::get would return a random value instead of NULLRomain Guy2011-12-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug #5401917 This was causing a ton of random crashes in apps. Change-Id: I9069a060824ec89115cd3bcd38beaeb9ecc4488e
* | | Improve the VSYNC api a bit.Mathias Agopian2011-12-062-0/+32
|/ / | | | | | | | | | | | | | | | | | | | | - add the ability to set the vsync delivery rate, when the rate is set to N>1 (ie: receive every N vsync), SF process' is woken up for all of vsync, but clients only see the every N events. - add the concept of one-shot vsync events, with a call-back to request the next one. currently the call-back is a binder IPC. Change-Id: I09f71df0b0ba0d88ed997645e2e2497d553c9a1b
* | am 55d3880e: am bb1e7d43: Merge changes I7e973a35,Ib3386fcc into ics-mr1Mathias Agopian2011-11-301-4/+22
|\ \ | |/ | | | | | | | | * commit '55d3880eed3450748eb7b97281e030902ee29c2a': SurfaceTexture: add EGL_KHR_fence_sync option SurfaceTexture: add a blit-to-FBO test
| * Merge changes I7e973a35,Ib3386fcc into ics-mr1Mathias Agopian2011-11-291-4/+22
| |\ | | | | | | | | | | | | | | | * changes: SurfaceTexture: add EGL_KHR_fence_sync option SurfaceTexture: add a blit-to-FBO test
| | * SurfaceTexture: add EGL_KHR_fence_sync optionJamie Gennis2011-11-291-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | This change adds a compile-time option for SurfaceTexture to use the EGL_KHR_fence_sync extension to synchronize access to Gralloc buffers. Bug: 5122031 Change-Id: I7e973a358631fff5308acf377581b811911fe790
* | | am c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage ↵Jamie Gennis2011-11-301-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | bit" into ics-mr1 * commit 'c040e1e77923d81050f2d3dbdac5d07e01be72f6': SurfaceMediaSource: use the vid enc usage bit
| * | Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1Jamie Gennis2011-11-291-0/+1
| |\ \
| | * | SurfaceMediaSource: use the vid enc usage bitJamie Gennis2011-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when allocating its GraphicBuffers rather than the HW_TEXTURE bit. Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb
* | | | am 52607c53: am d12dc284: Merge "If an error occurs that prevents us from ↵Andreas Huber2011-11-291-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | reallocating buffers during a format change" into ics-mr1 * commit '52607c5364446df6ac5b2f55cb50e146e6023a4f': If an error occurs that prevents us from reallocating buffers during a format change
| * | | Merge "If an error occurs that prevents us from reallocating buffers during ↵Andreas Huber2011-11-291-0/+2
| |\ \ \ | | | | | | | | | | | | | | | a format change" into ics-mr1
| | * | | If an error occurs that prevents us from reallocating buffers during a ↵Andreas Huber2011-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | format change we need to transition to executing state anyway to be able to properly flush/shutdown in the future. Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f related-to-bug: 5655016
* | | | | am 074133b2: am 351143fb: Merge "Updated (internal) API for IStreamSource to ↵Andreas Huber2011-11-291-6/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | signal discontinuities" into ics-mr1 * commit '074133b260f8d12e484e93b9aa5a33a4983b7349': Updated (internal) API for IStreamSource to signal discontinuities
| * | | | Merge "Updated (internal) API for IStreamSource to signal discontinuities" ↵Andreas Huber2011-11-291-6/+11
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | into ics-mr1
| | * | | Updated (internal) API for IStreamSource to signal discontinuitiesAndreas Huber2011-11-291-6/+11
| | |/ / | | | | | | | | | | | | | | | | Change-Id: Idd4b9d8e7cec16b3e3c91c70e75144d42be30f96 related-to-bug: 5553055
* | | | am c339fe30: am be6ab576: Merge "Fix application launch shortcuts." into ics-mr1Jeff Brown2011-11-291-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'c339fe302bc5083f0a110569eec06676be511088': Fix application launch shortcuts.
| * | | Fix application launch shortcuts.Jeff Brown2011-11-291-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved quick launch bookmarks to support category-based shortcuts instead of hardcoding package and class names for all apps. Added a set of Intent categories for typical applications on the platform. Added support for some of the HID application launch usages to reduce reliance on quick launch for special purpose keys. Some keyboard vendors have hardcoded launch keys that synthesize "Search + X" type key combos. The goal is to encourage them to stop doing this by implementing more of HID. Bug: 5674723 Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593
* | | Add support for sending VSYNC events to the frameworkMathias Agopian2011-11-293-1/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | use gui/DisplayEvent to receive the events. Events are dispatched through a unix pipe, so the API is compatible with utils/Looper. see gui/DisplayEvent.h for more info. Bug: 1475048 Change-Id: Ia720f64d1b950328b47b22c6a86042e481d35f09
* | | Fix build.Mathias Agopian2011-11-291-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | Revert "Add support for sending VSYNC events to the framework" This reverts commit f3918c5bd4bc9f02f74da42995564150ca2dd382. Change-Id: I998e3e1aa3fa310829ae973b64fe11b01f6f468f
* | | Add support for sending VSYNC events to the frameworkMathias Agopian2011-11-291-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | use gui/DisplayEvent to receive the events. Events are dispatched through a unix pipe, so the API is compatible with utils/Looper. see gui/DisplayEvent.h for more info. Bug: 1475048 Change-Id: If4126023fc9c067e56087ec7d16a8fd542ce1794
* | | split ComposerService out of SurfaceComposerClient.hMathias Agopian2011-11-282-21/+54
| | | | | | | | | | | | Change-Id: I1eb691f7ca263d5895d871ab675bb5826e0323c6
* | | Merge "Make AudioTrack a RefBase so wrappers not needed"Glenn Kasten2011-11-281-1/+1
|\ \ \
| * | | Make AudioTrack a RefBase so wrappers not neededGlenn Kasten2011-11-151-1/+1
| | | | | | | | | | | | | | | | Change-Id: I2305abe586ac41251af04a194bc818c110a1b293
* | | | Use sized integer typedefs in hash_type specializations.Jeff Brown2011-11-241-8/+8
| | | | | | | | | | | | | | | | Change-Id: I3f9e004db2f3be1cb43a885c3ae142f251fd6845
* | | | Add a basic hashtable data structure, with tests!Jeff Brown2011-11-222-0/+437
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The basic hashtable is intended to be used to support a variety of different datastructures such as map, set, multimap, multiset, linkedmap, generationcache, etc. Consequently its interface is fairly primitive. The basic hashtable supports copy-on-write style functionality using SharedBuffer. The change introduces a simple generic function in TypeHelpers for specifying hash functions. The idea is to add template specializations of hash_type<T> next to the relevant data structures such as String8, String16, sp<T>, etc. Change-Id: I2c479229e9d4527b4fbfe3b8b04776a2fd32c973
* | | | am 31626b30: am cb6fbc89: Merge "Report a runtime error instead of asserting ↵Andreas Huber2011-11-221-0/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | on malformed avc configuration data." into ics-mr1 * commit '31626b3075335f4cf579342e99436bb45870cf55': Report a runtime error instead of asserting on malformed avc configuration data.
| * | | 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
* | | | | am d0a25456: am 02740dc4: Merge "Fix log spamming during time lapse video ↵James Dong2011-11-212-4/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | recording" into ics-mr1 * commit 'd0a254566f5f0be5607b4d64839a575c888c94f6': Fix log spamming during time lapse video recording
| * | | | 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
* | | | | am c2597295: am 53cf2020: Merge changes I37fd43b5,I91eb29db,I0491ce35 into ↵Jamie Gennis2011-11-211-0/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ics-mr1 * commit 'c25972950c2ea62fb085524dbe737c2bf0f08f4a': SurfaceTexture: fix a couple tests EGL: default to swap interval 1 SurfaceTexture: clean up some tests
| * | | | 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
* | | | am d0df44b5: am 4d71053b: Merge "attempt to fix bug 5313580" into ics-mr1Mathias Agopian2011-11-181-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'd0df44b5c979e00a19187cea35768ba26557e447': attempt to fix bug 5313580
| * | | 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 "JetPlayer uses C++ Thread not createThreadEtc"Glenn Kasten2011-11-171-1/+22
|\ \ \
| * | | JetPlayer uses C++ Thread not createThreadEtcGlenn Kasten2011-11-161-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | This permits leveraging future improvements to Thread. Change-Id: I60deed8565ed54f13d9f770c76504e411b154276
* | | | am 7765fc65: am fd6b64f6: Merge "SurfaceTexture: Fix to return the oldest of ↵Jamie Gennis2011-11-171-1/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | free buffers to Client on Dequeue call" into ics-mr1 * commit '7765fc651a9519dd2f0ac9d3374a50e9865c5c99': SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call
| * | | 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>
* | | | | Bug 4903178 Restore priority and cgroup on stopGlenn Kasten2011-11-162-0/+4
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On AudioTrack and AudioRecord stop or failed start, restore the priority and cgroup of the caller to their previous values, rather than forcing to NORMAL. Dependent on new thread APIs. Also fixes bug where priority was set to AUDIO but cgroup not set. Change-Id: Ib83893918fb4fdf57c6b87884b51038997a631d8
* | | | am 4c0e0dd2: am 3e7497b4: Merge "Eliminate hw.keyboards system properties." ↵Jeff Brown2011-11-153-19/+4
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | into ics-mr1 * commit '4c0e0dd29dcce33e7521b11d01d21d9431f3b264': Eliminate hw.keyboards system properties.
| * | 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
* | | am 716747f7: am 481ffa50: Merge "Fix for issue 5309336 -add videoeditor ↵Hong Teng2011-11-151-5/+15
|\ \ \ | |/ / | | | | | | | | | | | | | | | maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1 * commit '716747f7cb29b45e41c2870f12d39095f4ed80c8': Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.
| * | 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
* | | Merge "Clean up GenerationCache."Jeff Brown2011-11-141-59/+49
|\ \ \
| * | | Clean up GenerationCache.Jeff Brown2011-11-111-59/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use const references to keys and values where appropriate to avoid copying them unnecessarily. Deleted some dead code. Simplified a few pieces that were doing unnecessary redundant work. Change-Id: Ib2145b7094a40db2d679e05dafe050fe1e87b846
* | | | am 738d8cae: am c93a151f: Merge "Define, document, and test the behavior of ↵Mathias Agopian2011-11-141-2/+10
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | very large SurfaceTextures" into ics-mr1 * commit '738d8cae2239d194429676f2889cfae3c8f7ba08': Define, document, and test the behavior of very large SurfaceTextures