diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-22 02:31:46 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-22 02:31:46 (GMT) |
commit | 80c2e1211065f606c6f39e708a74afad1c624663 (patch) | |
tree | 48f9a9ae5e308c9c4c0d43a39d78ace5f9317499 /src/opengl | |
parent | ee9e29a9d203ed1404810aa4097bb8e0db483dda (diff) | |
parent | eb2926a2f9607e985b8bca54346e6fdf91343247 (diff) | |
download | Qt-80c2e1211065f606c6f39e708a74afad1c624663.zip Qt-80c2e1211065f606c6f39e708a74afad1c624663.tar.gz Qt-80c2e1211065f606c6f39e708a74afad1c624663.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (105 commits)
Fixed drawing a large number of glyphs with the same font under GL.
Bump version to 4.7.1.
Qt headers must be included before X11 headers
Fixes bezier curves not being drawn when it is a line.
Avoid creating copy of an image in memory when storing as jpeg
QSslSocketPrivate::systemCaCertificates() hangs sometimes on Symbian
Add exception barrier to QCertificateRetriever::RunL()
Reference correct declarative elements page.
QtWebKit: Update tag files to match the same content on qtwebkit.git
QtWebKit: Downstream patch 2 fixing a crash on MSVC 64bit.
QtWebKit: Downstream patch 1 fixing a crash on MSVC 64bit.
Doc: updating the qdocconf files and the stylesheet
Doc: updating details on Tier 2 platforms
Doc: adding remark on release of qt quick element support in creator
Update configure.exe
Revert "let WebKit inject itself into the qt configuration"
Revert "fix qt_webkit_version.pri install for in-Qt builds"
Revert "Fixed incorrect Symbian scoping."
QS60Style: Itemviews are drawn incorrectly
Change to commercial license headers in preparation for release.
...
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp | 11 | ||||
-rw-r--r-- | src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp b/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp index 410cf21..f353995 100644 --- a/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp +++ b/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp @@ -129,7 +129,7 @@ void QGLTextureGlyphCache::resizeTextureData(int width, int height) GLuint oldTexture = m_texture; createTextureData(width, height); - + if (ctx->d_ptr->workaround_brokenFBOReadBack) { QImageTextureGlyphCache::resizeTextureData(width, height); Q_ASSERT(image().depth() == 8); @@ -281,4 +281,13 @@ int QGLTextureGlyphCache::glyphPadding() const return 1; } +int QGLTextureGlyphCache::maxTextureWidth() const +{ + return ctx->d_ptr->maxTextureSize(); +} + +int QGLTextureGlyphCache::maxTextureHeight() const +{ + return ctx->d_ptr->maxTextureSize(); +} QT_END_NAMESPACE diff --git a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h index 6bcd655..eb3693c 100644 --- a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h +++ b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h @@ -73,6 +73,8 @@ public: virtual void resizeTextureData(int width, int height); virtual void fillTexture(const Coord &c, glyph_t glyph); virtual int glyphPadding() const; + virtual int maxTextureWidth() const; + virtual int maxTextureHeight() const; inline GLuint texture() const { return m_texture; } |