summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qrasterdefs_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-09-28 15:25:37 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2010-09-29 12:05:16 +0200
commit413ca01cc5c2f74e34ddc8d4917e65d5318aa58e (patch)
tree74a7079c3b70a77d493af1a15f784e66cdd4e929 /src/gui/painting/qrasterdefs_p.h
parentd3838fdda64a09fe6fc5c9054f460ce43fdc6f95 (diff)
Fixed antialiased rasterization bug in raster engine.
When rasterization in the gray raster fails due to out of memory there might already have been a number of spans flushed. To avoid flushing these spans multiple times and thus getting overdraw artifacts we need to keep track of how many spans to skip when we redo the rasterization. This fixes the rendering error in arthur test paths_aa.qps Reviewed-by: Yoann Lopes
Diffstat (limited to 'src/gui/painting/qrasterdefs_p.h')
-rw-r--r--src/gui/painting/qrasterdefs_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qrasterdefs_p.h b/src/gui/painting/qrasterdefs_p.h
index 4d803c7399..f6339ed792 100644
--- a/src/gui/painting/qrasterdefs_p.h
+++ b/src/gui/painting/qrasterdefs_p.h
@@ -1088,6 +1088,7 @@ QT_FT_BEGIN_HEADER
QT_FT_Raster_BitSet_Func bit_set; /* doesn't work! */
void* user;
QT_FT_BBox clip_box;
+ int skip_spans;
} QT_FT_Raster_Params;