You could do it by setting the system property
debug.sf.hw to 0, I guess.
See:
/frameworks/base/services/surfaceflinger/DisplayHardware/
DisplayHardware.cpp
if (property_get("debug.sf.hw", property, NULL) > 0) {
if (atoi(property) == 0) {
LOGW("H/W composition disabled");
:
On Dec 2, 11:17 am, Girish <[email protected]> wrote:
> Dear experts,
>
> Is there any way to disable the hardware overlay in android phones and
> do the rendering of videos and camera as is it done for other
> applications using framebuffer.
>
> My understanding of the current architecture is below.
>
> ***************
> * Frame *===========> **********************
> * Buffer * * *
> * * * *
> *************** * H/W *
> * Composition *
> *
> *
> *************** * *
> * Overlay *===========> * *
> * * * *******************
> ***************
>
> Kindly let me know if this is possible. Suggest me a solution as well.
>
> Regards
> Girish
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting