Re: [android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-11 Thread Romain Guy
Hardware accelerated Canvas through SurfaceView is currently not
planned, at least not in J.

On Wed, May 9, 2012 at 10:30 AM, Simon Edström
simon.edst...@screeninteraction.com wrote:
 Will SurfaceView ever support hardware acceleration? If yes, when?
 Since hardware acceleration was introduced in 3.0 you would think that
 the SurfaceView should be supported in ICS.

 I'm currently working on an application that involves a SurfaceView
 that runs very slow on big screens (ex. HTC One X) and would really
 need some hardware acceleration.

 Thanks!

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



-- 
Romain Guy
Android framework engineer
romain...@android.com

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


[android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-10 Thread Simon Edström
Will SurfaceView ever support hardware acceleration? If yes, when?
Since hardware acceleration was introduced in 3.0 you would think that
the SurfaceView should be supported in ICS.

I'm currently working on an application that involves a SurfaceView
that runs very slow on big screens (ex. HTC One X) and would really
need some hardware acceleration.

Thanks!

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


Re: [android-developers] Will SurfaceView ever support hardware acceleration?

2012-05-10 Thread Dianne Hackborn
Recommendation is to use OpenGL.  If you are using Canvas for your drawing
in a SurfaceView, you aren't really gaining anything over just not using a
SurfaceView.  If you are using SurfaceView for performance reasons, you
should prefer to use OpenGL to avoid the overhead of translating Canvas
operations to OpenGL rendering.

On Wed, May 9, 2012 at 10:30 AM, Simon Edström 
simon.edst...@screeninteraction.com wrote:

 Will SurfaceView ever support hardware acceleration? If yes, when?
 Since hardware acceleration was introduced in 3.0 you would think that
 the SurfaceView should be supported in ICS.

 I'm currently working on an application that involves a SurfaceView
 that runs very slow on big screens (ex. HTC One X) and would really
 need some hardware acceleration.

 Thanks!

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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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