42 #ifndef QGLPIXELBUFFER_H 43 #define QGLPIXELBUFFER_H 45 #include <QtOpenGL/qgl.h> 46 #include <QtGui/qpaintdevice.h> 70 GLuint generateDynamicTexture()
const;
71 bool bindToDynamicTexture(GLuint texture);
72 void releaseFromDynamicTexture();
73 void updateDynamicTexture(GLuint texture_id)
const;
78 void deleteTexture(GLuint texture_id);
83 #ifdef Q_MAC_COMPAT_GL_FUNCTIONS 84 bool bindToDynamicTexture(QMacCompatGLuint texture);
85 void updateDynamicTexture(QMacCompatGLuint texture_id)
const;
92 void deleteTexture(QMacCompatGLuint texture_id);
102 static bool hasOpenGLPbuffers();
122 #endif // QGLPIXELBUFFER_H
#define QT_END_NAMESPACE
This macro expands to.
The QPointF class defines a point in the plane using floating point precision.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QImage class provides a hardware-independent image representation that allows direct access to th...
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...
static void drawTexture(const QRectF &rect, GLuint tex_id, const QSize &texSize, const QRectF &src=QRectF())
virtual QPaintEngine * paintEngine() const =0
virtual int metric(PaintDeviceMetric metric) const
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
static QString fileName(const QString &fileUrl)