AnsweredAssumed Answered

Using pixmaps/images efficiently

Question asked by norbert.thoden on Aug 12, 2015
Latest reply on Jan 18, 2017 by norbert.thoden

Hi!

 

I have to put a specific QImage onto the map many times (> 10000).

 

The class pictureMarker offers rendering an image on the map - fine.

But its consuming more memory then necessary. (I was looking at the GPU memory)

 

By now it is NOT possible to put the pixmap to the memory of the graphic card and reference that many times, in this example 10000 times.

 

- Is that done in the background (QPixmap offers cacheKey() - QPixmap Class | Qt GUI 5.5  ) without being documented?

- Or is there a possiblity i didn`t recognize yet?

 

Thank you!

Outcomes