Hi,

I'm developing on ICS and trying to understand why a
Canvas.isHardwareAccelerated() will always return FALSE when using a
Canvas inside a SurfaceView.

I've tried a very basic example like this:
http://android-coding.blogspot.com/2011/05/drawing-on-surfaceview.html
Or this one: http://jmsliu.com/199/android-canvas-example.html

I even modified them to not have any canvas calls inside the draw loop
thinking that I might have got in some unsupported HW accel operations
for certain drawing calls.
I checked this list under "Unsupported Drawing Operations"
http://developer.android.com/guide/topics/graphics/hardware-accel.html
but I'm not doing any of that.

I am using the Force GPU rendering flag inside the Developer Options
together with <application android:hardwareAccelerated="true" ...>
inside the manifests, also I'm specifying minSDK/targetSDK >= 14.

The View.isHardwareAccelerated will return TRUE, while the
Canvas.isHardwareAccelerated will return always FALSE.

So my question is, can a Canvas inside a SurfaceView be HW
accelerated?

Thanks,
N

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to