Some double-buffered drivers cannot Invalidate when the buffer is held
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8453 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1166,8 +1166,8 @@ void DisplayDriver::BlitMono2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
|||||||
srcindex+=srcinc;
|
srcindex+=srcinc;
|
||||||
destindex+=destinc;
|
destindex+=destinc;
|
||||||
}
|
}
|
||||||
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
|
||||||
ReleaseBuffer();
|
ReleaseBuffer();
|
||||||
|
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawData *d)
|
void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawData *d)
|
||||||
@@ -1288,8 +1288,8 @@ void DisplayDriver::BlitGray2RGB32(FT_Bitmap *src, const BPoint &pt, const DrawD
|
|||||||
srcindex+=srcinc;
|
srcindex+=srcinc;
|
||||||
destindex+=destinc;
|
destindex+=destinc;
|
||||||
}
|
}
|
||||||
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
|
||||||
ReleaseBuffer();
|
ReleaseBuffer();
|
||||||
|
Invalidate(BRect(pt.x, pt.y, pt.x + srcwidth, pt.y + srcheight));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DisplayDriver::AcquireBuffer(FBBitmap *bmp)
|
bool DisplayDriver::AcquireBuffer(FBBitmap *bmp)
|
||||||
|
|||||||
Reference in New Issue
Block a user