Hi,

Canvas (except on Android 3.0 and up, if you enable it) does not us hardware
acceleration. If you want bilinear filtering, just enable it in the Paint
you're using to draw the bitmap with Paint.setFilterBitmap(true).

On Mon, Feb 28, 2011 at 3:04 AM, Nilly <[email protected]> wrote:

> Hi All,
>
> I am using canvas class and bitmap to draw on screen. I am doing
> scaling using canvas class but it seems it is doing pixel duplication
> not interpolation or not in hardware.
>
> Is there any way to do scaling in hardware?
>
> Regards,
> Niral
>
> --
> 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
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 [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