• Content count

  • Joined

  • Last visited

Community Reputation

108 Neutral

About ziashan

  • Rank
  1. OpenGL font rendering

    I've had good results using glfont. It is fairly simple to integrate into a project and is fast. I've used it on Windows and Linux, but see no reason why it won't work on OS X. The only causion is that the routine for reading the font file requires a slight modification on 64-bit machines (the use of sizeof causes a problem becuase the format of the file is based on 32-bit data types).
  2. OpenGL OpenGL TTF (theory)

    Have you considered using glfont? I found it was quite simple to integrate into my application and it works great (and fast).
  3. [quote name='Kaptein' timestamp='1354907032' post='5008194'] Maybe i'm jaded, but whenever i encounter the words intel and integrated, I move on, and never look back [/quote] I have to agree with you, the intel graphics have been a real thorn in my side. Unfortunately i'm stuck with them. I tried changing the GL_PACK/UNPACK_ALIGNMENT? and different formats (e.g. GL_RGBA8), but still no luck.
  4. I am taking screen captures of an OpenGL application in real-time using glReadPixels() and experiencing a performance issue. I've followed the advice provided here: [url="http://www.gamedev.net/topic/351860-taking-screenshots-using-glreadpixels/"]http://www.gamedev.n...g-glreadpixels/[/url] and here: [url="http://www.gamedev.net/topic/575590-real-time-opengl-screen-capture/"]http://www.gamedev.n...screen-capture/[/url] where samoth had the excellent suggestion to use PBO's, so I implemented his approach based on the information provided here: [url="http://www.songho.ca/opengl/gl_pbo.html"]http://www.songho.ca...ngl/gl_pbo.html[/url] This works great on a Windows 7 system with AMD FirePro M5950 graphics and a very old Ubuntu 12.04 system with Radeon RV250 [Mobility FireGL 9000] graphics, but chokes on new Ubuntu 12.04 system with integrated Intel graphics. glReadPixels() takes >600ms to return even though (as I understand it) it should return immediately due to the asynchronous PBO use. I'm using GLEW for the OpenGL extensions and it appears that the graphics drivers support the GL_ARB_pixel_buffer_object extension. Any ideas? somoth mentioned that supplying wrong PBO flags can cause stalls, but i don't know what those might be.