diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-10-14 10:00:15 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-10-14 16:03:10 (GMT) |
commit | 2543ed5b1b18864797b3a11c9bd13887c7567e86 (patch) | |
tree | b8855990258d2af17a6528a00cb8f7fd67bf6643 /src/gui/kernel/qapplication_p.h | |
parent | 5dec90ff13cd96ca4f341cf5e8360037edf5eeb3 (diff) | |
download | Qt-2543ed5b1b18864797b3a11c9bd13887c7567e86.zip Qt-2543ed5b1b18864797b3a11c9bd13887c7567e86.tar.gz Qt-2543ed5b1b18864797b3a11c9bd13887c7567e86.tar.bz2 |
Add new signals to indicate GPU resource usage.
QML elements that use GPU resources directly
needs to know when Qt releases GPU resources
and when they are available again.
Task-number: QT-5310
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r-- | src/gui/kernel/qapplication_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h index 99822e2..abdee49 100644 --- a/src/gui/kernel/qapplication_p.h +++ b/src/gui/kernel/qapplication_p.h @@ -523,6 +523,9 @@ public: int symbianResourceChange(const QSymbianEvent *symbianEvent); void _q_aboutToQuit(); + + void emitAboutToReleaseGpuResources(); + void emitAboutToUseGpuResources(); #endif #if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined (Q_WS_QWS) || defined(Q_WS_MAC) void sendSyntheticEnterLeave(QWidget *widget); |