b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r

This commit is contained in:
vladimir@pobox.com 2007-08-06 18:14:47 -07:00
parent 6b6b771bea
commit 8445b79997
4 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,4 @@
/*
* $Id: pixman-edge-imp.h,v 1.3 2007/08/02 06:54:41 vladimir%pobox.com Exp $
*
* Copyright © 2004 Keith Packard
*
@ -35,8 +34,8 @@ rasterizeEdges (pixman_image_t *image,
pixman_fixed_t y = t;
uint32_t *line;
uint32_t *buf = (image)->bits.bits;
uint32_t stride = (image)->bits.rowstride;
uint32_t width = (image)->bits.width;
int32_t stride = (image)->bits.rowstride;
int32_t width = (image)->bits.width;
line = buf + pixman_fixed_to_int (y) * stride;

View File

@ -1,5 +1,4 @@
/*
* $Id: pixman-edge.c,v 1.5 2007/08/02 06:57:51 vladimir%pobox.com Exp $
*
* Copyright © 2004 Keith Packard
*
@ -133,7 +132,7 @@ fbRasterizeEdges8 (pixman_image_t *image,
int fill_size = 0;
uint32_t *buf = (image)->bits.bits;
int32_t stride = (image)->bits.rowstride;
uint32_t width = (image)->bits.width;
int32_t width = (image)->bits.width;
line = buf + pixman_fixed_to_int (y) * stride;

View File

@ -658,7 +658,7 @@ union pixman_image
do { \
size_t _i; \
uint8_t *_dst = (uint8_t*)(dst); \
for(_i = 0; _i < size; _i++) { \
for(_i = 0; _i < (size_t) size; _i++) { \
WRITE(_dst +_i, (val)); \
} \
} while (0)

View File

@ -1,5 +1,4 @@
/*
* $Id: pixman-trap.c,v 1.5 2007/08/02 06:57:51 vladimir%pobox.com Exp $
*
* Copyright © 2004 Keith Packard
*