I have a related question. I would like to operate with quite a lot (between a few 100 and a few 1000) small items which I would like to draw using OpenGL. To draw them, I need to be able to do one of the following two things:
- specify own texture coordinates for the drawn item
- change the uniform shader parameters of the current shader (all of them can use the same shader)

The item geometry itself can be as simple as a rectangle. Traditionally, I would just have used a QGLWidget, but I recently read about GraphicsView and GraphicsItems. Will it be beneficial for me to use those in my case? I couldn't really find any information about how to achieve either of the above points, unless I use beginNativePainting which I believe will be slow for hundreds to thousands of items since the entire OpenGL would be copied for every drawn item (as far as I understand).

Thanks
- Dominik