UI Hadware acceleration

Problems with Canvas, OpenGL, etc...

UI Hadware acceleration

Postby Minorko » Thu Nov 03, 2011 3:15 pm

Hi, sorry for the bad English, I have a question. From 3 android at the interface povilas drawn on the possibility of opengl. I have included:
[*]android:hardwareAccelerated="true"
[*]getWindow().setFlags(
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); in Activity
[*]getWindow().setFlags(
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED); in Dialog
[*] setLayerType(View.LAYER_TYPE_SOFTWARE, null);

But despite all this view isHardwareAccelerated () return false. Why ?
I'm use Motorola Xoom and Acer Iconia Tab
Minorko
Freshman
Freshman
 
Posts: 6
Joined: Thu May 05, 2011 3:41 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests