Thanks to both of you!
I can't check the texture size limit until I get home from work, but I have manipulated 2048x2048 textures on that graphic card in the past. Anyway the QOpenGLPaintEnginge checks for max texture size and scales the pixmap otherwise.
From qt\src\opengl\qpaintengine_opengl.cpp:
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_tex_size);
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_tex_size);
To copy to clipboard, switch view to plain text mode
const int sz = d->max_texture_size;
if (pm.width() > sz || pm.height() > sz) {
...
const QPixmap scaled
= sub.
scaled(sz, sz, Qt
::KeepAspectRatio);
const int sz = d->max_texture_size;
if (pm.width() > sz || pm.height() > sz) {
...
const QPixmap scaled = sub.scaled(sz, sz, Qt::KeepAspectRatio);
To copy to clipboard, switch view to plain text mode
I'm suspecting it is a bug in the ATI driver. I'll see if I get around to debugging it tonight.
If i remember correctly it was the call to glPopattrib() in
bool QOpenGLPaintEngine::end()that freezes the application.
Bookmarks