;-)
// Wigren
Gustavo Sverzut Barbieri wrote:
I can imagine doing that conversion in python is painful, but there sould be a way. I'll look for it in pygame docs, maybe someone could ask for it there?
or, as you said, do some extern C code to do that, maybe with mmx and stuff.
however, if you can get myscreen->surface and myscreen is RGBA, it's done.
Gustavo
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu:
Gustavo Sverzut Barbieri wrote:
--- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo SverzutBarbieri
wrote:with
How/Why is it slow?
is the bmovl slow? Is our interface with it? Maybe we can come
matteraPyGame doesn't do that in C? Getting a RGBA from SDL is just a
better solution somewhere...We have to transform the SDL surface into a RGBA32 stream. This is
very slow in Python, maybe a C helper with python bindings can do
this
faster (very sure, because the biggest problems seems to be the
memory
management).
of (int32_t *)mysurface->surface
There is no function to convert a surface into RGBA (at least I found none). So a made one myself in python and this is really slow.
Dischi
-- Drinking coffee for instant relaxation? That's like drinking alcohol for instant motor skills. -- Marc Price
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel
Yahoo! Mail - o melhor webmail do Brasil http://mail.yahoo.com.br
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel