From 0d5170256c1658b0f6e0d3f6c736de01655b29d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 16 Aug 2011 12:53:04 +0200 Subject: Get rid of OpenGL 1.x engine and platform code from QtOpenGL. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I646b8e26d5e7214432a044866764d57cc11b2390 Reviewed-on: http://codereview.qt.nokia.com/3006 Reviewed-by: Qt Sanity Bot Reviewed-by: Jørgen Lind --- src/opengl/qglpixelbuffer.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/opengl/qglpixelbuffer.h') diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h index 1cffb0ec0b..0c7ad38237 100644 --- a/src/opengl/qglpixelbuffer.h +++ b/src/opengl/qglpixelbuffer.h @@ -80,18 +80,6 @@ public: void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); void drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D); -#ifdef Q_MAC_COMPAT_GL_FUNCTIONS - bool bindToDynamicTexture(QMacCompatGLuint texture); - void updateDynamicTexture(QMacCompatGLuint texture_id) const; - GLuint bindTexture(const QImage &image, QMacCompatGLenum target = GL_TEXTURE_2D); - GLuint bindTexture(const QPixmap &pixmap, QMacCompatGLenum target = GL_TEXTURE_2D); - - void drawTexture(const QRectF &target, QMacCompatGLuint textureId, QMacCompatGLenum textureTarget = GL_TEXTURE_2D); - void drawTexture(const QPointF &point, QMacCompatGLuint textureId, QMacCompatGLenum textureTarget = GL_TEXTURE_2D); - - void deleteTexture(QMacCompatGLuint texture_id); -#endif - QSize size() const; Qt::HANDLE handle() const; QImage toImage() const; -- cgit v1.2.3