diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-05-26 22:26:10 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 23:37:43 +0200 |
commit | e973d0965c78e9ccc0b17710c905b4d3e8d9dd0a (patch) | |
tree | 39180fb1a3c7ea11c6569ff6d33f5cc3175c5f5c /src/plugins/platforms/eglfs/qeglfsbackingstore.h | |
parent | d3240199135a37dcc7d26d8516cfd5a6c16d9417 (diff) |
eglfs: remove support for widget rendering using opengl paint engine
The eglfs backing store code can render either using the raster paint
engine (through QImage) or using the opengl paint engine. Rendering
quality using the opengl paint engine is pretty poor so remove
it.
Change-Id: I64061ceb3a480049cfebe61aaf172ad1f1da7042
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.h')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsbackingstore.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.h b/src/plugins/platforms/eglfs/qeglfsbackingstore.h index e9808b7f95..741ec5a64f 100644 --- a/src/plugins/platforms/eglfs/qeglfsbackingstore.h +++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.h @@ -47,8 +47,6 @@ #include <QImage> #include <QRegion> -#define EGLFS_BACKINGSTORE_USE_IMAGE - QT_BEGIN_NAMESPACE class QOpenGLContext; @@ -73,16 +71,12 @@ private: void makeCurrent(); QOpenGLContext *m_context; -#ifdef EGLFS_BACKINGSTORE_USE_IMAGE QImage m_image; uint m_texture; QRegion m_dirty; QOpenGLShaderProgram *m_program; int m_vertexCoordEntry; int m_textureCoordEntry; -#else - QOpenGLPaintDevice *m_device; -#endif }; QT_END_NAMESPACE |