Introduce a new flag for drawing BBitmaps, B_WAIT_FOR_RETRACE

which triggers waiting on the retrace semaphore in app_server
just before drawing the bitmap. This potentially removes any
additional delay when doing this client side. Completely untested. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-10-23 22:22:45 +00:00
parent ed55cb5a22
commit 76d9e05341
4 changed files with 12 additions and 25 deletions
+5 -4
View File
@@ -260,12 +260,13 @@ enum overlay_options {
B_OVERLAY_TRANSFER_CHANNEL = 0x00080000
};
enum bitmap_filtering {
B_FILTER_BITMAP_BILINEAR = 0x00000100
// TODO: Make this simply "SMOOTH_SCALE" and use
// better quality methods the faster the computer?
enum bitmap_drawing_options {
B_FILTER_BITMAP_BILINEAR = 0x00000100,
B_WAIT_FOR_RETRACE = 0x00000800
};
// Default UI Colors
enum color_which {