3 ms·
It seems the canvas will be hardware-accelerated. http://developer.android.com/sdk/android-3.0-highlights.html http://developer.android.com/sdk/android-3.0-hig
by ntoshev 16y ago
It seems the canvas will be hardware-accelerated.
http://developer.android.com/sdk/android-3.0-highlights.html http://developer.android.com/sdk/android-3.0-highlights.html
Hardware-accelerated 2D graphics
Android 3.0 offers a new hardware-accelerated OpenGL renderer that gives a performance boost to many common graphics operations for applications running in the Android framework. When the renderer is enabled, most operations in Canvas, Paint, Xfermode, ColorFilter, Shader, and Camera are accelerated. Developers can control how hardware-acceleration is applied at every level, from enabling it globally in an application to enabling it in specific Activities and Views inside the application.
- nl 16y agoI think that refers to the Java SDK Canvas (http://developer.android.com/reference/android/graphics/Canvas.html http://developer.android.com/reference/android/graphics/Canv...), not the HTML5 Canvas. The Android browser uses Skia (http://code.google.com/p/skia/ http://code.google.com/p/skia/) for graphics support, and it is possible that is accelerated in Android 3 - which would presumably mean HTML5 Canvas is too.