mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
ui: add egl-helpers
Add helper functions to initialize OpenGL using egl. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
896e1a050a
commit
7ced9e9f6d
4 changed files with 168 additions and 1 deletions
|
@ -30,11 +30,14 @@ sdl.mo-cflags := $(SDL_CFLAGS)
|
|||
ifeq ($(CONFIG_OPENGL),y)
|
||||
common-obj-y += shader.o
|
||||
common-obj-y += console-gl.o
|
||||
common-obj-y += egl-helpers.o
|
||||
endif
|
||||
|
||||
gtk.o-cflags := $(GTK_CFLAGS) $(VTE_CFLAGS)
|
||||
shader.o-cflags += $(OPENGL_CFLAGS)
|
||||
console-gl.o-cflags += $(OPENGL_CFLAGS)
|
||||
egl-helpers.o-cflags += $(OPENGL_CFLAGS)
|
||||
|
||||
shader.o-libs += $(OPENGL_LIBS)
|
||||
console-gl.o-libs += $(OPENGL_LIBS)
|
||||
egl-helpers.o-libs += $(OPENGL_LIBS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue