Jump to content
  • Advertisement
Sign in to follow this  
wixor

OpenGL point antialiasing impact on glBitmap

This topic is 4335 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

Hi all, I'm using glut bitmap fonts to display text in my app. I've discovered that point anti aliasing has a great impact on glBitmap performance - when disabled i get 332fps (eating up 99% of my athlon64 2ghz cpu). When enabled i get only 157fps (also eating up full cpu power). Consulting to the docs (opengl.org): "A bitmap is a binary image. When drawn, the bitmap is positioned relative to the current raster position, and frame buffer pixels corresponding to 1's in the bitmap are written using the current raster color or index. Frame buffer pixels corresponding to 0's in the bitmap are not modified." Now, how altering framebuffer pixels has to do with antialiasing? (of course there is no visual difference between 'anti aliased' and 'non-anti aliased' glBitmap). I'm running 64-bit debian on athlon64 2ghz, gpu is ati radeon x1300 and the driver is ati fglrx 8.31.5 (also 64bit version) on xorg 7.0. hw acceleration works (somehow.... the driver likes to crush in some circumstances).

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!