mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 02:47:07 +00:00
b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r (checking back in, linux failure seemed transient yay)
This commit is contained in:
parent
9c768a4e05
commit
12175aaf10
@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: pixman-edge-imp.h,v 1.5 2007/08/07 01:52:15 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;
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: pixman-edge.c,v 1.7 2007/08/07 01:52:15 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;
|
||||
|
||||
|
@ -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)
|
||||
|
@ -1,5 +1,4 @@
|
||||
/*
|
||||
* $Id: pixman-trap.c,v 1.7 2007/08/07 01:52:15 vladimir%pobox.com Exp $
|
||||
*
|
||||
* Copyright © 2004 Keith Packard
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user