1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtOpenGL classes and functions."""
10 from . import PYQT5
, PYQT6
, PYSIDE2
, PYSIDE6
13 from PyQt5
.QtOpenGL
import *
14 from PyQt5
.QtGui
import (
16 QOpenGLFramebufferObject
,
17 QOpenGLFramebufferObjectFormat
,
24 QOpenGLPixelTransferOptions
,
26 QOpenGLTextureBlitter
,
27 QOpenGLVersionProfile
,
28 QOpenGLVertexArrayObject
,
32 # These are not present on some architectures such as armhf
34 from PyQt5
.QtGui
import QOpenGLTimeMonitor
, QOpenGLTimerQuery
38 from PyQt6
.QtOpenGL
import *
39 from PyQt6
.QtGui
import QOpenGLContext
, QOpenGLContextGroup
41 from PySide6
.QtOpenGL
import *
42 from PySide6
.QtGui
import QOpenGLContext
, QOpenGLContextGroup
44 from PySide2
.QtOpenGL
import *
45 from PySide2
.QtGui
import (
47 QOpenGLFramebufferObject
,
48 QOpenGLFramebufferObjectFormat
,
55 QOpenGLPixelTransferOptions
,
57 QOpenGLTextureBlitter
,
58 QOpenGLVersionProfile
,
59 QOpenGLVertexArrayObject
,
63 # These are not present on some architectures such as armhf
65 from PySide2
.QtGui
import QOpenGLTimeMonitor
, QOpenGLTimerQuery