summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* fix [2167050] glTexImage2D code path buggy in SurfaceFlingerMathias Agopian2009-10-061-2/+0
| | | | | | | | | | | | | | When EGLImage extension is not available, SurfaceFlinger will fallback to using glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an extra copy. However this code path has never been exercised and had some bugs which this patch fix. Mainly the scale factor wasn't computed right when falling back on glDrawElements. We also fallback to this mode of operation if a buffer doesn't have the adequate usage bits for EGLImage usage. This changes only code that is currently not executed. Some refactoring was needed to keep the change clean. This doesn't change anything functionaly.
* fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properlyMathias Agopian2009-09-071-1/+1
| | | | | | | | | | | | | | | Rewrote SurfaceFlinger's buffer management from the ground-up. The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice. The main new feature is to be able to dequeue all buffers at once (very important when there are only two). A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued. The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time. eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
* enable HW acceleration for the Dim Surface on 8k devicesMathias Agopian2009-08-101-0/+3
|
* first attempt to fix the simMathias Agopian2009-07-131-1/+1
|
* rename libsgl/libcorecg to libskiaMike Reed2009-07-101-1/+1
|
* don't need to link against libsglMathias Agopian2009-07-021-6/+5
|
* copybit now uses a native_handle_t* instead of a fd/offsetMathias Agopian2009-06-241-0/+2
|
* implement dimming with a texture on msm7k so it uses copybitMathias Agopian2009-06-181-0/+4
|
* merge master to master_glMathias Agopian2009-05-221-1/+1
|\
| * am 69a6c3eb: Merge change 2292 into donutAndroid (Google) Code Review2009-05-211-1/+0
| |\ | | | | | | | | | | | | | | | | | | Merge commit '69a6c3ebd46a8de0e896747757f364322c12608d' * commit '69a6c3ebd46a8de0e896747757f364322c12608d': split boot animation out of SurfaceFlinger
| | * split boot animation out of SurfaceFlingerMathias Agopian2009-05-211-1/+0
| | | | | | | | | | | | | | | | | | Conflicts: data/etc/platform.xml
| | * AI 143160: am: CL 142856 new-new-new-new rotation animation. it may still ↵Mathias Agopian2009-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | change one more time. Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143160
| * | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-201-0/+1
| | |
* | | update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | a brand new MessageQueue for SurfaceFlinger.Mathias Agopian2009-04-241-0/+1
| | |
* | | more splitting of Surface/SurfaceControl. Surface.java is now implemented in ↵Mathias Agopian2009-04-161-1/+0
| | | | | | | | | | | | | | | | | | terms of Surface and SurfaceControl. The WindowManager side of Surface.java holds a SurfaceControl, while the client-side holds a Surface. When the client is in the system process, Surface.java holds both (which is a problem we'll try to fix later).
* | | Integrate from //sandbox/mathias/donut/...@145728Mathias Agopian2009-04-101-3/+4
|/ / | | | | | | SurfaceFlinger rework for new EGL driver model support.
* | AI 143309: am: CL 143160 am: CL 142856 new-new-new-new rotation animation. ↵Mathias Agopian2009-03-271-0/+1
|/ | | | | | | | | | | it may still change one more time. Original author: mathias Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143309
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+49
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-49/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-2/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+4
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+47