Skip to content

Commit 18ade17

Browse files
committed
Merge pull request #181 from MSOpenTech/v3-winrt-angle
V3 winrt angle update to fix issue #9980
2 parents 330086a + 5306eaa commit 18ade17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+22567
-11050
lines changed

win10-specific/angle/include/EGL/egl.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ extern "C" {
66
#endif
77

88
/*
9-
** Copyright (c) 2013-2014 The Khronos Group Inc.
9+
** Copyright (c) 2013-2015 The Khronos Group Inc.
1010
**
1111
** Permission is hereby granted, free of charge, to any person obtaining a
1212
** copy of this software and/or associated documentation files (the
@@ -33,12 +33,12 @@ extern "C" {
3333
** used to make the header, and the header can be found at
3434
** http://www.opengl.org/registry/
3535
**
36-
** Khronos $Revision: 29318 $ on $Date: 2015-01-02 03:16:10 -0800 (Fri, 02 Jan 2015) $
36+
** Khronos $Revision: 31566 $ on $Date: 2015-06-23 08:48:48 -0700 (Tue, 23 Jun 2015) $
3737
*/
3838

3939
#include <EGL/eglplatform.h>
4040

41-
/* Generated on date 20150102 */
41+
/* Generated on date 20150623 */
4242

4343
/* Generated C header for:
4444
* API: egl

win10-specific/angle/include/EGL/eglext.h

+175-21
Large diffs are not rendered by default.

win10-specific/angle/include/EGL/eglplatform.h

+13-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
/* Platform-specific types and definitions for egl.h
28-
* $Revision: 23432 $ on $Date: 2013-10-09 00:57:24 -0700 (Wed, 09 Oct 2013) $
28+
* $Revision: 30994 $ on $Date: 2015-04-30 13:36:48 -0700 (Thu, 30 Apr 2015) $
2929
*
3030
* Adopters may modify khrplatform.h and this file to suit their platform.
3131
* You are encouraged to submit all modifications to the Khronos group so that
@@ -99,6 +99,12 @@ typedef struct ANativeWindow* EGLNativeWindowType;
9999
typedef struct egl_native_pixmap_t* EGLNativePixmapType;
100100
typedef void* EGLNativeDisplayType;
101101

102+
#elif defined(USE_OZONE)
103+
104+
typedef intptr_t EGLNativeDisplayType;
105+
typedef intptr_t EGLNativeWindowType;
106+
typedef intptr_t EGLNativePixmapType;
107+
102108
#elif defined(__unix__)
103109

104110
/* X11 (tentative) */
@@ -111,11 +117,15 @@ typedef Window EGLNativeWindowType;
111117

112118
#elif defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__) )
113119

114-
// TODO(jmadill): native implementation for OSX
120+
#if defined(__OBJC__)
121+
@class CALayer;
122+
#else
123+
class CALayer;
124+
#endif
115125

116126
typedef void *EGLNativeDisplayType;
117127
typedef void *EGLNativePixmapType;
118-
typedef void *EGLNativeWindowType;
128+
typedef CALayer *EGLNativeWindowType;
119129

120130
#else
121131
#error "Platform not recognized"

0 commit comments

Comments
 (0)