equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
62 Q_UNUSED(device); |
62 Q_UNUSED(device); |
63 Q_UNUSED(properties); |
63 Q_UNUSED(properties); |
64 return EGL_NO_SURFACE; |
64 return EGL_NO_SURFACE; |
65 } |
65 } |
66 |
66 |
67 EGLDisplay QEglContext::getDisplay(QPaintDevice *device) |
|
68 { |
|
69 Q_UNUSED(device); |
|
70 return eglGetDisplay(EGLNativeDisplayType(EGL_DEFAULT_DISPLAY)); |
|
71 } |
|
72 |
|
73 static QScreen *screenForDevice(QPaintDevice *device) |
67 static QScreen *screenForDevice(QPaintDevice *device) |
74 { |
68 { |
75 QScreen *screen = qt_screen; |
69 QScreen *screen = qt_screen; |
76 if (!screen) |
70 if (!screen) |
77 return 0; |
71 return 0; |