summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2010-04-09 11:21:32 (GMT)
committerJason Barron <jbarron@trolltech.com>2010-04-09 11:52:41 (GMT)
commit385f2c8a34a52443e78dfa272a1a483b9d6d29fc (patch)
tree2250b334717ed9b9ca3b22ff9cc9f9409e21757a /tests
parent274fbf5c1847ffbee9967064068ee8e23b141198 (diff)
downloadQt-385f2c8a34a52443e78dfa272a1a483b9d6d29fc.zip
Qt-385f2c8a34a52443e78dfa272a1a483b9d6d29fc.tar.gz
Qt-385f2c8a34a52443e78dfa272a1a483b9d6d29fc.tar.bz2
Enable preserved swap behavior when surface is created due to resize.
When the QVG_RECREATE_ON_SIZE_CHANGE macro is defined the EGL surface is recreated. However, after creating the surface, we were neglecting to set the surface attribute that enabled the preserved swapping behavior of EGL. This lead to flicker because every second frame was swapping with an empty buffer and only the dirty areas were being painted leaving the rest empty. Reviewed-by: Lars Knoll Reviewed-by: Aleksandar Sasha Babic Task-number: QT-3198 Task-number: QT-3184 Task-number: QT-3201
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions