src/opengl/qglframebufferobject.h
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   106     Attachment attachment() const;
   106     Attachment attachment() const;
   107 
   107 
   108     QPaintEngine *paintEngine() const;
   108     QPaintEngine *paintEngine() const;
   109     GLuint handle() const;
   109     GLuint handle() const;
   110 
   110 
       
   111     static bool bindDefault();
       
   112 
   111     static bool hasOpenGLFramebufferObjects();
   113     static bool hasOpenGLFramebufferObjects();
   112 
   114 
   113     void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D);
   115     void drawTexture(const QRectF &target, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D);
   114     void drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D);
   116     void drawTexture(const QPointF &point, GLuint textureId, GLenum textureTarget = GL_TEXTURE_2D);
   115 #ifdef Q_MAC_COMPAT_GL_FUNCTIONS
   117 #ifdef Q_MAC_COMPAT_GL_FUNCTIONS