Page MenuHome

BGE code cleanup: Removing RAS_GLExtensionManager.
ClosedPublic

Authored by Mitchell Stokes (moguri) on Mar 31 2014, 3:38 AM.

Details

Summary

This class did nothing but print out extensions if they were found.
Instead, the code from bge.logic.PrintGLInfo() is now printed as the
Rasterizer is initialized. This gives better information, and it removes
some GL code from KX_PythonInit.cpp (the PrintGLInfo method now calls
the Rasterizer to print the information).

Diff Detail

Repository
rB Blender

Event Timeline

The main part that I would like reviewed is the output. At the moment I do not find it very user friendly, and it can be misleading (just because GL_VERSION reports OpenGL 4.4 support, doesn't mean we're actually using OpenGL 4.4). Here is example output from my machine:

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GT 425M/PCIe/SSE2
GL_VERSION:  4.4.0 NVIDIA 334.21
Supported Extensions...
 GL_ARB_shader_objects supported?       yes.
 GL_ARB_vertex_shader supported?        yes.
 ----------Details----------
  Max uniform components.4096
  Max varying floats.124
  Max vertex texture units.32
  Max combined texture units.192

 GL_ARB_fragment_shader supported?      yes.
 ----------Details----------
  Max uniform components.2048

 GL_ARB_texture_cube_map supported?     yes.
 ----------Details----------
  Max cubemap size.16384

 GL_ARB_multitexture supported?         yes.
 ----------Details----------
  Max texture units available.  4

 GL_ARB_texture_env_combine supported?  yes.
 GL_ARB_texture_non_power_of_two supported  yes.
This revision is now accepted and ready to land.Feb 4 2015, 8:40 PM
This revision was automatically updated to reflect the committed changes.