summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/LayerBuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add colorkey to gl clear operationRebecca Schultz Zavin2009-09-021-1/+5
| | | | Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* second take, hopefully this time it doesn't break one of the builds: ↵Mathias Agopian2009-08-111-1/+0
| | | | "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
* second take, hopefully this time it doesn't break one of the builds: ↵Mathias Agopian2009-08-111-1/+5
| | | | "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
* Revert "SurfaceFlinger will now allocate buffers based on the usage ↵Fred Quintana2009-08-111-5/+1
| | | | | | specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
* SurfaceFlinger will now allocate buffers based on the usage specified by the ↵Mathias Agopian2009-08-111-1/+5
| | | | | | | clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything. This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored). Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
* Add a flag to set whether the overlay has been initialized. Commit needs to ↵Rebecca Schultz Zavin2009-07-221-2/+4
| | | | | | | | | | | be called at least once on each overlay, and it appears that sometimes this doesn't happen because the visibility never changes. With this change the overlay parameter and position will be committed when either the visibility of the window changes, or on the first call to visibility resolved, if it hasn't already been done. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* Fix hardware overlay so all changes are commited when done.Rebecca Schultz Zavin2009-07-211-0/+6
|
* add support for out-of-range copybit scaling. camera capture is in color againMathias Agopian2009-06-251-52/+55
|
* use copybit for eglSwapBuffers() copy-back operationsMathias Agopian2009-06-251-1/+4
|
* make use of new eglGetRenderBufferANDROID extension to clean-up a bit a few ↵Mathias Agopian2009-06-251-37/+42
| | | | hacks added recently
* copybit now uses a native_handle_t* instead of a fd/offsetMathias Agopian2009-06-241-42/+44
|
* hack copybit back in for video playback on msm7k. we have h/w accelerated ↵Mathias Agopian2009-06-241-3/+121
| | | | video again
* fix a bug causing push-buffer surfaces' identity to be garbage, which ↵Mathias Agopian2009-06-231-0/+1
| | | | resulted in some attributes (size/pos) to fail to be set
* checkpoint. bring back video/cameraMathias Agopian2009-06-231-26/+24
|
* fix a memory corruption where a SF Client could be used after it's been ↵Mathias Agopian2009-06-191-1/+1
| | | | destroyed
* update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-19/+19
| | | | | | | | | | | | | | - Currently the lock/unlock path is naive and is done for each drawing operation (glDrawElements and glDrawArrays). this should be improved eventually. - factor all the lock/unlock code in SurfaceBuffer. - fixed "showupdate" so it works even when we don't have preserving eglSwapBuffers(). - improved the situation with the dirty-region and fixed a problem that caused GL apps to not update. - make use of LightRefBase() where needed, instead of duplicating its implementation - add LightRefBase::getStrongCount() - renamed EGLNativeWindowSurface.cpp to FramebufferNativeWindow.cpp - disabled copybits test, since it clashes with the new gralloc api - Camera/Video will be fixed later when we rework the overlay apis
* get rid of an old hack to work around a bug around glDeleteTextures() in the ↵Mathias Agopian2009-04-241-1/+1
| | | | adreno drivers
* more Surface lifetime managementMathias Agopian2009-04-241-5/+16
| | | | | Surfaces are now destroyed once all references from the clients are gone, but they go through a partial destruction as soon as the window manager requests it. This last part is still buggy. see comments in SurfaceFlinger::destroySurface()
* Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-180/+34
| | | | SurfaceFlinger rework for new EGL driver model support.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+655
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-655/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-22/+31
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-52/+113
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-11/+27
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-230/+387
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-3/+49
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+366