OpenGL Info (Built-in Patch) in Tool, Utility

This patch retrieves information about the current OpenGL renderer and checks for the support of arbitrary OpenGL extensions.

By combining OpenGL Info with the “Enable” inputs of consumer patches and the Multiplexer patch, one can design compositions that perform differently depending on the hardware. For example, if the current OpenGL renderer does not have a lot of video memory (which likely means a low or average performance video card), smaller versions of images could be used or even entire parts of the composition workflow could be disabled.

Note that if the “Core Image Accelerated” output returns False, then Quartz Composer is using the software fallback for Core Image and performance will be affected. The composition should then switch to less complex Core Image operations in order to maintain an acceptable frame rate.

Input Attributes
None
Output Attributes
  • Renderer Vendor - Vendor of the current GL renderer.
  • Renderer Name - Name of the current GL renderer.
  • Renderer Version - Version of the current GL renderer.
  • Renderer VRAM - Number of megabytes of VRAM of the current GL renderer.
  • Texture Units - Number of available texture units.
  • Max Texture Size - Maximum supported texture size in pixels.
  • Max Render Size - Maximum rendering size in pixels.
  • Rendering Bits Per Pixel - Current rendering precision in bits per pixel.
  • Float Components Rendering - Indicates if rendering uses float components.
  • Core Image Accelerated - Indicates if Core Image is currently hardware accelerated.
  • GL_ARB_vertex_program - GL_ARB_vertex_program
  • GL_ARB_fragment_program - GL_ARB_fragment_program
0 videos
0 comments
Bf9a01b6ccc05dea53134f59ff712fee