Skip to content
Snippets Groups Projects
Commit da60bd59 authored by yuan.tian's avatar yuan.tian Committed by Gianfranco Mariotti
Browse files

MGS-6394 [#ccc] 0002-CL381777-KERNEL-SPACE-Remove-WL_EGL_PLATFORM-re-defi


Remove WL_EGL_PLATFORM
 re-define in driver makefile as it is defined in Wayland System header
 "wayland-egl.h". Only use EGL_API_WL define for WL specific code in GPU
 drivers.

Signed-off-by: default avatarKe Feng <ke.feng@verisilicon.com>

Signed-off-by: default avataryuan.tian <yuan.tian@nxp.com>
parent f9709521
No related branches found
No related tags found
1 merge request!156Draft: [i.MX] mxc: gpu-viv: apply patches
......@@ -64,10 +64,7 @@ extern "C" {
#endif
#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#ifndef WIN32_LEAN_AND_MEAN
/* #define WIN32_LEAN_AND_MEAN 1 */
#endif
#if defined(_WIN32)
#include <windows.h>
typedef HDC HALNativeDisplayType;
......@@ -81,38 +78,6 @@ typedef struct __BITFIELDINFO
}
BITFIELDINFO;
#elif /* defined(__APPLE__) || */ defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */
#elif defined(WL_EGL_PLATFORM) || defined(EGL_API_WL) /* Wayland */
#elif defined(__GBM__) /* GBM */
#elif defined(__ANDROID__) || defined(ANDROID)
#elif defined(MIR_EGL_PLATFORM) /* Mir */
#elif defined(__QNXNTO__)
#elif defined(__unix__) || defined(__APPLE__)
#if defined(EGL_API_DFB)
#elif defined(EGL_API_FB)
#elif defined(EGL_API_NULLWS)
#else
/* X11 (tetative). */
#endif
#else
#error "Platform not recognized"
#endif
#if defined(_WIN32) || defined(__VC32__) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#include "gc_hal_eglplatform_type.h"
/*******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment