summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger
Commit message (Collapse)AuthorAgeFilesLines
* am 6d4346ce: am 4cffbb47: Merge "fix [2946787] Screen flicker on low ↵Mathias Agopian2010-08-251-11/+21
|\ | | | | | | | | | | | | | | | | resolution setting in camcorder." into gingerbread Merge commit '6d4346ce35a521d67f45d7c9658c450c0fc461d2' * commit '6d4346ce35a521d67f45d7c9658c450c0fc461d2': fix [2946787] Screen flicker on low resolution setting in camcorder.
| * am 4cffbb47: Merge "fix [2946787] Screen flicker on low resolution setting ↵Mathias Agopian2010-08-251-11/+21
| |\ | | | | | | | | | | | | | | | | | | | | | | | | in camcorder." into gingerbread Merge commit '4cffbb47a28faa594c2217d1e84f9382e0b57cc4' into gingerbread-plus-aosp * commit '4cffbb47a28faa594c2217d1e84f9382e0b57cc4': fix [2946787] Screen flicker on low resolution setting in camcorder.
| | * fix [2946787] Screen flicker on low resolution setting in camcorder.Mathias Agopian2010-08-251-11/+21
| | | | | | | | | | | | Change-Id: I7e86f2b6d85dcae8dd212890b978fa6ac7de6893
* | | am 46820412: am 8eb16af2: Merge "don\'t try to lock a buffer that wasn\'t ↵Mathias Agopian2010-08-251-6/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | allocated with SW usage bits" into gingerbread Merge commit '468204124e95bbf74ae8cc000318ade29e311be6' * commit '468204124e95bbf74ae8cc000318ade29e311be6': don't try to lock a buffer that wasn't allocated with SW usage bits
| * | am 8eb16af2: Merge "don\'t try to lock a buffer that wasn\'t allocated with ↵Mathias Agopian2010-08-251-6/+10
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | SW usage bits" into gingerbread Merge commit '8eb16af29303cda190133a1d220b9ecd9341e261' into gingerbread-plus-aosp * commit '8eb16af29303cda190133a1d220b9ecd9341e261': don't try to lock a buffer that wasn't allocated with SW usage bits
| | * don't try to lock a buffer that wasn't allocated with SW usage bitsMathias Agopian2010-08-251-6/+10
| | | | | | | | | | | | Change-Id: Iabbcec1bfa30dc47d45ece699dd178653f1b675b
* | | am bc4389ed: am 8395b462: Merge "fix [2931513] Add support for setting the ↵Mathias Agopian2010-08-246-29/+102
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | orientation of an ANativeWindow" into gingerbread Merge commit 'bc4389edfbb5777aec1a9af7863b2ca3ade2fa64' * commit 'bc4389edfbb5777aec1a9af7863b2ca3ade2fa64': fix [2931513] Add support for setting the orientation of an ANativeWindow
| * | am 8395b462: Merge "fix [2931513] Add support for setting the orientation of ↵Mathias Agopian2010-08-246-29/+102
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | an ANativeWindow" into gingerbread Merge commit '8395b4625b96f2133e2e4f595fdc69fbe222e4fc' into gingerbread-plus-aosp * commit '8395b4625b96f2133e2e4f595fdc69fbe222e4fc': fix [2931513] Add support for setting the orientation of an ANativeWindow
| | * fix [2931513] Add support for setting the orientation of an ANativeWindowMathias Agopian2010-08-246-29/+102
| | | | | | | | | | | | | | | | | | Also implement support for cropping. Change-Id: Iba5888dd242bf2feaac9e9ce26e404c1f404c280
* | | Change the framework to use the new camera preview path.Jamie Gennis2010-08-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes the camera HAL interface take an ANativeWindow interface from which all the camera preview buffers will be allocated. The framework code running in application processes now passes a Surface object rather than an ISurface to the camera server via Binder when setting the preview surface. The camera server then forwards that Surface object (which implements the ANativeWindow interface) to the camera HAL, which uses it to communicate with SurfaceFlinger to allocate the camera preview buffers. Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
* | | Merge "Squashed commit of the following:"Andreas Huber2010-08-232-20/+23
|\ \ \
| * | | Squashed commit of the following:Andreas Huber2010-08-232-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 35cc68814a9537c31fde146e171e7b0bbdfe211e Author: Andreas Huber <andih@google.com> Date: Mon Aug 16 08:48:42 2010 -0700 Only enable support for yuv to yuv conversion on passion, where it's available, use the slower yuv->rgb565 path everywhere else. commit d8ac5a8814103e60d11d2acf61997fc31a1dc58d Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 13:56:44 2010 -0700 The software renderer takes over all rendering, converting from yuv to yuv if possible and rgb565 otherwise. commit 684972074b74318bdcb826ed9b5b0864d2d2e273 Author: Andreas Huber <andih@google.com> Date: Fri Aug 13 09:34:35 2010 -0700 A first shot at supporting the new rendering APIs. Change-Id: Iea9b32856da46950501f1a700f616b5feac710fd
* | | | am a90a1e55: am 545eab8a: Merge "remove unused pixel format" into gingerbreadMathias Agopian2010-08-211-1/+0
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | Merge commit 'a90a1e55c60604b930eecff03fe25429205ec7df' * commit 'a90a1e55c60604b930eecff03fe25429205ec7df': remove unused pixel format
| * | am 545eab8a: Merge "remove unused pixel format" into gingerbreadMathias Agopian2010-08-191-1/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '545eab8ae80b070177cc442931eadc8cd980de26' into gingerbread-plus-aosp * commit '545eab8ae80b070177cc442931eadc8cd980de26': remove unused pixel format
| | * remove unused pixel formatMathias Agopian2010-08-191-1/+0
| | | | | | | | | | | | Change-Id: I55bc3cc41385743c07f7e4de06335c922f746f73
| * | am 26bcc7b4: Merge "revert hwcomposer HAL changes. DO NOT MERGE." into ↵Mathias Agopian2010-08-1811-360/+9
| |\ \ |/ / / | | _ | | | | | | | | | | | | gingerbread Merge commit '26bcc7b44238ea54105ef5a6020fa5c37bb33f03' into gingerbread-plus-aosp * commit '26bcc7b44238ea54105ef5a6020fa5c37bb33f03': revert hwcomposer HAL changes. DO NOT MERGE.
| * revert hwcomposer HAL changes. DO NOT MERGE.Mathias Agopian2010-08-1711-360/+9
| | | | | | | | | | | | | | | | This reverts commit: 94364b91a2894bf037b8beb027132fbb812e1434 f8e705dea48f77f1c2532fdbadd4997dd1851af0 b59beb5ca68d0228f60dda60d85e2d0226b33215 e0d5f5bcf5a8b26f4ad75f549cbf380b2c9faf20
* | am 6a73368b: Merge "fix a typo that prevented glTexImage2D codepath to work" ↵Mathias Agopian2010-08-131-1/+1
|\ \ | |/ | | | | | | | | | | | | | | into gingerbread Merge commit '6a73368be44f45a80cc4b65dc57b9ff529cb2d89' into gingerbread-plus-aosp * commit '6a73368be44f45a80cc4b65dc57b9ff529cb2d89': fix a typo that prevented glTexImage2D codepath to work
| * Merge "fix a typo that prevented glTexImage2D codepath to work" into gingerbreadMathias Agopian2010-08-131-1/+1
| |\
| | * fix a typo that prevented glTexImage2D codepath to workMathias Agopian2010-08-131-1/+1
| | | | | | | | | | | | Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
* | | am 94364b91: surfaceflinger: don\'t check HWComposer numLayers unless one existsErik Gilling2010-08-131-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '94364b91a2894bf037b8beb027132fbb812e1434' into gingerbread-plus-aosp * commit '94364b91a2894bf037b8beb027132fbb812e1434': surfaceflinger: don't check HWComposer numLayers unless one exists
| * | surfaceflinger: don't check HWComposer numLayers unless one existsErik Gilling2010-08-131-1/+3
| |/ | | | | | | Change-Id: I4b83f7bf7ba1318c70054117f14e759fe0ad105c
* | am b7d1be01: Merge "Fix a couple issues with the new hwcomposer HAL" into ↵Mathias Agopian2010-08-123-49/+62
|\ \ | |/ | | | | | | | | | | | | | | gingerbread Merge commit 'b7d1be01ae44428b947823fc48c1c126dcaa9732' into gingerbread-plus-aosp * commit 'b7d1be01ae44428b947823fc48c1c126dcaa9732': Fix a couple issues with the new hwcomposer HAL
| * Fix a couple issues with the new hwcomposer HALMathias Agopian2010-08-123-49/+62
| | | | | | | | | | | | | | | | - we now clear the framebuffer upon request from the HAL - the HAL list size could get out of sync with reality - there was also an issue where sometime we could run past the list Change-Id: Ic3a34314aed24181f2d8cc787096af83c046ef27
* | am 65f2490e: Merge "should fix sim build, hopefully" into gingerbreadMathias Agopian2010-08-111-0/+3
|\ \ | |/ | | | | | | | | | | Merge commit '65f2490e1baa6eac5905cbc638e69581ebcd8dee' into gingerbread-plus-aosp * commit '65f2490e1baa6eac5905cbc638e69581ebcd8dee': should fix sim build, hopefully
| * should fix sim build, hopefullyMathias Agopian2010-08-111-0/+3
| | | | | | | | Change-Id: I5390bd34dcca36fef43b5169386fff1b04cc842b
* | am 90dc48b1: Merge "call into hwcomposer HAL when present" into gingerbreadMathias Agopian2010-08-1111-7/+340
|\ \ | |/ | | | | | | | | | | Merge commit '90dc48b17f673b7e334e3254ea633450f994226c' into gingerbread-plus-aosp * commit '90dc48b17f673b7e334e3254ea633450f994226c': call into hwcomposer HAL when present
| * call into hwcomposer HAL when presentMathias Agopian2010-08-1111-7/+340
| | | | | | | | Change-Id: I70f31c69a9436a43860e78977442863ecba6d27b
* | am 24d7050c: Merge "don\'t handle the transparent region of a layer in ↵Mathias Agopian2010-08-111-15/+1
|\ \ | |/ | | | | | | | | | | | | | | draw()" into gingerbread Merge commit '24d7050ca605804efd5fde03f0d0d8d1d052c247' into gingerbread-plus-aosp * commit '24d7050ca605804efd5fde03f0d0d8d1d052c247': don't handle the transparent region of a layer in draw()
| * don't handle the transparent region of a layer in draw()Mathias Agopian2010-08-111-15/+1
| | | | | | | | | | | | | | this is already taken into consideration in computeVisibleRegion and therefore not needed at draw time. Change-Id: I3fc7336d22f1147dfcd3a20fd71bf79b946d971f
* | am 8e7515d9: Merge "get rid of our LayerVector implementation" into gingerbreadMathias Agopian2010-08-114-113/+22
|\ \ | |/ | | | | | | | | | | Merge commit '8e7515d9c938f5addd08d97bccfccfa976e76c11' into gingerbread-plus-aosp * commit '8e7515d9c938f5addd08d97bccfccfa976e76c11': get rid of our LayerVector implementation
| * get rid of our LayerVector implementationMathias Agopian2010-08-114-113/+22
| | | | | | | | | | | | we now use SortedVector<> with a special compare implementation. Change-Id: I910459cf3b3c8993b55ad0786a8c348369262de5
* | am 025822a0: Merge "keep a list of visible sorted surfaces" into gingerbreadMathias Agopian2010-08-112-15/+30
|\ \ | |/ | | | | | | | | | | Merge commit '025822a03a09337ec382e708c5a798fe805109ed' into gingerbread-plus-aosp * commit '025822a03a09337ec382e708c5a798fe805109ed': keep a list of visible sorted surfaces
| * keep a list of visible sorted surfacesMathias Agopian2010-08-112-15/+30
| | | | | | | | Change-Id: Ib815eeff894f8a3b1e79fbbf8186d5d91bb60285
* | am bc881e66: Merge "frameworks/base: Swap width and height of temporary ↵Jean-Baptiste Queru2010-08-111-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | buffer only with orientation change" Merge commit 'bc881e66d15181494fdd5d0ece83e20ef325453b' into gingerbread-plus-aosp * commit 'bc881e66d15181494fdd5d0ece83e20ef325453b': frameworks/base: Swap width and height of temporary buffer only with
| * frameworks/base: Swap width and height of temporary buffer only withOmprakash Dhyade2010-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | orientation change Current code swaps the width and height by assuming that aspect ratio of the buffer width and height will be same as that of the layout clip width and height. That is not always true. Change the check to orientation change. Change-Id: Ie387f3a7369025427484e4173cbde7a08df2b9d7
| * move native services under services/Mathias Agopian2010-07-2234-0/+8655
| | | | | | | | moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Icd7336f7289db35df9c8c1857a5122bb8a6f1c86
* fix [2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot ↵Mathias Agopian2010-07-273-22/+78
| | | | | | | | | | | | | | | | | | | | | dequeue all allocated buffers at once. this situation happened when the last buffer needed to be resized (or allocated, the first time). the assumption was that the buffer was in use by SF itself as the current buffer (obviously, this assumption made no sense when the buffer had never been allocated, btw). the system would wait until some other buffer became the "front" buffer. we fix this problem by entirely removing the requirement that the buffer being resized cannot be the front buffer. instead, we just allocate a new buffer and replace the front buffer by the new one. the downside is that this uses more memory (an extra buffer) for a brief amount of time while the old buffer is being reallocated and before it has actually been replaced. Change-Id: I022e4621209474ceb1c671b23deb4188eaaa7285
* added BinderService<> template to help creating native binder servicesMathias Agopian2010-07-142-17/+6
| | | | Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
* move native services under services/Mathias Agopian2010-07-1436-0/+8940
moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8