Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
Maemo6 + IMG DDK 1.5
Description
I have been testing IMG's 1.5 SGX drivers and might have found an issue in Qt.
In the attached application+screenshot, the same text is displayed in different font sizes. Only one size of text will result in a power-of-2 texture and display correctly.
The problem is that, as per the GLES2 spec, and as implemented in v1.5 of the IMG SGX drivers, it is an error to create a non-power-of-2 texture with GL_REPEAT wrap mode, and the texture will turn opaque black.
I know that you are already aware of this issue, and provided some fixes elsewhere in Qt's GLES2 engine ; do you know why GL_CLAMP_TO_EDGE was not used instead here ?