зеркало из https://github.com/mozilla/gecko-dev.git
b=390912, odd black bars with stroked rounded rects outside of view bounds, r=shaver, rs=k&r
This commit is contained in:
Родитель
952d1075d3
Коммит
e58d1a99d7
|
@ -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
|
* Copyright © 2004 Keith Packard
|
||||||
*
|
*
|
||||||
|
@ -35,8 +34,8 @@ rasterizeEdges (pixman_image_t *image,
|
||||||
pixman_fixed_t y = t;
|
pixman_fixed_t y = t;
|
||||||
uint32_t *line;
|
uint32_t *line;
|
||||||
uint32_t *buf = (image)->bits.bits;
|
uint32_t *buf = (image)->bits.bits;
|
||||||
uint32_t stride = (image)->bits.rowstride;
|
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;
|
line = buf + pixman_fixed_to_int (y) * stride;
|
||||||
|
|
||||||
|
|
|
@ -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
|
* Copyright © 2004 Keith Packard
|
||||||
*
|
*
|
||||||
|
@ -133,7 +132,7 @@ fbRasterizeEdges8 (pixman_image_t *image,
|
||||||
int fill_size = 0;
|
int fill_size = 0;
|
||||||
uint32_t *buf = (image)->bits.bits;
|
uint32_t *buf = (image)->bits.bits;
|
||||||
int32_t stride = (image)->bits.rowstride;
|
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;
|
line = buf + pixman_fixed_to_int (y) * stride;
|
||||||
|
|
||||||
|
|
|
@ -658,7 +658,7 @@ union pixman_image
|
||||||
do { \
|
do { \
|
||||||
size_t _i; \
|
size_t _i; \
|
||||||
uint8_t *_dst = (uint8_t*)(dst); \
|
uint8_t *_dst = (uint8_t*)(dst); \
|
||||||
for(_i = 0; _i < size; _i++) { \
|
for(_i = 0; _i < (size_t) size; _i++) { \
|
||||||
WRITE(_dst +_i, (val)); \
|
WRITE(_dst +_i, (val)); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
|
@ -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
|
* Copyright © 2004 Keith Packard
|
||||||
*
|
*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче