summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-21 20:28:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-21 20:28:05 -0600
commit66e7613e89b623e9a7b3354918090998ecaf8bfd (patch)
treee6150b7def8072083812e2b499c9be7a28da8424 /tdegtk/tqtcairopainter.cpp
parent25eb56b1afbf770ece64541bff15893bf909ce1a (diff)
downloadgtk3-tqt-engine-66e7613e89b623e9a7b3354918090998ecaf8bfd.tar.gz
gtk3-tqt-engine-66e7613e89b623e9a7b3354918090998ecaf8bfd.zip
Add comment
Diffstat (limited to 'tdegtk/tqtcairopainter.cpp')
-rw-r--r--tdegtk/tqtcairopainter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdegtk/tqtcairopainter.cpp b/tdegtk/tqtcairopainter.cpp
index 041e076..4c64df8 100644
--- a/tdegtk/tqtcairopainter.cpp
+++ b/tdegtk/tqtcairopainter.cpp
@@ -159,6 +159,9 @@ void TQt3CairoPaintDevice::resetIntermediateSurface() {
// Cairo however does not allow the target surface of a context to be switched, effectively preventing
// direct drawing with dynamic switching to and from the intermediate surface on clip or ROP set/unset
// See upstream Cairo bug report https://bugs.freedesktop.org/show_bug.cgi?id=57289
+// NOTE
+// This has been worked around by applying the same transformations, saves, and restores to both the device and intermediate surface contexts
+// If there is not much performance penalty from doing so, this method should probably be left alone
void TQt3CairoPaintDevice::transferIntermediateSurface() {
bool overlayMerge = true;
cairo_surface_flush(m_intermediateSurface);