summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-02-20 10:30:07 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-06 08:24:22 +0100
commite6f84312a5352c742f240385e2814ef9b865db22 (patch)
tree2167c4410cd692553a92aa9d1bbf9effb48005a3 /src/gui/painting
parent4a80a7ced1f643a6794f6550d01c1fe60295a21c (diff)
qpa: Document a requirement of the backing store implementation
Docuent the requirement that the alpha channels need to be properly initialized by the implementation. Change-Id: I03db81b44b43ea75feb1b983fb0725c65a3bd9f4 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qplatformbackingstore_qpa.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/painting/qplatformbackingstore_qpa.cpp b/src/gui/painting/qplatformbackingstore_qpa.cpp
index 485190d301..ff7d91ccea 100644
--- a/src/gui/painting/qplatformbackingstore_qpa.cpp
+++ b/src/gui/painting/qplatformbackingstore_qpa.cpp
@@ -114,6 +114,9 @@ QWindow* QPlatformBackingStore::window() const
This function is called before painting onto the surface begins,
with the \a region in which the painting will occur.
+ \note A platform providing a backing store with an alpha channel
+ needs to properly initialize the region to be painted.
+
\sa endPaint(), paintDevice()
*/