summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* surfaceflinger: refactor FrambufferSurfaceJamie Gennis2012-08-062-4/+209
| | | | | | | | This change refactors the FramebufferSurface class to inherit from the new ConsumerBase class. Bug: 6620200 Change-Id: I46ec942ddb019658e3c5e79465548b171b2261f2
* screen-off animation won't be handled by SF anymoreMathias Agopian2012-08-031-13/+0
| | | | Change-Id: Idc41386804ae7d7eb981c36e1bc55c270870c8d0
* We now have a real list of displays.Mathias Agopian2012-08-021-1/+15
| | | | | | | displays can be dynamically added or removed, and the list is part of the SF's transaction. Change-Id: I4186ea39f1317c0e7c044f869004017738968fab
* Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-devEd Heyl2012-07-282-2/+4
|\ | | | | | | | | | | | | Conflicts: include/media/hardware/CryptoAPI.h Change-Id: I84bf34edbef000558f088bbf1d1e5b55d6217d2e
| * Merge from jb-dev for "sample video corruption in MediaCodec mode." DO NOT MERGEEdwin Wong2012-07-171-1/+1
| | | | | | | | | | | | | | jb-dev commit: fa2b8f243eb048fb2b8e5a14356190f69eb31a36 Change-Id: Ic2a28663d25e3007c95e15ecbb0d44b820045f85 related-to-bug: 6732061
| * libs/ui: Add support for triple framebuffersNaseer Ahmed2012-07-091-2/+3
| | | | | | | | Change-Id: I90dd38deeeda9a3785b87286cc7d252c6f948750
| * Add vendor specific color format to OMX_IVCommon.hHaynes Mathew George2012-06-211-0/+1
| | | | | | | | | | | | - Add Qualcomm specific color format to OMX_IVCommon.h Change-Id: I77a7196307d079348a50d7bb67c80cd2642a72df
* | get rid of the shared-memory control blockMathias Agopian2012-07-255-85/+16
| | | | | | | | Change-Id: If814060aca1d2ff2619d4adcd57296983d207f7f
* | add a layerStack attribute to Layers.Mathias Agopian2012-07-243-1/+4
| | | | | | | | | | | | | | this attribute can be set through a regular transaction using SurfaceComposerClient (just like any other attribute, eg: position or size) Change-Id: I701a47c677ea6442ca713728a93335328cd2b172
* | update SF binder protocol to support setting display attributesMathias Agopian2012-07-242-2/+16
| | | | | | | | | | | | | | | | | | no change of functionality -- the old behavior is implemented on top of this new protocol. this new protocol will allow, eventually, to pass informations about displays and layer stacks. Change-Id: Ic6c2295e61ec8ecbc8ce01ab7664e35d928202fc
* | Add elapsedRealtimeNano(), and use CLOCK_BOOTTIME where possible.Nick Pelly2012-07-192-2/+4
| | | | | | | | Change-Id: I4231c8ca32663e6e2cb5b7c126d091f837373807
* | Merge "Remove unused layer flags."Jeff Brown2012-07-161-3/+0
|\ \
| * | Remove unused layer flags.Jeff Brown2012-07-161-3/+0
| | | | | | | | | | | | Change-Id: Ia85365f18770a9a2c0a0e30ae56b6c2226d41be6
* | | Merge "Remove freeze(), unfreeze() and setFreezeTint()."Jeff Brown2012-07-164-10/+1
|\ \ \ | |/ /
| * | Remove freeze(), unfreeze() and setFreezeTint().Jeff Brown2012-07-164-10/+1
| | | | | | | | | | | | | | | | | | This is all dead code. Change-Id: I646673aac793a6ec45021c370a2450f0ea4fbcce
* | | Merge "Remove freezeDisplay(), which is no-op."Jeff Brown2012-07-161-6/+0
|\ \ \ | |/ /
| * | Remove freezeDisplay(), which is no-op.Jeff Brown2012-07-161-6/+0
| | | | | | | | | | | | Change-Id: I2b70249a1545636fd6d98b58057b22f9529cad21
* | | am 647336c7: am e0daeb39: Fixed sample video corrupted in MediaCodec mode.Edwin Wong2012-07-131-1/+3
|\ \ \ | |/ / |/| | | | | | | | * commit '647336c76e8da68fb44ca52ec14a8a2c6d5735bb': Fixed sample video corrupted in MediaCodec mode.
| * | Fixed sample video corrupted in MediaCodec mode.Edwin Wong2012-07-131-1/+3
| |/ | | | | | | | | Change-Id: Ibe11a83199f3db1ba6266a1a9e11c7fc24ceb554 related-to-bug: 6732061
* | one more step towards multiple display supportMathias Agopian2012-07-101-4/+4
| | | | | | | | | | | | | | | | | | - remove dependency on cached state in validateVisibility - get rid of mVertices and mTransformedBounds - get rid of validateVisibility - get rid of unlockPageFlip - handleTransaction now returns a dirty region - computevisibileregion now uses window-manager space
* | Pass fence to HWC on first use of bufferJesse Hall2012-06-301-0/+7
| | | | | | | | | | | | Also do a CPU-wait on the fence before using it for GL composition. Change-Id: I0f645a42a44803276cae11b904e5a26d65871562
* | Return fence from acquireBufferJesse Hall2012-06-301-0/+3
| | | | | | | | Change-Id: Iab22054c1dc4fd84affab3cc5bbdcd5a1e689666
* | Pass fences with buffers from SurfaceTextureClientJesse Hall2012-06-303-14/+39
| | | | | | | | Change-Id: I09b49433788d01e8b2b3684bb4d0112be29538d3
* | Merge "Return fence to client in dequeuBuffer"Jesse Hall2012-06-291-0/+5
|\ \
| * | Return fence to client in dequeuBufferJesse Hall2012-06-281-0/+5
| | | | | | | | | | | | Change-Id: Ic19750793ad993f0e85391f3cabd743ba565d4c9
* | | First prototype atttempting to support an external displayMathias Agopian2012-06-281-0/+4
|/ / | | | | | | | | | | | | | | | | | | | | both API and implementation will change, this is just a prototype intended to show feasability. SurfaceFlinger is passed an ISurfaceTexture through a new callback, it is in turn used to create an EGLSurface which surfaceflinger will draw into in addition to the main screen. Change-Id: Id0bbb0b854bb7bae44d57246a90b65d4567f9a21
* | Pass fences from BufferQueue to SurfaceTextureClientJesse Hall2012-06-212-5/+17
| | | | | | | | | | | | | | | | | | | | ISurfaceTexture::dequeueBuffer now returns the buffer's fence for the client to wait on. For BufferQueue, this means passing it through Binder so it can be returned to the SurfaceTextureClient. Now SurfaceTextureClient is responsible for waiting on the fence in dequeueBuffer instead of BufferQueue: one step closer to the goal. Change-Id: I677ae758bcd23acee2d784b8cec11b32cccc196d
* | Transfer HWC release fences to BufferQueueJesse Hall2012-06-213-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After a HWC set, each SurfaceFlinger Layer retrieves the release fence HWC returned and gives it to the layer's SurfaceTexture. The SurfaceTexture accumulates the fences into a merged fence until the next updateTexImage, then passes the merged fence to the BufferQueue in releaseBuffer. In a follow-on change, BufferQueue will return the fence along with the buffer slot in dequeueBuffer. For now, dequeueBuffer waits for the fence to signal before returning. The releaseFence default value for BufferQueue::releaseBuffer() is temporary to avoid transient build breaks with a multi-project checkin. It'll disappear in the next change. Change-Id: Iaa9a0d5775235585d9cbf453d3a64623d08013d9
* | Update ANativeWindow clients for syncJamie Gennis2012-06-202-12/+27
| | | | | | | | | | | | | | This change updates the uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: I3ca648b6ac33f7360e86754f924aa072f95242f6
* | libui: add the Fence classJamie Gennis2012-06-201-0/+94
| | | | | | | | | | | | | | This change adds the Fence class to libui for to wrap the libsync functionality. Change-Id: I93a31baeee608b93c14da807a32013dabf783f84
* | split-up Client.h out of SurfaceFlinger.hMathias Agopian2012-06-181-0/+1
| | | | | | | | Change-Id: I1993bf23e417163749d886283563a93d50b361b4
* | Merge "Implement SurfaceFlinger's ANW on top of BufferQueue"Mathias Agopian2012-06-151-1/+3
|\ \
| * | Implement SurfaceFlinger's ANW on top of BufferQueueMathias Agopian2012-06-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | SF now has its own implementation of ANW for the framebuffer and it uses BufferQueue. FramebufferNativeWindow is now only used by stand-alone apps. Change-Id: Iddeb24087df62bd92b0f78e391dda9b97ddc859c
* | | am 0512af11: am 16272efb: Add ASSIST keycode.Jeff Brown2012-06-151-0/+1
|\ \ \ | |/ / |/| / | |/ | | * commit '0512af11f4b790fb032dc7c344dcdac527faf8ad': Add ASSIST keycode.
| * Add ASSIST keycode.Jeff Brown2012-06-151-0/+1
| | | | | | | | | | Bug: 6594275 Change-Id: I032b055207d16bfff93ee8a350c0dc52b9102926
* | surfaceflinger: replace early suspend with binder call from PowerManagerColin Cross2012-06-071-0/+8
| | | | | | | | | | | | | | | | | | SurfaceFlinger will no longer directly synchronize with early suspend. Instead, PowerManagerService will synchronize with SurfaceFlinger to ensure that a black frame has been drawn on the display, and then trigger all early suspend handlers. Change-Id: I07acdd628440d23fdb69db94319ec5d65d3f4919
* | am d5085da3: am 4467bba7: Merge "Support looper callbacks based on smart ↵Jeff Brown2012-05-311-2/+52
|\ \ | |/ | | | | | | | | | | pointers." into jb-dev * commit 'd5085da3c0c103bba0c2c927382f7d414275b661': Support looper callbacks based on smart pointers.
| * Merge "Support looper callbacks based on smart pointers." into jb-devJeff Brown2012-05-311-2/+52
| |\
| | * Support looper callbacks based on smart pointers.Jeff Brown2012-05-311-2/+52
| | | | | | | | | | | | | | | Bug: 6559630 Change-Id: I5a667f219f431838638acefbc9fa6afa610971bd
* | | am 80586761: am dad23789: Merge "Delete unused poll() code." into jb-devJeff Brown2012-05-311-29/+0
|\ \ \ | |/ / | | | | | | | | | * commit '805867612c0c11d3bb494cbf454cbb2de21a1b75': Delete unused poll() code.
| * | Merge "Delete unused poll() code." into jb-devJeff Brown2012-05-311-29/+0
| |\ \ | | |/
| | * Delete unused poll() code.Jeff Brown2012-05-301-29/+0
| | | | | | | | | | | | | | | | | | | | | We don't need this code anymore and it is just in the way. Bug: 6559630 Change-Id: I1dc9decf85d5ea1feab159c2985da6c20baffdd5
* | | am dce1547d: am 9e2e781a: Merge "Remove unused statistics code." into jb-devJeff Brown2012-05-311-21/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'dce1547d65877b89cec4e52ee8e5b39830911d00': Remove unused statistics code.
| * | Merge "Remove unused statistics code." into jb-devJeff Brown2012-05-311-21/+0
| |\ \ | | |/
| | * Remove unused statistics code.Jeff Brown2012-05-301-21/+0
| | | | | | | | | | | | | | | Bug: 6559630 Change-Id: Iacdf4bb4c1c125c09305cbd8cb443c7c80cfc010
* | | Add camera as an ATRACE tagEino-Ville Talvala2012-05-311-1/+2
| | | | | | | | | | | | Change-Id: Ib4f22d593836c4b973d122efa114d359f1529914
* | | am 584fcb32: am 2c8207e9: add the ability to reject buffers in ↵Mathias Agopian2012-05-291-0/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | SurfaceTexture::updateTexImage * commit '584fcb3218e07d7b4cc0aeaef41faa4e891b45a4': add the ability to reject buffers in SurfaceTexture::updateTexImage
| * | add the ability to reject buffers in SurfaceTexture::updateTexImageMathias Agopian2012-05-231-0/+13
| |/ | | | | | | | | | | | | | | SurfaceFlinger is using this new feature to reject buffers that don't have the right size. Bug: 6498869 Change-Id: I8a7250a47db6c082a357b703feb3b9d0fc8d3443
* | am e804aa48: Merge "Move CameraParameters header to join rest of camera ↵Eino-Ville Talvala2012-05-151-666/+0
|\ \ | |/ | | | | | | | | | | library." into jb-dev * commit 'e804aa4819a764e1f3929f4c578e9a44593a1467': Move CameraParameters header to join rest of camera library.
| * Merge "Move CameraParameters header to join rest of camera library." into jb-devEino-Ville Talvala2012-05-151-666/+0
| |\