Groups
Groups
Sign in
Groups
Groups
android-platform
Conversations
About
Send feedback
Help
Disable hardware overlays on Android
850 views
Skip to first unread message
Annie
unread,
Aug 23, 2011, 1:59:35 PM
8/23/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
Hi,
Is it possible to disable hardware overlays on Android so that it
reverts back to being done in software ?
Thanks
Annie
Hemanth(ヘマント)
unread,
Aug 25, 2011, 12:14:27 AM
8/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
Hi,
I'm not sure if this is what you need.
You can disable h/w acceleration by setting the system property
debug.sf.hw to 0.
125 // debug: disable h/w rendering
126 char property[PROPERTY_VALUE_MAX];
127 if (property_get("debug.sf.hw", property, NULL) > 0) {
128 if (atoi(property) == 0) {
129 LOGW("H/W composition disabled");
130 attribs[2] = EGL_CONFIG_CAVEAT;
131 attribs[3] = EGL_SLOW_CONFIG;
132 }
133 }
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/surfaceflinger/DisplayHardware/DisplayHardware.cpp;h=818774d98ae8e4d071417db7f49c02deeb0d4d6f;hb=HEAD
Reply all
Reply to author
Forward
0 new messages