how can display the bmp in memory into window ?

how can display the bmp in memory into window ?

(slow + easy) glDrawPixels
or
(fast, bit more complex) texture map it to a quad

gav