• Advertisement
Sign in to follow this  

Help - Slow glDrawPixels on ATI cards

This topic is 4147 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all. I need to display hi-rez (1024) video as a background. I dump the pixels to the screen with glDrawPixels. On nVidia cards this takes around 5.5ms, which is great. On ATI cards this can take up to 22ms, which is way too slow. What to do ? Is there a way to speed up glDrawPixels ? Thanks !

Share this post


Link to post
Share on other sites
Advertisement
DrawPixels has some implementation dependent performance differences among OpenGL implementations, like color channel ordering, for example BGRA vs RGBA.
Also make sure you disabled all raster operations which are not needed, like depth test, lighting, esp. shaders.
That said, the standard answer to improve rendering perfomance of an image backdrop is to download it as a texture once and render a pixel aligned textured quad per frame.
This is expected to perform at better speeds than DrawPixels on each implementation.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement