Changeset 769 for trunk/src/gui/egl/qegl_p.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/egl/qegl_p.h
r651 r769 87 87 void setApi(QEgl::API api) { apiType = api; } 88 88 89 bool openDisplay(QPaintDevice *device);90 89 bool chooseConfig(const QEglProperties& properties, QEgl::PixelFormatMatch match = QEgl::ExactPixelFormat); 91 90 bool createContext(QEglContext *shareContext = 0, const QEglProperties *properties = 0); 91 void destroyContext(); 92 92 EGLSurface createSurface(QPaintDevice *device, const QEglProperties *properties = 0); 93 93 void destroySurface(EGLSurface surface); 94 95 void destroy();96 94 97 95 bool makeCurrent(EGLSurface surface); … … 105 103 bool configAttrib(int name, EGLint *value) const; 106 104 107 static void clearError() { eglGetError(); }108 static EGLint error() { return eglGetError(); }105 static void clearError(); 106 static EGLint error(); 109 107 static QString errorString(EGLint code); 110 108 111 EGLDisplay display() const { return dpy; }109 static EGLDisplay display(); 112 110 113 111 EGLContext context() const { return ctx; } … … 119 117 QEglProperties configProperties(EGLConfig cfg = 0) const; 120 118 121 static EGLDisplay defaultDisplay(QPaintDevice *device);122 123 119 void dumpAllConfigs(); 124 120 … … 128 124 private: 129 125 QEgl::API apiType; 130 EGLDisplay dpy;131 126 EGLContext ctx; 132 127 EGLConfig cfg; … … 136 131 bool sharing; 137 132 138 static EGLDisplay getDisplay(QPaintDevice *device); 133 static EGLDisplay dpy; 134 static EGLNativeDisplayType nativeDisplay(); 139 135 140 136 static QEglContext *currentContext(QEgl::API api);
Note:
See TracChangeset
for help on using the changeset viewer.