title: Canvas in SurfaceView - hardware acceleration
body: <p>I'm developing on ICS and trying to understand why a
  Canvas.isHardwareAccelerated() will always return FALSE when using a
  Canvas inside a SurfaceView.</p>
  
  <p>I've tried a very basic example like this:
  <a href="http://android-coding.blogspot.com/2011/05/drawing-on-surfaceview.html">http://android-coding.blogspot.com/2011/05/drawing-on-surfaceview.html</a>
  Or this one: <a href="http://jmsliu.com/199/android-canvas-example.html">http://jmsliu.com/199/android-canvas-example.html</a></p>
  
  <p>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"
  developer.android.com/guide/topics/graphics/hardware-accel.html
  but I'm not doing any of that.</p>
  
  <p>I am using the Force GPU rendering flag inside the Developer Options
  together with 
  inside the manifests, also I'm specifying minSDK/targetSDK >= 14.</p>
  
  <p>The View.isHardwareAccelerated will return TRUE, while the
  Canvas.isHardwareAccelerated will return always FALSE.</p>
  
  <p>I've seen that Canvas.java has hard-codeded return false for isHardwareAccelerated(), while HardwareCanvas.java has return true. I guess for some reasons I'm not getting the HW path, why?</p>
  
  <p>Can a Canvas inside a SurfaceView be HW accelerated?</p>
  
  <p>Thanks</p>