Go to the documentation of this file.
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 void LoadAsARBExtension(const char *name)
Similar to LoadCorePromotedExtension().
virtual bool DriverVersionIs(int major)
Test for a specific driver version.
virtual void InitializeDriverInformation()
Updates the extensions string.
virtual const char * GetDriverGLVersion()
Updates the extensions string.
virtual bool DriverIsMesa()
Updates the extensions string.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
abstract base class for most VTK objects
virtual bool DriverGLRendererHasToken(const char *str)
Updates the extensions string.
vtkOpenGLExtensionManager()
Updates the extensions string.
int DriverVersionMinor
Updates the extensions string.
char * ExtensionsString
Updates the extensions string.
virtual const char * GetDriverGLRenderer()
Updates the extensions string.
virtual void SetRenderWindow(vtkRenderWindow *renwin)
Updates the extensions string.
virtual bool DriverIsMicrosoft()
Updates the extensions string.
int DriverVersionPatch
Updates the extensions string.
std::string DriverGLVersion
Updates the extensions string.
vtkRenderWindow * GetRenderWindow()
Updates the extensions string.
virtual int ExtensionSupported(const char *name)
Returns true if the extension is supported, false otherwise.
virtual void LoadExtension(const char *name)
Loads all the functions associated with the given extension into the appropriate static members of vt...
virtual int GetDriverVersionMajor()
Return the driver's version parts.
virtual void LoadCorePromotedExtension(const char *name)
Loads all the functions associated with the given core-promoted extension into the appropriate static...
int DriverGLVersionPatch
Updates the extensions string.
Interface class for querying and using OpenGL extensions.
virtual int GetDriverGLVersionPatch()
Updates the extensions string.
virtual void Update()
Updates the extensions string.
std::string DriverGLRenderer
Updates the extensions string.
virtual ~vtkOpenGLExtensionManager()
Updates the extensions string.
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...
DriverGLVendorIdType
Updates the extensions string.
virtual bool DriverGLRendererHas(const char *str)
Updates the extensions string.
virtual int GetDriverGLVersionMinor()
Updates the extensions string.
virtual vtkOpenGLExtensionManagerFunctionPointer GetProcAddress(const char *fname)
Returns a function pointer to the OpenGL extension function with the given name.
virtual void ReadOpenGLExtensions()
Updates the extensions string.
bool IgnoreDriverBugs
Updates the extensions string.
a simple class to control print indentation
int OwnRenderWindow
Updates the extensions string.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual const char * GetDriverGLVendor()
Get the OpenGL version, vendor and renderer strings.
virtual bool DriverVersionAtLeast(int major)
Test for driver version greater than or equal to the named version.
virtual bool DriverIsNvidia()
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual int GetDriverVersionMinor()
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int DriverGLVersionMajor
Updates the extensions string.
int DriverGLVersionMinor
Updates the extensions string.
virtual bool DriverGLRendererIs(const char *str)
Test for a specific renderer.
@ DRIVER_VENDOR_MICROSOFT
virtual int LoadSupportedExtension(const char *name)
Returns true if the extension is supported and loaded successfully, false otherwise.
virtual int GetDriverVersionPatch()
Updates the extensions string.
create a window for renderers to draw into
bool GetIgnoreDriverBugs(const char *description)
When set known driver bugs are ignored during driver feature detection.
std::string DriverGLVendor
Updates the extensions string.
virtual bool DriverIsIntel()
Updates the extensions string.
virtual bool DriverGLRendererIsOSMesa()
Test for Mesa's offscreen renderer.
virtual int GetDriverGLVersionMajor()
Get GL API version that the driver provides.
virtual bool DriverIsATI()
Test's for common implementors of rendering drivers.
vtkTimeStamp BuildTime
Updates the extensions string.
virtual bool DriverGLVersionIs(int major, int minor, int patch)
Test for the driver's GL version as reported in its GL_VERSION string.
int DriverVersionMajor
Updates the extensions string.
DriverGLVendorIdType DriverGLVendorId
Updates the extensions string.