[Android] Use hardware acceleration for the 2D rendering pipeline (Android 3.0+)

Ludovic Fauvet git at videolan.org
Mon Apr 16 00:20:50 CEST 2012


android | branch: master | Ludovic Fauvet <etix at l0cal.com> | Mon Apr 16 00:15:20 2012 +0200| [3d669f24421b9e4f697313d31d410d5c7a5d8c91] | committer: Ludovic Fauvet

Use hardware acceleration for the 2D rendering pipeline (Android 3.0+)

Feel free to revert if it breaks on your device.
http://developer.android.com/guide/topics/graphics/hardware-accel.html

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=3d669f24421b9e4f697313d31d410d5c7a5d8c91
---

 vlc-android/AndroidManifest.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index acd1d3e..0922039 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -18,7 +18,8 @@
     <application
         android:debuggable="true"
         android:icon="@drawable/icon"
-        android:label="@string/app_name" >
+        android:label="@string/app_name"
+        android:hardwareAccelerated="true" >
         <activity
             android:name=".gui.MainActivity"
             android:configChanges="orientation"



More information about the Android mailing list