mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 11:20:49 +02:00
gfxstream: add virgl_hw.h in VirtGpu.h header
Otherwise, errors such as:
GrallocEmulated.cpp:101:29: error: use of undeclared identifier 'VIRGL_FORMAT_R8G8B8A8_UNORM'
101 | .virglFormat = VIRGL_FORMAT_R8G8B8A8_UNORM,
| ^
GrallocEmulated.cpp:117:29: error: use of undeclared identifier 'VIRGL_FORMAT_B8G8R8A8_UNORM'
117 | .virglFormat = VIRGL_FORMAT_B8G8R8A8_UNORM,
happen in Android builds. Add it to VirtGpu.h to fix this.
Reviewed-by: Marcin Radomski <dextero@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35416>
This commit is contained in:
parent
778230341b
commit
0d3e8fa536
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <memory>
|
||||
|
||||
#include "virtio/virtio-gpu/virtgpu_gfxstream_protocol.h"
|
||||
#include "virtio/virtio-gpu/virgl_hw.h"
|
||||
|
||||
#define PIPE_BUFFER 0
|
||||
#define PIPE_TEXTURE_2D 2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue