qpa: Document a requirement of the backing store implementation
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Mon, 20 Feb 2012 09:30:07 +0000 (10:30 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 6 Mar 2012 07:24:22 +0000 (08:24 +0100)
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>
src/gui/painting/qplatformbackingstore_qpa.cpp

index 485190d..ff7d91c 100644 (file)
@@ -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()
 */