Hi
I am trying to write a 2d user interface for the simple game engine I am coding.
I am wanting to reprisent each element of the UI ( buttons menus etc) as simple bitmaps.
What is the best way to draw these 2D elements in opengl?
Using glDrawPixels seems to be painfully slow and if I draw them as a textured quad the size of the texture is limited to 2^n x 2^n which increases the size of my files hugely.
Why is glDrawPixels so slow? it seems very strange that it is faster to transform, texturemap and draw a quad than to blit the pixels straight ot the frame-buffer.
Can anyone offer advice on what is the best way to render these 2D elements.
Many Thanks
Murray