mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
ACRN:DM: Add Texture based on DMAbuf to support dmabuf_sharing rendering
Now the Opengl rendering is used implicitly in SDL backend. But sometimes it needs to create the texture explicitly based on DMABuf so that it can render the framebuffer submitted from virtio-gpu. Tracked-On: #7210 Acked-by: Wang Yu <yu1.wang@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
@@ -64,6 +64,10 @@ struct surface {
|
||||
uint32_t bpp;
|
||||
uint32_t stride;
|
||||
void *pixel;
|
||||
struct {
|
||||
int dmabuf_fd;
|
||||
uint32_t surf_fourcc;
|
||||
} dma_info;
|
||||
};
|
||||
|
||||
struct cursor {
|
||||
|
Reference in New Issue
Block a user