Tag Archives: qt

Fishwars: OpenGL Yes, Minimap Meh

Switching over to OpenGL to do the scaling and presenting was almost criminally easy: rather than inherit QWidget the pixelated view object inherits QGLWidget. That’s it. The CPU load is alleviated without any other changes. With some simple benchmark animation … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Fishwars: Qt’s Scaling Is Ungood

I found that using the scaled() method of the drawing surface could be replaced by a scaling factor set in QPainter to improve performance slightly. The former method creates a scaled up copy of the entire source which is then … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Fishwars: Hoping Qt Can Blit Faster

First stop on the GUI framework search: PyQt4. Out of the gate it’s looking good. It’s simple to draw primitive shapes in an off-screen buffer and then rescale that image and blit a portion of it into a bare window. … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment