]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/console-gl: Add a helper to create a texture with linear memory layout
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Tue, 17 Jun 2025 04:32:29 +0000 (21:32 -0700)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 15 Jul 2025 06:22:33 +0000 (10:22 +0400)
commite6f0fe8f7c058af6e95e8f845c25e90453b2aec6
treea75e22c0200cb724d156ae0c3f008792cc17812e
parent50d135e3779f276eba93c63dff49a940b85e23a5
ui/console-gl: Add a helper to create a texture with linear memory layout

There are cases where we do not want the memory layout of a texture to
be tiled as the component processing the texture would not know how to
de-tile either via software or hardware. Therefore, ensuring that the
memory backing the texture has a linear layout is absolutely necessary
in these situations.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Cc: Frediano Ziglio <freddy77@gmail.com>
Cc: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Co-developed-by: Michael Scherle <michael.scherle@rz.uni-freiburg.de>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-Id: <20250617043546.1022779-6-vivek.kasireddy@intel.com>
include/ui/console.h
ui/console-gl.c