Fix performance issue with BorderImage element.
authorGlenn Watson <glenn.watson@nokia.com>
Tue, 26 Jun 2012 23:36:13 +0000 (09:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 27 Jun 2012 00:28:40 +0000 (02:28 +0200)
commita2aa4705702256c15aaaf64e08b90c4749233f9d
tree16ebff142157690c97609f2d29b7c4df7bf449e3
parent786dca63ce917cd798f422145c9cba8ab1b8063a
Fix performance issue with BorderImage element.

When a small source image is used in repeat mode, a large number of
vertices and indices can be generated by the current algorithm.
Change the geometry hint to static data, so the renderer plugin will
store the data in a VBO in GPU memory.

Task-number: QTBUG-21728
Change-Id: I07b3172eef8569bec2f4acebfb7965625bb5e63b
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquickninepatchnode.cpp