mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
Cocoa: Redraw the View asynchronously
Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html Based on patch by Juha Riihimäki. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Cc: Juha Riihimäki <juha.riihimaki@nokia.com> Cc: Alexander Graf <alex@csgraf.de> Cc: Mike Kronenberg <mike.kronenberg@kronenberg.org> Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
d50f71dc17
commit
17ccbc27de
1 changed files with 1 additions and 1 deletions
2
cocoa.m
2
cocoa.m
|
@ -938,7 +938,7 @@ static void cocoa_update(DisplayState *ds, int x, int y, int w, int h)
|
||||||
w * [cocoaView cdx],
|
w * [cocoaView cdx],
|
||||||
h * [cocoaView cdy]);
|
h * [cocoaView cdy]);
|
||||||
}
|
}
|
||||||
[cocoaView displayRect:rect];
|
[cocoaView setNeedsDisplayInRect:rect];
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cocoa_resize(DisplayState *ds)
|
static void cocoa_resize(DisplayState *ds)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue