src/gui/egl/qeglcontext_p.h
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    82 
    82 
    83     bool makeCurrent(EGLSurface surface);
    83     bool makeCurrent(EGLSurface surface);
    84     bool doneCurrent();
    84     bool doneCurrent();
    85     bool lazyDoneCurrent();
    85     bool lazyDoneCurrent();
    86     bool swapBuffers(EGLSurface surface);
    86     bool swapBuffers(EGLSurface surface);
       
    87     bool swapBuffersRegion2NOK(EGLSurface surface, const QRegion *region);
    87 
    88 
    88     int  configAttrib(int name) const;
    89     int  configAttrib(int name) const;
    89 
    90 
    90     EGLContext context() const { return ctx; }
    91     EGLContext context() const { return ctx; }
    91     void setContext(EGLContext context) { ctx = context; ownsContext = false;}
    92     void setContext(EGLContext context) { ctx = context; ownsContext = false;}