56 #include "vtkRenderingOpenGLModule.h"
129 #ifndef vtkOpenGLExtensionManager_h
130 #define vtkOpenGLExtensionManager_h
141 typedef int (WINAPI *vtkOpenGLExtensionManagerFunctionPointer)(void);
143 typedef void (*vtkOpenGLExtensionManagerFunctionPointer)(void);
434 #endif // vtkOpenGLExtensionManager_h
virtual bool DriverGLVersionIs(int major, int minor, int patch)
Test for the driver's GL version as reported in its GL_VERSION string.
virtual bool DriverGLRendererHasToken(const char *str)
Test for a specific renderer.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void InitializeDriverInformation()
std::string DriverGLVersion
record modification and/or execution time
virtual int GetDriverVersionMajor()
Return the driver's version parts.
vtkRenderWindow * GetRenderWindow()
virtual void SetRenderWindow(vtkRenderWindow *renwin)
virtual void Update()
Updates the extensions string.
virtual bool DriverIsMesa()
Test's for common implementors of rendering drivers.
virtual ~vtkOpenGLExtensionManager()
virtual int ExtensionSupported(const char *name)
Returns true if the extension is supported, false otherwise.
virtual bool DriverIsMicrosoft()
Test's for common implementors of rendering drivers.
virtual int GetDriverGLVersionPatch()
vtkOpenGLExtensionManager()
std::string DriverGLRenderer
virtual void LoadCorePromotedExtension(const char *name)
Loads all the functions associated with the given core-promoted extension into the appropriate static...
virtual void LoadExtension(const char *name)
Loads all the functions associated with the given extension into the appropriate static members of vt...
virtual const char * GetDriverGLRenderer()
virtual bool DriverGLRendererHas(const char *str)
Test for a specific renderer.
virtual const char * GetDriverGLVendor()
Get the OpenGL version, vendor and renderer strings.
a simple class to control print indentation
virtual void ReadOpenGLExtensions()
a weak reference to a vtkObject.
virtual int SafeLoadExtension(const char *name)
Wrap around the generated vtkgl::LoadExtension to deal with OpenGL 1.2 and its optional part GL_ARB_i...
virtual int GetDriverGLVersionMinor()
virtual vtkOpenGLExtensionManagerFunctionPointer GetProcAddress(const char *fname)
Returns a function pointer to the OpenGL extension function with the given name.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Interface class for querying and using OpenGL extensions.
virtual bool DriverGLRendererIs(const char *str)
Test for a specific renderer.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkWeakPointer< vtkRenderWindow > RenderWindow
virtual bool DriverIsNvidia()
Test's for common implementors of rendering drivers.
create a window for renderers to draw into
virtual int GetDriverVersionMinor()
std::string DriverGLVendor
virtual bool DriverGLRendererIsOSMesa()
Test for Mesa's offscreen renderer.
virtual bool DriverVersionAtLeast(int major)
Test for driver version greater than or equal to the named version.
virtual int GetDriverGLVersionMajor()
Get GL API version that the driver provides.
bool GetIgnoreDriverBugs(const char *description)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual int GetDriverVersionPatch()
virtual bool DriverIsATI()
Test's for common implementors of rendering drivers.
DriverGLVendorIdType DriverGLVendorId
virtual bool DriverIsIntel()
Test's for common implementors of rendering drivers.
virtual bool DriverVersionIs(int major)
Test for a specific driver version.
virtual void LoadAsARBExtension(const char *name)
Similar to LoadCorePromotedExtension().
virtual const char * GetDriverGLVersion()
virtual int LoadSupportedExtension(const char *name)
Returns true if the extension is supported and loaded successfully, false otherwise.