41 #ifndef QPLATFORMWINDOWFORMAT_QPA_H 42 #define QPLATFORMWINDOWFORMAT_QPA_H 44 #include <QtGui/QPlatformWindow> 69 HasWindowSurface = 0x0800,
81 NoWindowSurface = HasWindowSurface << 16
98 void setDepthBufferSize(
int size);
99 int depthBufferSize()
const;
101 void setAccumBufferSize(
int size);
102 int accumBufferSize()
const;
104 void setRedBufferSize(
int size);
105 int redBufferSize()
const;
107 void setGreenBufferSize(
int size);
108 int greenBufferSize()
const;
110 void setBlueBufferSize(
int size);
111 int blueBufferSize()
const;
113 void setAlphaBufferSize(
int size);
114 int alphaBufferSize()
const;
116 void setStencilBufferSize(
int size);
117 int stencilBufferSize()
const;
119 void setSampleBuffers(
bool enable);
120 bool sampleBuffers()
const;
122 void setSamples(
int numSamples);
125 void setSwapInterval(
int interval);
126 int swapInterval()
const;
134 bool doubleBuffer()
const;
135 void setDoubleBuffer(
bool enable);
137 void setDepth(
bool enable);
139 void setRgba(
bool enable);
141 void setAlpha(
bool enable);
143 void setAccum(
bool enable);
144 bool stencil()
const;
145 void setStencil(
bool enable);
147 void setStereo(
bool enable);
148 bool directRendering()
const;
149 void setDirectRendering(
bool enable);
150 bool hasWindowSurface()
const;
151 void setWindowSurface(
bool enable);
153 void setOption(QPlatformWindowFormat::FormatOptions opt);
154 bool testOption(QPlatformWindowFormat::FormatOptions opt)
const;
166 #ifndef QT_NO_DEBUG_STREAM 174 #ifndef QT_NO_DEBUG_STREAM 234 #endif //QPLATFORMWINDOWFORMAT_QPA_H The QDebug class provides an output stream for debugging information.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
The QPlatformGLContext class provides an abstraction for native GL contexts.