[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupporte
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH. |
Date: |
Mon, 27 Mar 2017 08:20:56 +0200 |
Hi,
> Some emulated graphics cards use qemu_console_surface() and that
> surface is always in 32 bits per pixel format. Therefore, code for
> dealing with other pixel formats can be removed.
qemu_create_displaysurface() creates a displaysurface with the default
depth 32bpp. qemu_console_resize() will create a new displaysurface,
with the given size, also with the default depth 32bpp.
qemu_console_surface() just asks for the current surface, that alone
isn't a good indicator, but often display drivers use
qemu_console_surface + qemu_console_resize.
cheers,
Gerd
- [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., iwona260909, 2017/03/16
- [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., iwona260909, 2017/03/16
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Peter Maydell, 2017/03/16
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Gerd Hoffmann, 2017/03/16
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Paolo Bonzini, 2017/03/16
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Stefan Hajnoczi, 2017/03/24
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Peter Maydell, 2017/03/24
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Gerd Hoffmann, 2017/03/27
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH., Iwona Kotlarska, 2017/03/29
- Re: [Qemu-devel] [PATCH] Dead code removal: removing code for unsupported DEPTH.,
Gerd Hoffmann <=