Surfaces are always hardware accelerated in the sense that we use the GPU
and/or other hardware chips to composite them on screen. This means all
windows on Android behave this way. If you use a Canvas on a SurfaceView,
the Canvas itself will still perform software rendering.


On Wed, Nov 21, 2012 at 9:21 AM, Francisco Marzoa <[email protected]>wrote:

> According to Mario Zechner's book "Beginning Android Games", you need a
> SurfaceView so you can render from a thread different from the UI one, and
> also because the Surface may be hardware accelerated.
>
> Bests,
>
> On 11/21/2012 05:26 PM, bob wrote:
>
>>
>> Can someone tell me in layman's terms why you would use a SurfaceView
>> instead of a View when making a game?
>>
>>
>> Is it because a dual-core can distribute the load better?
>>
>>
>> --
>> 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 <[email protected]>
>> To unsubscribe from this group, send email to
>> android-developers+**[email protected]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>
>
> --
> 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<[email protected]>
> To unsubscribe from this group, send email to
> android-developers+**[email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>



-- 
Romain Guy
Android framework engineer
[email protected]

-- 
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