Add libhwui, to hardware accelerate the Canvas API using OpenGL ES 2.0.
This is the initial checkin to setup the library and turn on OEGL ES 2.0 in ViewRoot, not a functional renderer. Change-Id: I6655c54166e2967da2e21e7d6dcfba78bf113b44
Showing
- core/java/android/view/GLES20Canvas.java 542 additions, 0 deletionscore/java/android/view/GLES20Canvas.java
- core/java/android/view/HardwareRenderer.java 21 additions, 11 deletionscore/java/android/view/HardwareRenderer.java
- core/java/android/view/ViewRoot.java 18 additions, 13 deletionscore/java/android/view/ViewRoot.java
- core/jni/Android.mk 5 additions, 2 deletionscore/jni/Android.mk
- core/jni/AndroidRuntime.cpp 2 additions, 0 deletionscore/jni/AndroidRuntime.cpp
- core/jni/android_view_GLES20Canvas.cpp 71 additions, 0 deletionscore/jni/android_view_GLES20Canvas.cpp
- libs/hwui/Android.mk 12 additions, 0 deletionslibs/hwui/Android.mk
- libs/hwui/MODULE_LICENSE_APACHE2 0 additions, 0 deletionslibs/hwui/MODULE_LICENSE_APACHE2
- libs/hwui/NOTICE 190 additions, 0 deletionslibs/hwui/NOTICE
- libs/hwui/UIOpenGLRenderer.cpp 49 additions, 0 deletionslibs/hwui/UIOpenGLRenderer.cpp
- libs/hwui/UIOpenGLRenderer.h 33 additions, 0 deletionslibs/hwui/UIOpenGLRenderer.h
- tests/HwAccelerationTest/AndroidManifest.xml 3 additions, 1 deletiontests/HwAccelerationTest/AndroidManifest.xml
Loading
Please register or sign in to comment