Painting to a bitmap and copying to the canvas works fine and is ideal for
what you're doing. No need to clear your bitmap between frames.
On 19 Feb 2011 14:59, "MobileVisuals" <eyv...@astralvisuals.com> wrote:
> I can't paint the whole screen for every frame, since the animation is
> based on new polygons painting over the old ones. This creates a
> pattern. If I painted over the old polygons, there would be no
> pattern.
>
> Peter Webb, you suggested that I should paint everything to a Bitmap.
> Wouldn't that be too slow for an animation? I mean I would have to
> create a new fullsize Bitmap for every frame.
> -------------------------------
> Sorry for the old redundant postings in this thread. They got posted
> by mistake, since I tried to create a new thread, when it seemed like
> the earlier thread was not posted.
>
>
>
>
>
>
> On Feb 19, 10:49 am, MobileVisuals <eyv...@astralvisuals.com> wrote:
>> Which approach to you think is the best for implementing double
>> buffering?
>
> --
> 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

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

Reply via email to