mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
move default allocator to console.c
Moving stuff in console.c to avoid the need for prototypes makes this patch a bit bigger, but there's no change in the code. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
9441987446
commit
98b5008081
3 changed files with 112 additions and 118 deletions
|
@ -144,11 +144,7 @@ DisplaySurface* qemu_create_displaysurface_from(int width, int height, int bpp,
|
|||
PixelFormat qemu_different_endianness_pixelformat(int bpp);
|
||||
PixelFormat qemu_default_pixelformat(int bpp);
|
||||
|
||||
extern struct DisplayAllocator default_allocator;
|
||||
DisplayAllocator *register_displayallocator(DisplayState *ds, DisplayAllocator *da);
|
||||
DisplaySurface* defaultallocator_create_displaysurface(int width, int height);
|
||||
DisplaySurface* defaultallocator_resize_displaysurface(DisplaySurface *surface, int width, int height);
|
||||
void defaultallocator_free_displaysurface(DisplaySurface *surface);
|
||||
|
||||
static inline DisplaySurface* qemu_create_displaysurface(DisplayState *ds, int width, int height)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue