Author Topic: Welcome to QB64 GL!  (Read 1263 times)

Galleon

  • Administrator
  • Hero Member
  • *****
  • Posts: 4707
  • QB Forever
    • Email
Welcome to QB64 GL!
« on: July 03, 2012, 07:31:36 PM »
What is QB64 GL?
At first glance you might think it's just about integrating OpenGL into QB64. It's not. QB64 GL is a radically different base/core for QB64.

Why QB64 GL?
QB64 GL's primary purpose is to ensure QB64's portability into the future on any OS which supports C++. QB64 GL will become the future QB64. The current QB64 core will be scrapped as soon as QB64 GL's features meet/exceed QB64's current capabilities. This in no way will require changes to existing QB64 code or the QB64 language.

Why OpenGL?
Although QB64's internals do not require OpenGL at the end of the day hardware acceleration of graphics is important and the most portable, platform independent way to achieve this, regardless or whether it be 2D or 3D, is OpenGL. It's critical that QB64 be able to work with OpenGL.

What's all this talk about "small parts"?
As you are probably aware the current version of QB64 is heavily dependent on the SDL library. So much so that QB64 would have needed to wait till SDL was ported to a new OS before QB64 had a hope of supporting it.  This brings up questions like "What would happen if work on SDL stagnated?". The small parts approach uses standalone open source code to achieve the same functionality as SDL. But because there is no dependence between these "parts" they can easily be replaced by more effective routines should they prove buggy, inadequate or just not compatible with certain a OS and it would not have any impact on the rest of QB64's sub-systems. Some examples of "small parts" would include a 'jpg decoder' or a 'sound frequency conversion' library.
« Last Edit: January 17, 2013, 03:37:38 PM by Galleon »
Something old... Something new... Something borrowed... Something blue...