EGLConfig* targetConfig = 0;
- static const EGLConfig defaultVGConfigs[] = {
- QEGL_NO_CONFIG, // 0 Window Renderable Translucent
- QEGL_NO_CONFIG, // 1 Window Renderable Opaque
- QEGL_NO_CONFIG, // 2 Pixmap Renderable Translucent
- QEGL_NO_CONFIG, // 3 Pixmap Renderable Opaque
- QEGL_NO_CONFIG, // 4 Pixmap ReadOnly Translucent
- QEGL_NO_CONFIG // 5 Pixmap ReadOnly Opaque
- };
-
- static const EGLConfig defaultGLConfigs[] = {
+ static EGLConfig defaultGLConfigs[] = {
QEGL_NO_CONFIG, // 0 Window Renderable Translucent
QEGL_NO_CONFIG, // 1 Window Renderable Opaque
QEGL_NO_CONFIG, // 2 PBuffer Renderable Translucent
: QCoreApplication(*new QApplicationPrivate(argc, argv, type, _internal))
{ Q_D(QApplication); d->construct(); }
-#if defined(Q_WS_X11) && !defined(QT_NO_EGL)
-static int qt_matchLibraryName(dl_phdr_info *info, size_t, void *data)
-{
- const char *name = static_cast<const char *>(data);
- return strstr(info->dlpi_name, name) != 0;
-}
-#endif
-
/*!
\internal
*/
****************************************************************************/
#include "qgl.h"
-#include <qt_x11_p.h>
-#include <qpixmap_x11_p.h>
#include <qgl_p.h>
+#include <qpixmap_x11_p.h>
#include <qpaintengine_opengl_p.h>
#include "qgl_egl_p.h"
#include "qcolormap.h"