Use Raster pixmaps for the EglFS plugin
Change-Id: Id94df7b5ebe298104d05bee3ae58e06201c596f7 Reviewed-on: http://codereview.qt.nokia.com/334 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
ec5cdf9c5d
commit
42b47a404b
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#include <QtGui/QPlatformWindow>
|
#include <QtGui/QPlatformWindow>
|
||||||
#include <QtGui/QPlatformWindowFormat>
|
#include <QtGui/QPlatformWindowFormat>
|
||||||
#include <QtOpenGL/private/qpixmapdata_gl_p.h>
|
#include <QtGui/private/qpixmap_raster_p.h>
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ QPixmapData *QEglFSIntegration::createPixmapData(QPixmapData::PixelType type) co
|
|||||||
#ifdef QEGL_EXTRA_DEBUG
|
#ifdef QEGL_EXTRA_DEBUG
|
||||||
qWarning("QEglIntegration::createPixmapData %d\n", type);
|
qWarning("QEglIntegration::createPixmapData %d\n", type);
|
||||||
#endif
|
#endif
|
||||||
return new QGLPixmapData(type);
|
return new QRasterPixmapData(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
QPlatformWindow *QEglFSIntegration::createPlatformWindow(QWidget *widget, WId winId) const
|
QPlatformWindow *QEglFSIntegration::createPlatformWindow(QWidget *widget, WId winId) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user