mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +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:
@@ -43,6 +43,7 @@ CFLAGS += -I$(SYSROOT)/usr/include/pixman-1
|
||||
CFLAGS += -I$(SYSROOT)/usr/include/glib-2.0
|
||||
CFLAGS += -I$(SYSROOT)/usr/include/SDL2
|
||||
CFLAGS += -I$(SYSROOT)/usr/include/EGL
|
||||
CFLAGS += -I$(SYSROOT)/usr/include/GLES2
|
||||
|
||||
ifneq (, $(DM_ASL_COMPILER))
|
||||
CFLAGS += -DASL_COMPILER=\"$(DM_ASL_COMPILER)\"
|
||||
@@ -89,6 +90,8 @@ LIBS += -lcjson
|
||||
LIBS += -lpixman-1
|
||||
LIBS += -lSDL2
|
||||
LIBS += -lEGL
|
||||
LIBS += -lGLESv2
|
||||
|
||||
|
||||
# lib
|
||||
SRCS += lib/dm_string.c
|
||||
|
||||
Reference in New Issue
Block a user