[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Pyopengl blitting vs quads?



----- Original Message ----- 
From: "campbell barton" <ideasman@linuxmail.org>
To: <pygame-users@seul.org>
Sent: Sunday, March 09, 2003 12:44 PM
Subject: [pygame] Pyopengl blitting vs quads?


> I need fast 2D alpha images, opengl supports a kind of blitting.
> glDrawPixels( textureSurface.get_width(), textureSurface.get_height(), GL_RGBA, GL_UNSIGNED_BYTE, textureData)
> 
> Works but I cant get alphas, does anyone know weather DrawPixels is slower or faster then textures on quads?

It should be in a FAQ that glDrawPixels completely
kills performance and is not a viable technique.  I'm
using textures... but they can require a bit of work.
I haven't heard of anything better (read faster),
unfortunately.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org