Qt 4.8
Public Functions | Public Variables | List of all members
QDri2ContextPrivate Class Reference

Public Functions

 QDri2ContextPrivate (QXcbWindow *window)
 
xcb_connection_t * xcbConnection ()
 
xcb_window_t xcbWindow ()
 

Public Variables

GLuint depth
 
EGLContext eglContext
 
GLuint fbo
 
EGLImageKHR image
 
QXcbWindowqXcbWindow
 
GLuint rbo
 
QSize size
 
QPlatformWindowFormat windowFormat
 

Detailed Description

Definition at line 62 of file qdri2context.cpp.

Constructors and Destructors

◆ QDri2ContextPrivate()

QDri2ContextPrivate::QDri2ContextPrivate ( QXcbWindow window)
inline

Definition at line 65 of file qdri2context.cpp.

66  : qXcbWindow(window)
67  , windowFormat(window->widget()->platformWindowFormat())
68  , image(0)
69  {
70  }
QPlatformWindowFormat windowFormat
QXcbWindow * qXcbWindow
QWidget * widget() const
Returnes the widget which belongs to the QPlatformWindow.

Functions

◆ xcbConnection()

xcb_connection_t* QDri2ContextPrivate::xcbConnection ( )
inline

Definition at line 73 of file qdri2context.cpp.

73 { return qXcbWindow->xcb_connection(); }
xcb_connection_t * xcb_connection() const
Definition: qxcbobject.h:56
QXcbWindow * qXcbWindow

◆ xcbWindow()

xcb_window_t QDri2ContextPrivate::xcbWindow ( )
inline

Definition at line 72 of file qdri2context.cpp.

72 { return qXcbWindow->window(); }
QXcbWindow * qXcbWindow
xcb_window_t window() const
Definition: qxcbwindow.h:77

Properties

◆ depth

GLuint QDri2ContextPrivate::depth

Definition at line 84 of file qdri2context.cpp.

◆ eglContext

EGLContext QDri2ContextPrivate::eglContext

Definition at line 78 of file qdri2context.cpp.

◆ fbo

GLuint QDri2ContextPrivate::fbo

Definition at line 82 of file qdri2context.cpp.

◆ image

EGLImageKHR QDri2ContextPrivate::image

Definition at line 80 of file qdri2context.cpp.

◆ qXcbWindow

QXcbWindow* QDri2ContextPrivate::qXcbWindow

Definition at line 75 of file qdri2context.cpp.

Referenced by xcbConnection(), and xcbWindow().

◆ rbo

GLuint QDri2ContextPrivate::rbo

Definition at line 83 of file qdri2context.cpp.

◆ size

QSize QDri2ContextPrivate::size

Definition at line 86 of file qdri2context.cpp.

◆ windowFormat

QPlatformWindowFormat QDri2ContextPrivate::windowFormat

Definition at line 76 of file qdri2context.cpp.


The documentation for this class was generated from the following file: