Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Use OpenGL using QGLWidget of Qt. with DRI (Direct Rendering Infrastructure) turned on.
For a window of 1200x1000 I could achieve Frame Rate = 57 frames per second.
For a window of 1200x400 I could acheive Frame Rate = 150 frames per second
I have copied a texture using glTexImage2D
each frame I am updating the texture using glTexSubImage2D
I have enabled automatic tex-coordinate generation
then set proper functions for S an T coordinates.
then simply drawing a QUAD to flash the texture on the screen.
The distinction between OpenGL or SDL is not of much use if you talk about 3D. SDL uses OpenGL for 3D acceleration.
Also, higher framerates are always good for two reasons:
1. The user of your app may have a less powerful 3D card, so if you optimize you app for high framerates the user may still have a good experience.
2. If you get high framerates you can activate image enhancing features, like anti-aliasing and anisotropic filtering.