summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* native: Add custom 32-aligned NV12 colorformatvivek mehta2013-03-301-0/+1
| | | | | | - Add color format which is NV12 + 32 aligned stride and slice Change-Id: Iea804c2642ffad98890cbfe2979d56443f07ffdc
* libgui: Add support to update buffer geometry.Ramkumar Radhakrishnan2013-03-105-0/+42
| | | | | | | | | Add native window properties NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY to the perform function of SurfaceTextureClient and SurfaceTexture to update the width, height and format of the buffer dynamically from the client before queue buffer call. Change-Id: I62447fcf523b507d534085cd0835f55a978c4ead
* Add support for custom buffer sizes.Ramkumar Radhakrishnan2013-03-106-3/+51
| | | | | | | | Add native window properties NATIVE_WINDOW_SET_BUFFERS_SIZE to the perform function of SurfaceTextureClient to set the user defined size of graphic buffers. Change-Id: I1dc2203990a3641fbb9ddab9a86f7e9017f05270
* Merge tag 'android-4.2.2_r1' of ↵Steve Kondik2013-02-152-0/+3
|\ | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/native into 1.1 Android 4.2.2 release 1 Conflicts: libs/ui/GraphicBufferAllocator.cpp Change-Id: Id60a6580bf5a3ba04f8e1e2b1b950e0b93888166
| * DO NOT MERGE GraphicBufferAllocator: make frees asyncJamie Gennis2012-12-071-0/+1
| | | | | | | | | | | | | | | | | | This change makes GraphicBufferAllocator::free queue a job to another thread to perform the actual free operation. This prevents potentially slow free operations from blocking rendering. Bug: 7675940 Change-Id: Id61099d66bb4c3949d04184e0d7f192ac18076b4
| * Reduce emulator logspamAndy McFadden2012-11-081-0/+2
| | | | | | | | | | | | | | | | | | The emulator doesn't support systrace, but we should point that out at most once per process. Bug 7436352 Change-Id: I06b2c1ea0df6c02c11cd2496423c337f8d7c62a1
* | SurfaceComposerClient: bring back getDisplayWidth, Height & OrientationChirayu Desai2013-01-261-0/+6
| | | | | | | | | | | | enable it with either ICS_CAMERA_BLOB or MR0_CAMERA_BLOB CFLAG Change-Id: Ieb5d36ad2a87ed1f0aa28ae3afbd5d48c880d6ab
* | ui/sf: Add support for exynos HDMIRicardo Cerqueira2012-12-301-0/+10
| | | | | | | | Change-Id: I27b34e95c04750e3dd321a2183b6cc1d89f29b5d
* | Add setOrientation backBumble-Bee2012-12-141-0/+2
| | | | | | | | this is needed for some tegra ICS and JB_MR0 prebuilts
* | binder: Add MemoryHeapBaseIoncodeworkx2012-12-112-1/+53
| | | | | | | | | | | | | | Source: http://git.insignal.co.kr/samsung/exynos/android/platform/frameworks/native/commit/?h=exynos-jb&id=dc4cd25cc41e4358debd0c7d1a2706d208a58df6 Change-Id: Ib06cc37a2a25c78a061ee2bad48eec2d01b07833
* | Merge "exynos4: ui: define USAGE_HW_FIMC1 to support gralloc" into mr1-stagingDaniel Hillenbrand2012-11-262-2/+8
|\ \
| * | exynos4: ui: define USAGE_HW_FIMC1 to support gralloccodeworkx2012-11-252-2/+8
| | | | | | | | | | | | | | | | | | | | | Source: http://git.insignal.co.kr/samsung/exynos/android/platform/frameworks/native/commit/?h=exynos-jb&id=5179fef67cadaa10d72cfe6764629565bc9a1e4e Change-Id: Id194446eb332869f677dfb7e94c73aa3f52ee4b0
* | | ui: exynos4: getphys is commoncodeworkx2012-11-261-1/+1
| | | | | | | | | | | | Change-Id: I1dc9c2ced0700072e7c30c8435676873b10c7026
* | | Revert "Revert "Compatibility work around for bad graphics driver dependency.""Ricardo Cerqueira2012-11-251-0/+4
|/ / | | | | | | | | | | This reverts commit 38b657265ccc5ae45bd7860a68b0d9373b47a2f3. Change-Id: If350d73839f1ed5e01af4299d44837e619d14d66
* | exynos4: getphys implementation on buffermanager for samsung omxcodeworkx2012-11-242-2/+6
| | | | | | | | Change-Id: Iee665f56aaf601479d796703db983ca5fce9c5c3
* | Revert "Revert "A vendor ril depends on a native screen shot code.""Robert Burns2012-11-231-0/+5
| | | | | | | | | | | | This reverts commit 94f261556cc5f4aa628cd5b71bf923b583f6e3c3. Fixes RIL on toroplus
* | Revert "get rid of MemoryHeapPmem"Ricardo Cerqueira2012-11-211-0/+79
|/ | | | | | | This reverts commit 7a7524810a0950c1c2b18014a8f1c637275165c4 and makes MemoryHeapPmem conditioned to BOARD_NEEDS_MEMORYHEAPPMEM Change-Id: I2f38340984ba87d6970d17ec944e3faded4132c8
* Revert "Revert "put back the unused virtuals in Vector<>""Dave Burke2012-10-251-0/+20
| | | | | | This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3 Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d
* SurfaceFlinger: add support for secure displaysJamie Gennis2012-10-223-6/+5
| | | | | | | | | This change adds support for displays that are not allowed to display surfaces with the eSecure flag set. All non-virtual displays are considered secure, while virtual displays have their secure-ness specified at creation time. Bug: 7368436 Change-Id: I81ad535d2d1e5a7ff78269017e85b111f0098500
* Add runtime debugging capabilities to OpenGLRomain Guy2012-10-181-0/+5
| | | | | | | | | | | | | | | The shell property debug.egl.trace can now be set to: 0 disables tracing 1 logs all GL calls error checks glGetError after every GL call, logs a stack trace on error systrace logs each GL call to systrace Change-Id: I34a2a2d4e19c373fd9eaa1b0cd93e67c87378996
* SurfaceFlinger: add animation transactionsJamie Gennis2012-10-152-1/+5
| | | | | | | | | | This change adds a transaction flag for WindowManager to indicate that a transaction is being used to animate windows around the screen. SurfaceFlinger will not allow more than one of these transactions to be outstanding at a time to prevent the animation "frames" from being dropped. Bug: 7353840 Change-Id: I6488a6e0e1ed13d27356d2203c9dc766dc6b1759
* Merge "Fence didn't manager sync_wait error codes properly" into jb-mr1-devMathias Agopian2012-10-091-2/+2
|\
| * Fence didn't manager sync_wait error codes properlyMathias Agopian2012-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | error codes are returned in errno, this caused ::waitForwever() to only wait for 1 second and return improper error code (-1). needed to help debugging 7316632 Bug: 7316632 Change-Id: Ie144f614a88393393972a3a770c6b4b0581f961a
* | Add blankDisplay/unblankDisplay to SurfaceComposerClient.Jeff Brown2012-10-081-0/+6
|/ | | | | Bug: 7309812 Change-Id: Ia401d642094a46c62f0d26c65da1d11341e203a1
* Fix race condition in ConsumerBase::addReleaseFence()Jesse Hall2012-10-051-2/+3
| | | | | | | | | | | This needs the ConsumerBase mutex locked, but wasn't locking it. Two of the four places that called it already held the lock so were fine. Now addReleaseFence() takes the lock itself, and I added addReleaseFenceLocked() for the two already-locked callers, since in one of them dropping the lock would be inconvenient. Bug: 7289269 Change-Id: I7a5628adb516f8eec782aa6c14128202f96d7b0a
* Add Fence::waitForever which logs a warning timeout, and use itJesse Hall2012-10-021-0/+7
| | | | | Bug: 7217641 Change-Id: If0c1a613ead307c4045a47824174bf40c72bc7d7
* Pass display arg to blank/unblankAndy McFadden2012-09-281-2/+2
| | | | | | | | This allows us to blank and unblank displays other than the built-in display (e.g. HDMI). Bug: 7240511 Change-Id: I89ea13f9e497be74c3e1231d0c62fb558e93e0f8
* Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames.Andreas Huber2012-09-281-0/+10
| | | | | Change-Id: I71ce254533c8e99bc54d199d8a9828397fe3d99d related-to-bug: 7245308
* Revert "Compatibility work around for bad graphics driver dependency."Iliyan Malchev2012-09-271-5/+0
| | | | | | This reverts commit a50b51c03aca449920fc8581a738032a7bce7150 Change-Id: Ibdcd776a7f241dbb2475403ea04f939249774c41
* fix a crasher when running out of memoryMathias Agopian2012-09-251-1/+4
| | | | | | | | | | MemoryHeapBase::getBase() returns MAP_FAILED in case or OOM, not null which is what SF was checking against. This addresses one of the issues of bug 7230543. Bug: 7230543 Change-Id: I763a88f64a2f9ff75eb139cfbaf9a1a9746c5577
* Show build config in dumpsys SurfaceFlingerAndy McFadden2012-09-252-0/+58
| | | | | | | | | | | | | This adds a line to the "dumpsys SurfaceFlinger" output that shows build-time configuration values. Example: Build configuration: [sf HAS_CONTEXT_PRIORITY] [libui] \ [libgui USE_FENCE_SYNC] Bug 7206633 Change-Id: Ibe1856b459d34a4be6ee83a4ebfd2807e6cc68a0
* fix a crasher in SurfaceTexture's setFilteringEnabledMathias Agopian2012-09-241-2/+3
| | | | | bug: 7211067 Change-Id: Id8658a8df429d76c20ab9112858b38e52343dc9c
* Display events now always carry the display id they happened onMathias Agopian2012-09-211-1/+1
| | | | Change-Id: I12de1d883c23927722bc3a71b782f0079de4e831
* We now report hotplug events to the frameworkMathias Agopian2012-09-201-1/+8
| | | | Change-Id: I2d6b7787d39e5929485a551e4982498c5053c211
* frameworks/native: Amend HDCP APIDeva Ramasubramanian2012-09-191-4/+13
| | | | | | | | - Allow caller to set the observer and cookie. - Add more notifications that the HDCPModule can send to its Observer. Change-Id: I8bf9cc02a029cd38bbd25d9f0a634452173f4d26 Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
* SurfaceTexture: default to doing GL syncJamie Gennis2012-09-181-1/+8
| | | | | | | | | This change makes updateTexImage default to performing the necessary synchronization and adds an argument for SurfaceFlinger to disable that synchronization so that it can be performed lazily. Change-Id: I7c20923cc786634126fbf7021c9d2541aa77be5d Bug: 6991805
* Plumb display name into SurfaceFlingerAndy McFadden2012-09-182-2/+2
| | | | | | | | | | The Surface createDisplay() call takes a display name for debugging. This change carries it through SurfaceFlinger and displays it in the "dumpsys SurfaceFlinger" output. Bug 7058158 Change-Id: I79f3474a8656ff1beb7b478e0dbf2c5de666118a
* Fix transform hintsAndy McFadden2012-09-161-0/+2
| | | | | | | | | The hints were being set a little too late, so the pre-rotation stuff wasn't quite working. Bug 7054997 Change-Id: Id8d5c626db7a76f768ba762a145b315878ee08e6
* strengthen region validationMathias Agopian2012-09-122-2/+3
| | | | Change-Id: I75ee7bc4dd7a2f5357ac8994a23bc8b8bfb6eb44
* Merge "Watch for SurfaceFlinger death" into jb-mr1-devAndy McFadden2012-09-121-1/+14
|\
| * Watch for SurfaceFlinger deathAndy McFadden2012-09-061-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ComposerService object wasn't watching for SurfaceFlinger restarts, which doesn't usually matter because the app framework restarts when SurfaceFlinger dies. However, mediaserver continues to run, which means its ComposerService object was trying to use a dead handle, and playback of DRM movies was failing. This adds a DeathRecipient listener and some logic to re-establish the SurfaceFlinger connection. Bug 6645813 Change-Id: I07581b881d3835601aa57d5358c8259d93bc4515
* | SurfaceTexture: use eglWaitSyncJamie Gennis2012-09-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | This change adds a compile-option to use eglWaitSyncANDROID to ensure that texturing operations that access the current buffer of a SurfaceTexture do not occur until the buffer is completely written. It also moves this synchronization into a new SurfaceTexture method called doGLFenceWait and changes SurfaceFlinger's Layer class to use that method rather than performing its own wait on the fence. Change-Id: I70afa88086ca7ff49a80e3cd03d423767db7cb88
* | libgui: move fence handling into ConsumerBaseJamie Gennis2012-09-062-2/+9
|/ | | | | | | | This change moves some common fence handling code into the base class for BufferQueue consumer classes. It also makes the ConsumerBase class initialize a buffer slot's fence with the acquire fence every time a buffer is acquired. Change-Id: I0bd88bc269e919653b659bfb3ebfb04dd61692a0
* display projection API now has a single function instead of 3Mathias Agopian2012-09-042-10/+18
| | | | Change-Id: I9bf46d372b77d547486d4bbe6f1953ec8c65e98f
* Merge "BufferQueue: add a setMaxAcquiredBufferCount check" into jb-mr1-devJamie Gennis2012-09-041-0/+4
|\
| * BufferQueue: add a setMaxAcquiredBufferCount checkJamie Gennis2012-09-041-0/+4
| | | | | | | | | | | | | | This change adds a check to verify the validity of the value passed to setMaxAcquiredBufferCount. Change-Id: I39730557aa58261e678bd6e4fce11bab78e98362
* | Merge "libgui: add BufferQueue test infrastructure" into jb-mr1-devJamie Gennis2012-09-041-3/+0
|\ \ | |/
| * libgui: add BufferQueue test infrastructureJamie Gennis2012-08-311-3/+0
| | | | | | | | | | | | | | | | | | This change adds some infrastructure for testing the BufferQueue class. It also includes a test that tests the new check in BufferQueue::acquireBuffer that prevents the consumer from acquiring more than one buffer beyond the max acquired buffer count that was set. Change-Id: I38554ad3f9a53d2ddeba7ef0deee35ec2e2f9775
* | Merge "Add support for "-rtl" in resources" into jb-mr1-devFabrice Di Meglio2012-09-041-0/+16
|\ \
| * | Add support for "-rtl" in resourcesFabrice Di Meglio2012-08-141-0/+16
| | | | | | | | | | | | Change-Id: I0aaf10caf7b6a6d9e76b67dcabf01e4267b407bb