diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-09-29 11:12:06 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-09-29 13:58:23 (GMT) |
commit | a67b7d96c14eeb939de5d8a84737b55d904b4e33 (patch) | |
tree | 87cc2e3b843def288a5c26fd8141e3b236a42ed0 /doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp | |
parent | d49a7e382c69076de179103c9072e49a72db264d (diff) | |
download | Qt-a67b7d96c14eeb939de5d8a84737b55d904b4e33.zip Qt-a67b7d96c14eeb939de5d8a84737b55d904b4e33.tar.gz Qt-a67b7d96c14eeb939de5d8a84737b55d904b4e33.tar.bz2 |
Make texture glyph cache on OpenGL work without a paint engine
When used from outside of Qt, the OpenGL texture glyph cache would fall
back to using an image backend. This was not exactly ideal, so instead
it's rewritten to set up its own blit program etc. when the paint engine
is not available. Note that fillInPendingGlyphs() will potentially
alter the current GL state/viewport/bindings/etc., so it should be
called before setting up the actual painting.
Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp')
0 files changed, 0 insertions, 0 deletions