42 #ifndef QGLPIXELBUFFER_P_H 43 #define QGLPIXELBUFFER_P_H 59 #include "QtOpenGL/qglpixelbuffer.h" 60 #include <private/qgl_p.h> 61 #include <private/qglpaintdevice_p.h> 63 #if defined(Q_WS_X11) && defined(QT_NO_EGL) 69 #if defined (Q_OS_HPUX) && defined(QT_DEFINE_GLXFBCONFIG_STRUCT) 70 typedef unsigned long GLXPbuffer;
76 int transparentRed, transparentGreen, transparentBlue, transparentAlpha;
81 int associatedVisualId;
87 int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels;
88 int optimalPbufferWidth, optimalPbufferHeight;
90 int visualSelectGroup;
103 GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
107 GLint redBits, greenBits, blueBits, alphaBits;
108 GLuint redMask, greenMask, blueMask, alphaMask;
110 GLuint multiSampleSize;
112 GLuint nMultiSampleBuffers;
120 GLdouble minRed, maxRed;
121 GLdouble minGreen, maxGreen;
122 GLdouble minBlue, maxBlue;
123 GLdouble minAlpha, maxAlpha;
128 #elif defined(Q_WS_WIN) 130 #elif !defined(QT_NO_EGL) 131 #include <QtGui/private/qegl_p.h> 144 virtual void endPaint();
157 #elif defined(Q_WS_MACX) 175 #if defined(Q_WS_X11) && defined(QT_NO_EGL) 178 #elif defined(Q_WS_WIN) 181 #if !defined(QT_OPENGL_ES) 185 #elif defined(Q_WS_MACX) 186 # ifdef QT_MAC_USE_COCOA 193 AGLContext share_ctx;
200 #elif defined(Q_WS_QPA) 209 #endif // QGLPIXELBUFFER_P_H virtual QSize size() const
virtual QPaintEngine * paintEngine() const
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QGLWidget > req_shareWidget
#define QT_END_INCLUDE_NAMESPACE
This macro is equivalent to QT_BEGIN_NAMESPACE.
static GLint stencilBits()
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QGLContext class encapsulates an OpenGL rendering context.
The QGLPixelBuffer class encapsulates an OpenGL pbuffer.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
QGLPixelBufferPrivate(QGLPixelBuffer *q)
#define Q_DECLARE_PUBLIC(Class)
#define QT_BEGIN_INCLUDE_NAMESPACE
This macro is equivalent to QT_END_NAMESPACE.
The QSize class defines the size of a two-dimensional object using integer point precision.
QGLPBufferGLPaintDevice glDevice
DECLARE_HANDLE(HPBUFFERARB)