Making cached glyphs drawing check clearer
authorJiang Jiang <jiang.jiang@nokia.com>
Mon, 25 Jul 2011 08:52:48 +0000 (10:52 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jul 2011 09:50:16 +0000 (11:50 +0200)
commit8d762c9caea4f8b9ff589b6c23564f4e37242745
treee77836db3e94ab2617eb6dd3d54574fa15d9a3a1
parenta150880ae6ea698a2e979c93498db4f3bb66c1b0
Making cached glyphs drawing check clearer

Putting the logic inside supportsTransformation() is a bit confusing and
that name is misleading.

Also move the same check in GL2 paint engine to the same place.

Change-Id: I182500a0ff375122e6be966b7ce2495c84d113d0
Reviewed-on: http://codereview.qt.nokia.com/2096
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/painting/qpaintengine_raster.cpp
src/gui/painting/qpaintengineex.cpp
src/gui/painting/qpaintengineex_p.h
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp