summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/linuxfb
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-01-11 11:42:14 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-01-18 14:48:07 +0000
commit8c144298439a6537adc0d67ca03382a305484deb (patch)
treeea9d3cba25fc31aa718b883e75f23785acde94e7 /src/plugins/platforms/linuxfb
parenteba886c32ff5db1a0a737d33447a1f5c97919d57 (diff)
Remove OpenGL dependency from qTriangulate
The original implementation is only suitable as long as the only client is the GL paint engine which will call the function with the GL context current. In other cases this cannot be ensured. For instance, doing triangulation on the gui thread in a Quick application using the threaded render loop will have to deal with not having a current context on that thread at all. Doing triangulation on worker threads has the same problem as well. In addition, in modern Qt versions a -no-opengl build does not imply no accelerated graphics API. Therefore, drop the ElementIndexUint check from qtriangulator.cpp and leave it up to the caller to tell if uint indices are supported or not. Change-Id: I7491d84981ee22d05c5fde08994dbb3a4e2432e9 Reviewed-by: Gunnar Sletta <gunnar@crimson.no>
Diffstat (limited to 'src/plugins/platforms/linuxfb')
0 files changed, 0 insertions, 0 deletions