On Mon, Dec 22, 2008 at 7:54 PM, jc <[email protected]> wrote:

>
> Hi,
> Does turning an image into a sprite speed up blit speeds very much?
> I'm getting very large slowdowns on the first blit using image.blit().
>

This question already came up earlier today, have a look at the last few
posts.

The first blit causes the image to be loaded into a texture, which takes
some time. if you call image.get_texture(), you force the texture to be
loaded immediately, allowing you to control when that time is taken.


>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

  • blit jc
    • Re: blit Tristam MacDonald

Reply via email to