QtOpenGL/qglpixelbuffer.h Source File
Go to the documentation of this file.
42 #ifndef QGLPIXELBUFFER_H
43 #define QGLPIXELBUFFER_H
54 class QGLPixelBufferPrivate;
70 GLuint generateDynamicTexture()
const;
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;
89 void drawTexture(
const QRectF &target, QMacCompatGLuint textureId, QMacCompatGLenum textureTarget =
GL_TEXTURE_2D);
90 void drawTexture(
const QPointF &point, QMacCompatGLuint textureId, QMacCompatGLenum textureTarget =
GL_TEXTURE_2D);
92 void deleteTexture(QMacCompatGLuint texture_id);
102 static bool hasOpenGLPbuffers();
111 friend class QGLDrawable;
112 friend class QGLWindowSurface;
113 friend class QGLPaintDevice;
114 friend class QGLPBufferGLPaintDevice;
115 friend class QGLContextPrivate;
122 #endif // QGLPIXELBUFFER_H
GLXFBConfig Pixmap pixmap
GLenum GLsizei GLenum GLenum const GLvoid * image
#define QT_BEGIN_NAMESPACE
GLenum GLsizei GLenum format
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)(GLenum target)
typedef GLuint(APIENTRYP PFNGLCREATEPROGRAMPROC)()
GLenum GLsizei GLsizei height