diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-03-09 15:15:02 +0200 |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-03-10 17:16:46 +0200 |
commit | 555f52c498c3ba67041c880701a66224e7b321b0 (patch) | |
tree | 113703bdf342cf98f9d741185a4fb5193a78adc5 /src/gui/kernel/qapplication_p.h | |
parent | 433e4380c98b9369a7d55894e9d34f8c87ba06e9 (diff) |
Don't use EGL surfaces for translucency with 32MB GPU chip.
Add dynamic GPU chip detection on Symbian to decide if
translucent EGL surfaces can be used. With 32MB GPU memory
there is not enough memory to create for example transparent
video overlay widgets and that's why hw surfaces must not
be used.
Task-number: QTBUG-18024
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r-- | src/gui/kernel/qapplication_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h index 43634efabc..3d2c9d611e 100644 --- a/src/gui/kernel/qapplication_p.h +++ b/src/gui/kernel/qapplication_p.h @@ -599,6 +599,8 @@ public: int pressureSupported; int maxTouchPressure; QList<QTouchEvent::TouchPoint> appAllTouchPoints; + + bool useTranslucentEGLSurfaces; #endif private: |