EXA: The "optimization" for using a fill operation instead of 1x1 copies
checked the destination drawable's dimensions (!) instead of the tile's. Really....
This commit is contained in:
parent
15f56b203d
commit
1f43d218cc
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
|
@ -1237,7 +1237,7 @@ exaFillRegionTiled (DrawablePtr pDrawable,
|
|||
/* If we're filling with a solid color, grab it out and go to
|
||||
* FillRegionSolid, saving numerous copies.
|
||||
*/
|
||||
if (pDrawable->width == 1 && pDrawable->height == 1) {
|
||||
if (tileWidth == 1 && tileHeight == 1) {
|
||||
CARD32 pixel;
|
||||
|
||||
exaDrawableUseMemory(&pTile->drawable);
|
||||
|
|
Loading…
Reference in New Issue