diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-28 15:25:37 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-09-29 12:05:16 +0200 |
commit | 413ca01cc5c2f74e34ddc8d4917e65d5318aa58e (patch) | |
tree | 74a7079c3b70a77d493af1a15f784e66cdd4e929 /src/gui/painting/qrasterdefs_p.h | |
parent | d3838fdda64a09fe6fc5c9054f460ce43fdc6f95 (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.h | 1 |
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; |