summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
Commit message (Collapse)AuthorAgeFilesLines
...
* | | when there is a choice between UPDATE_ON_DEMAND and SWAP_BUFFER ↵Mathias Agopian2009-06-291-0/+5
| | | | | | | | | | | | optimizations, choose UPDATE_ON_DEMAND which is often more efficient.
* | | fix a bug that caused artifacts when SWAP_RECTANGLE was enabledMathias Agopian2009-06-292-4/+18
| | |
* | | don't use a 1/4th of the screen size texture for the dim layerMathias Agopian2009-06-291-6/+0
| | | | | | | | | | | | we can't use a texture of 1/4th of the screen for the dim layer, because the mdp internal input resultion is alwyas integers and for very small blits of a couple pixels the scale factor can get way out of range, for instance for a 7 pixels source, the scale factor would be either 7 (7/1) or 3.5 (7/2) instead of 4 (7/1.75). This caused the mdp to fail in some cases and revert to software. we now always use a texture of the actual screen size, so the problem will never happen. This burns 300KB of pmem instead of 21KB. On devices with a larger screen we might want to use a smaller texture and tile it by hand.
* | | fix [1947273] the DimLayer causes the whole screen to update during transactionsMathias Agopian2009-06-291-5/+6
| | |
* | | fix an update bug with SHOW_UPDATE debug feature. Fix a problem with the ↵Mathias Agopian2009-06-262-11/+19
| | | | | | | | | | | | debug binder codes too
* | | add support for out-of-range copybit scaling. camera capture is in color againMathias Agopian2009-06-251-52/+55
| | |
* | | use 1/16 the size (20KB) for the dim texture in the copybit/msm caseMathias Agopian2009-06-251-1/+7
| | |
* | | 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-253-45/+42
| | | | | | | | | | | | hacks added recently
* | | copybit now uses a native_handle_t* instead of a fd/offsetMathias Agopian2009-06-242-42/+46
| | |
* | | hack copybit back in for video playback on msm7k. we have h/w accelerated ↵Mathias Agopian2009-06-244-11/+129
| | | | | | | | | | | | video again
* | | fix a bug causing push-buffer surfaces' identity to be garbage, which ↵Mathias Agopian2009-06-233-8/+8
| | | | | | | | | | | | resulted in some attributes (size/pos) to fail to be set
* | | checkpoint. bring back video/cameraMathias Agopian2009-06-236-68/+68
| | |
* | | Merge commit 'goog/master' into merge_masterMathias Agopian2009-06-191-3/+8
|\ \ \ | |/ /
| * | am c6282977: Merge change 4718 into donutAndroid (Google) Code Review2009-06-181-10/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'c6282977180c220b1a68c23a328e7d75a11963ab' * commit 'c6282977180c220b1a68c23a328e7d75a11963ab': Fix sim-eng build and simplify previous lcd-density related patch
| | * Fix sim-eng build and simplify previous lcd-density related patchDavid 'Digit' Turner2009-06-191-10/+7
| | |
| * | am b1cdb648: Merge change 4565 into donutAndroid (Google) Code Review2009-06-181-0/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'b1cdb64877ebd3b8c5182913ff02edd8b54a6982' * commit 'b1cdb64877ebd3b8c5182913ff02edd8b54a6982': Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density
| | * Allow the qemu.sf.lcd_density property to override the value of ↵David 'Digit' Turner2009-06-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ro.sf.lcd_density ro.sf.lcd_density is usually defined in the build.prop file which is parsed by init before anything else. Since its name begins with "ro.", this property is write-once and cannot later be modified, e.g. in /system/etc/init.goldfish.sh. In other words, you cannot use "emulator -prop ro.sf.lcd_density=<value>", since it is impossible to override the value defined in build.prop This patch modifies the system to recognize "qemu.sf.lcd_density" as an override value, which can be set with "emulator -prop qemu.sf.lcd_density=<value>", forcing a specific density. A later patch will allow the emulator to automatically set this property depending on AVD hardware configuration settings.
| * | am b61ae351: Merge change 2747 into donutAndroid (Google) Code Review2009-05-291-1/+3
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'b61ae351256518add7bcb40e0bf18337dd87195c' * commit 'b61ae351256518add7bcb40e0bf18337dd87195c': log the geomerty of surfaces causing an out of memory in SurfaceFlinger.
| | * log the geomerty of surfaces causing an out of memory in SurfaceFlinger.Mathias Agopian2009-05-291-1/+3
| | |
* | | fix a memory corruption where a SF Client could be used after it's been ↵Mathias Agopian2009-06-1912-71/+85
| | | | | | | | | | | | destroyed
* | | release the last reference to surfaces explicitely instead of letting it go ↵Mathias Agopian2009-06-191-3/+5
| | | | | | | | | | | | implicitely when the message is destroyed
* | | implement dimming with a texture on msm7k so it uses copybitMathias Agopian2009-06-184-5/+104
| | |
* | | new Permission class used to improve permission checks speed (by caching ↵Mathias Agopian2009-06-153-37/+28
| | | | | | | | | | | | results)
* | | protect ANDROID specific egl extension with #defineMathias Agopian2009-06-111-2/+6
| | |
* | | fix a bunch of problems with destroying surfaces.Mathias Agopian2009-06-042-36/+63
| | | | | | | | | | | | now, all destruction path, go through the purgatory which is emptied when ~ISurface is called, but we also make sure to remove the surface from the current list from there (in case a client forgot to request the destruction explicitely).
* | | when looking for an EGLConfig always pick the first one that matches, not ↵Mathias Agopian2009-06-031-0/+1
| | | | | | | | | | | | the last one
* | | merge master to master_glMathias Agopian2009-05-2216-376/+45
|\ \ \ | |/ /
| * | am 69a6c3eb: Merge change 2292 into donutAndroid (Google) Code Review2009-05-216-348/+17
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '69a6c3ebd46a8de0e896747757f364322c12608d' * commit '69a6c3ebd46a8de0e896747757f364322c12608d': split boot animation out of SurfaceFlinger
| | * split boot animation out of SurfaceFlingerMathias Agopian2009-05-216-348/+17
| | | | | | | | | | | | | | | | | | Conflicts: data/etc/platform.xml
| * | move libbinder's header files under includes/binderMathias Agopian2009-05-2011-26/+26
| | |
| * | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-201-0/+1
| | |
* | | Region now has its own implementation instead of relying on SkRegion, which ↵Mathias Agopian2009-05-175-50/+59
| | | | | | | | | | | | allows us to break libui's dependency on libcorecg.
* | | add support for update-on-demand in SurfaceFlingerMathias Agopian2009-05-071-3/+9
| | |
* | | fix EGL extension string namesMathias Agopian2009-05-071-2/+2
| | |
* | | created an new EGL extension called ANDROID_swap_rectangleMathias Agopian2009-05-073-10/+18
| | | | | | | | | | | | | | | | | | ANDROID_swap_rectangle allows to specify the rectangle affected by eglSwapBuffers(), anything outside of this rectangle is unchanged. in particular EGL_BUFFER_DESTROYED only applies to that rectangle. This extension as well as EGL_BUFFER_PRESERVED allow major optimizations on surfaceflinger, which can redraw only the dirty area during compositing. However, ANDROID_swap_rectangle allows further optimizations in EGL by reducing the amount of copy-back needed. ANDROID_swap_rectangle is particularily important for software implementations.
* | | move opengl/include/EGL/android_natives.h to ↵Mathias Agopian2009-05-052-4/+1
| | | | | | | | | | | | | | | | | | include/ui/egl/android_natives.h and don't include it from egl.h the android_native_ types are just forward declared in egl.h
* | | removed the "bits" attribute from android_native_buffer_t.Mathias Agopian2009-05-051-2/+3
| | | | | | | | | | | | "bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
* | | minor clean-up in FramebufferNativeWindowMathias Agopian2009-05-042-8/+4
| | |
* | | update surfaceflinger, libui and libagl to the new gralloc apiMathias Agopian2009-05-0419-159/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Merge commit 'goog/master' into merge_masterMathias Agopian2009-04-303-3/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libs/surfaceflinger/Layer.cpp libs/surfaceflinger/SurfaceFlinger.cpp opengl/libagl/egl.cpp opengl/libs/EGL/egl.cpp opengl/libs/GLES_CM/gl.cpp opengl/libs/GLES_CM/gl_api.in opengl/libs/gl_entries.in opengl/libs/tools/glapigen
| * | am 0124a15: Merge change 626 into donutAndroid (Google) Code Review2009-04-294-5/+19
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '0124a150157d69a9f0ea109be2390afb5399b8a7' * commit '0124a150157d69a9f0ea109be2390afb5399b8a7': fix 1803886 android15 Translucent GLSurfaceView demo does not display properly
| | * fix 1803886 android15 Translucent GLSurfaceView demo does not display properlyMathias Agopian2009-04-274-5/+19
| | |
| | * AI 143172: am: CL 142875 [1732012] for some reason these files didn't go ↵Mathias Agopian2009-03-272-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | through in the preview check-in. Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143172
| | * AI 143171: am: CL 142873 fix [1732012] Only show screen rotation animation ↵Mathias Agopian2009-03-274-23/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | when triggered by sensor Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143171
| | * AI 143160: am: CL 142856 new-new-new-new rotation animation. it may still ↵Mathias Agopian2009-03-2711-77/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | change one more time. Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143160
| | * Automated import from //branches/donutburger/...@142446,142446Mathias Agopian2009-03-246-113/+105
| | |
| | * Automated import from //branches/donutburger/...@142430,142430Mathias Agopian2009-03-241-5/+7
| | |
| | * Automated import from //branches/donutburger/...@141502,141502Mathias Agopian2009-03-246-105/+113
| | |
| | * Automated import from //branches/donutburger/...@140807,140807Mathias Agopian2009-03-242-186/+23
| | |