# GL WGL backend
ifdef CONFIG_WIN32
obj-y += vigs_gl_backend_wgl.o
-$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
endif
# GL CGL backend
ifdef CONFIG_DARWIN
obj-y += vigs_gl_backend_cgl.o
-$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
endif
#include "vigs_types.h"
#include "vigs_backend.h"
#include "vigs_vector.h"
-#include <GL/gl.h>
-#include <GL/glext.h>
+#include "vigs_inc/GL/gl.h"
+#include "vigs_inc/GL/glext.h"
#include "winsys_gl.h"
#define TEXTURE_NUM 5
#include "vigs_gl_backend.h"
#include "vigs_log.h"
#include "vigs_qt5.h"
-#include <GL/glx.h>
+#include "vigs_inc/GL/glx.h"
#include <dlfcn.h>
#ifndef GLX_VERSION_1_4
#include "vigs_qt5.h"
#include <windows.h>
#include <wingdi.h>
-#include <GL/gl.h>
-#include <GL/wglext.h>
+#include "vigs_inc/GL/gl.h"
+#include "vigs_inc/GL/wglext.h"
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
#include "vigs_types.h"
#include <glib.h>
-#include <GL/gl.h>
-#include <GL/glext.h>
+#include "vigs_inc/GL/gl.h"
+#include "vigs_inc/GL/glext.h"
typedef GLuint (*vigs_gl_pool_alloc_func)(void */*user_data*/,
uint32_t /*width*/,
#else /* GL_GLEXT_LEGACY */
-#include <GL/glext.h>
+#include "vigs_inc/GL/glext.h"
#endif /* GL_GLEXT_LEGACY */
#include "glu_mangle.h"
#endif
-#include <GL/gl.h>
+#include "vigs_inc/GL/gl.h"
#ifndef GLAPIENTRY
#if defined(_MSC_VER) || defined(__MINGW32__)
#ifdef __VMS
-#include <GL/vms_x_fix.h>
+#include "vigs_inc/GL/vms_x_fix.h"
# ifdef __cplusplus
/* VMS Xlib.h gives problems with C++.
* this avoids a bunch of trivial warnings */
#pragma message enable nosimpint
#endif
#endif
-#include <GL/gl.h>
+#include "vigs_inc/GL/gl.h"
#if defined(USE_MGL_NAMESPACE)
#ifndef GLX_GLXEXT_LEGACY
-#include <GL/glxext.h>
+#include "vigs_inc/GL/glxext.h"
#endif /* GLX_GLXEXT_LEGACY */
#endif
-#include <GL/gl.h>
+#include "vigs_inc/GL/gl.h"
#define OSMESA_MAJOR_VERSION 6
#endif
-#include "GL/gl.h"
+#include "vigs_inc/GL/gl.h"
#if defined(_MSV_VER) && !defined(__GNUC__)
# pragma warning (disable:4273)
obj-y += yagl_backends/
obj-y += yagl_drivers/
-$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/yagl -I$(SRC_PATH)/hw/yagl/yagl_inc
+$(obj)/%.o: QEMU_CFLAGS += -I$(SRC_PATH)/hw/yagl
#define _QEMU_YAGL_EGL_API_TS_H
#include "yagl_api.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_backend;
struct yagl_egl_context;
#include "yagl_resource.h"
#include "yagl_process.h"
#include "yagl_thread.h"
-#include <EGL/eglext.h>
+#include "yagl_inc/EGL/eglext.h"
static void yagl_egl_config_destroy(struct yagl_thread_state *cur_ts, struct yagl_ref *ref)
{
#include "yagl_types.h"
#include "yagl_resource_list.h"
#include "qemu/queue.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_backend;
struct yagl_egl_config;
#define _QEMU_YAGL_EGL_VALIDATE_H
#include "yagl_types.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
bool yagl_egl_is_attrib_list_empty(const EGLint *attrib_list);
#include "yagl_thread.h"
#include "yagl_process.h"
#include "yagl_object_map.h"
-#include <EGL/eglext.h>
+#include "yagl_inc/EGL/eglext.h"
#define YAGL_EGL_VERSION_MAJOR 1
#define YAGL_EGL_VERSION_MINOR 4
#define _QEMU_YAGL_HOST_EGL_CALLS_H
#include "yagl_api.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_api_ps *yagl_host_egl_process_init(struct yagl_process_state *ps, struct yagl_api *api);
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_api_ps.h"
#include "yagl_process.h"
#include "yagl_thread.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_api_ts.h"
#include "yagl_gles_api_ps.h"
#include "yagl_gles_api.h"
#define _QEMU_YAGL_HOST_GLES_CALLS_H
#include "yagl_api.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
struct yagl_api_ps *yagl_host_gles_process_init(struct yagl_process_state *ps, struct yagl_api *api);
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_offscreen.h"
#include "yagl_egl_offscreen_display.h"
#include "yagl_egl_offscreen_context.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_offscreen_context.h"
#include "yagl_egl_offscreen_display.h"
#include "yagl_egl_offscreen.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_offscreen_display.h"
#include "yagl_egl_offscreen_context.h"
#include "yagl_egl_offscreen_surface.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_offscreen_surface.h"
#include "yagl_egl_offscreen_display.h"
#include "yagl_egl_offscreen_context.h"
#define _QEMU_YAGL_EGL_OFFSCREEN_TS_H
#include "yagl_types.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_gles_driver;
struct yagl_egl_offscreen_display;
*/
#include "yagl_egl_onscreen.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_onscreen_ts.h"
#include "yagl_egl_onscreen_display.h"
#include "yagl_egl_onscreen_context.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_onscreen_context.h"
#include "yagl_egl_onscreen_display.h"
#include "yagl_egl_onscreen.h"
#include "yagl_eglb_context.h"
#include "yagl_egl_native_config.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_onscreen_display;
struct yagl_egl_onscreen_surface;
*/
#include "yagl_egl_onscreen_display.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_onscreen_context.h"
#include "yagl_egl_onscreen_surface.h"
#include "yagl_egl_onscreen.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_onscreen_surface.h"
#include "yagl_egl_onscreen_context.h"
#include "yagl_egl_onscreen_display.h"
*/
#include "yagl_egl_onscreen_ts.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_egl_onscreen.h"
#include "yagl_egl_onscreen_context.h"
#include "yagl_egl_onscreen_surface.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "qemu/error-report.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "hw/vigs/display.h"
#include "hw/vigs/winsys.h"
#include "yagl_gles_driver.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include <OpenGL/OpenGL.h>
#include "yagl_egl_driver.h"
#include "yagl_dyn_lib.h"
#include "yagl_process.h"
#include "yagl_egl_native_config.h"
#include "yagl_egl_surface_attribs.h"
-#include <GL/glx.h>
+#include "yagl_inc/GL/glx.h"
#define YAGL_EGL_GLX_ENTER(func, format, ...) \
YAGL_LOG_NO_TS; \
#include <windows.h>
#include <wingdi.h>
-#include <GL/gl.h>
-#include <GL/wglext.h>
+#include "yagl_inc/GL/gl.h"
+#include "yagl_inc/GL/wglext.h"
#include <glib.h>
#include "yagl_egl_driver.h"
#include "yagl_dyn_lib.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_offscreen.h"
#include "yagl_gles_driver.h"
#include "yagl_log.h"
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_driver.h"
#include "yagl_gles_ogl.h"
#include "yagl_gles_ogl_macros.h"
#ifndef _QEMU_YAGL_GLES_OGL_MACROS_H
#define _QEMU_YAGL_GLES_OGL_MACROS_H
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
/*
* GLES OpenGL function loading/assigning macros.
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_onscreen.h"
#include "yagl_gles_driver.h"
#include "yagl_log.h"
#include "yagl_types.h"
#include "yagl_dyn_lib.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_native_config;
struct yagl_egl_pbuffer_attribs;
#define _QEMU_YAGL_EGL_NATIVE_CONFIG_H
#include "yagl_types.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_native_config
{
#define _QEMU_YAGL_EGL_SURFACE_ATTRIBS_H
#include "yagl_types.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_pbuffer_attribs
{
#define _QEMU_YAGL_EGLB_DISPLAY_H
#include "yagl_types.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_egl_backend;
struct yagl_eglb_context;
#include "yagl_types.h"
#include "yagl_egl_surface_attribs.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
struct yagl_eglb_display;
*
*/
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_driver.h"
#include "yagl_thread.h"
#include "yagl_process.h"
/* All platform-dependent types and macro boilerplate (such as EGLAPI
* and EGLAPIENTRY) should go in eglplatform.h.
*/
-#include <EGL/eglplatform.h>
+#include "yagl_inc/EGL/eglplatform.h"
#ifdef __cplusplus
extern "C" {
** Khronos $Revision: 23535 $ on $Date: 2013-10-16 10:29:40 -0700 (Wed, 16 Oct 2013) $
*/
-#include <EGL/eglplatform.h>
+#include "yagl_inc/EGL/eglplatform.h"
#define EGL_EGLEXT_VERSION 20131016
extern "C" {
#endif
-#include <EGL/eglplatform.h>
+#include "yagl_inc/EGL/eglplatform.h"
/* EGL_MESA_screen extension >>> PRELIMINARY <<< */
#ifndef EGL_MESA_screen_surface
#else /* GL_GLEXT_LEGACY */
-#include <GL/glext.h>
+#include "yagl_inc/GL/glext.h"
#endif /* GL_GLEXT_LEGACY */
#include "glu_mangle.h"
#endif
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#ifndef GLAPIENTRY
#if defined(_MSC_VER) || defined(__MINGW32__)
#ifdef __VMS
-#include <GL/vms_x_fix.h>
+#include "yagl_inc/GL/vms_x_fix.h"
# ifdef __cplusplus
/* VMS Xlib.h gives problems with C++.
* this avoids a bunch of trivial warnings */
#pragma message enable nosimpint
#endif
#endif
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#if defined(USE_MGL_NAMESPACE)
#ifndef GLX_GLXEXT_LEGACY
-#include <GL/glxext.h>
+#include "yagl_inc/GL/glxext.h"
#endif /* GLX_GLXEXT_LEGACY */
#endif
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#define OSMESA_MAJOR_VERSION 6
#endif
-#include "GL/gl.h"
+#include "yagl_inc/GL/gl.h"
#if defined(_MSV_VER) && !defined(__GNUC__)
# pragma warning (disable:4273)
#include "yagl_egl_backend.h"
#include "yagl_apis/egl/yagl_egl_api.h"
#include "yagl_apis/gles/yagl_gles_api.h"
-#include <GL/gl.h>
+#include "yagl_inc/GL/gl.h"
#include "yagl_gles_driver.h"
static __inline void yagl_marshal_put_uint32_t(uint8_t** buff, uint32_t value)
#include "yagl_types.h"
#include "yagl_transport.h"
-#include <EGL/egl.h>
+#include "yagl_inc/EGL/egl.h"
static __inline EGLint yagl_transport_get_out_EGLint(struct yagl_transport *t)
{
-ifdef CONFIG_WIN32
-QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
-endif
-
-ifdef CONFIG_DARWIN
-QEMU_CFLAGS += -I$(SRC_PATH)/hw/vigs/vigs_inc
-endif
-
# ui operations
obj-y += ui_operations.o