| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
optimizations, choose UPDATE_ON_DEMAND which is often more efficient.
|
| | | |
|
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | | |
debug binder codes too
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
hacks added recently
|
| | | |
|
| | |
| | |
| | |
| | | |
video again
|
| | |
| | |
| | |
| | | |
resulted in some attributes (size/pos) to fail to be set
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit 'c6282977180c220b1a68c23a328e7d75a11963ab'
* commit 'c6282977180c220b1a68c23a328e7d75a11963ab':
Fix sim-eng build and simplify previous lcd-density related patch
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit 'b1cdb64877ebd3b8c5182913ff02edd8b54a6982'
* commit 'b1cdb64877ebd3b8c5182913ff02edd8b54a6982':
Allow the qemu.sf.lcd_density property to override the value of ro.sf.lcd_density
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit 'b61ae351256518add7bcb40e0bf18337dd87195c'
* commit 'b61ae351256518add7bcb40e0bf18337dd87195c':
log the geomerty of surfaces causing an out of memory in SurfaceFlinger.
|
| | | |
|
| | |
| | |
| | |
| | | |
destroyed
|
| | |
| | |
| | |
| | | |
implicitely when the message is destroyed
|
| | | |
|
| | |
| | |
| | |
| | | |
results)
|
| | | |
|
| | |
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | | |
the last one
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '69a6c3ebd46a8de0e896747757f364322c12608d'
* commit '69a6c3ebd46a8de0e896747757f364322c12608d':
split boot animation out of SurfaceFlinger
|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
data/etc/platform.xml
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
allows us to break libui's dependency on libcorecg.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
"bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '0124a150157d69a9f0ea109be2390afb5399b8a7'
* commit '0124a150157d69a9f0ea109be2390afb5399b8a7':
fix 1803886 android15 Translucent GLSurfaceView demo does not display properly
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
through in the preview check-in.
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143172
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
when triggered by sensor
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143171
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
change one more time.
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143160
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|