From ce2b46daea5815df1070463b6bc379e1b4573dae Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 9 Apr 2012 14:16:19 -0700 Subject: Add eglfs cursor support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cursor-atlas.png was generated from existing cursor images (qttools/src/shared/qtpropertybrowser/images/) Change-Id: Ic4b396590eaec93e14a4b0915b15f735f5b1a5f5 Reviewed-by: Samuel Rødal --- src/plugins/platforms/eglfs/qeglfsbackingstore.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/platforms/eglfs/qeglfsbackingstore.cpp') diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp index 5c1919a4f3..c3f3d4f34e 100644 --- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp +++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp @@ -40,6 +40,7 @@ ****************************************************************************/ #include "qeglfsbackingstore.h" +#include "qeglfscursor.h" #include #include @@ -185,6 +186,10 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion ®ion, const QPo glDisableVertexAttribArray(m_textureCoordEntry); #endif + // draw the cursor + if (QEglFSCursor *cursor = static_cast(window->screen()->handle()->cursor())) + cursor->render(); + m_context->swapBuffers(window); } -- cgit v1.2.3