Go to file
Tor Arne Vestbø 8dfeb1c374 Don't use GL_REPEAT for image-brush drawing on OpenGL ES2
OpenGL ES2 doesn't support NPOT textures in combination with GL_REPEAT,
so for OpenGL ES2 we use a custom program that emulates repeat by taking
the fractional part of the texture coordinates.

This is not enough though, as merely setting GL_TEXTURE_WRAP_x to GL_REPEAT
with a NPOT texture is an error in some implementations, so we have to
guard the call to updateTextureFilter() in updateBrushTexture() with
a check for OpenGL ES2 and use GL_CLAMP_TO_EDGE instead.

This fixes missing/black backgrounds in the diagramscene example on iOS.

Change-Id: I5020090b5f17faeb06dcab9dc0292459e021af30
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2013-05-07 14:18:58 +02:00
bin Handle more drive fix situations in syncqt 2013-04-20 11:35:10 +02:00
config.tests Android: Handle '<DRIVELETTER>:' in makeabs for Windows usage. 2013-04-12 22:43:19 +02:00
dist README: Update the README file 2013-04-27 02:19:28 +02:00
doc Doc: Adding Qt Creator Manual as \externalpage 2013-04-30 12:45:30 +02:00
examples Improved robustness of threaded rendering in hellowindow example. 2013-04-25 02:35:19 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Enable bundling Qt in Android package in build system 2013-05-01 11:24:15 +02:00
qmake fix quoting issues in vcxproj generator 2013-04-29 16:56:58 +02:00
src Don't use GL_REPEAT for image-brush drawing on OpenGL ES2 2013-05-07 14:18:58 +02:00
tests Autotest: Use the new test zone in all name-lookup unit tests 2013-05-07 02:53:50 +02:00
tools Configure: Provide -no-gui option for Windows host builds. 2013-04-22 20:41:29 +02:00
util Don't show a separate inspector for child windows. 2013-04-23 07:45:22 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Long live QLockFile 2013-03-05 06:26:33 +01:00
.qmake.conf require modules to define their version 2013-03-06 18:01:13 +01:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure Do not talk about make confclean in the top-level directory 2013-04-23 18:57:45 +02:00
configure.bat Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.BSD Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.FDL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL-ONLY Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
INSTALL INSTALL: Fix URL of Installing Qt documentation 2013-04-11 16:09:07 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro create tool pri file for syncqt 2013-02-11 18:00:12 +01:00
sync.profile Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00