Skip to content

Commit d1abf36

Browse files
author
minggo
committed
Merge pull request #130 from MSOpenTech/v3-winrt-angle
updated angle to commit 03dbc36ecf
2 parents 62a3d0d + da538db commit d1abf36

File tree

20 files changed

+20
-8
lines changed

20 files changed

+20
-8
lines changed

winrt_8.1-specific/angle/include/EGL/eglext.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu
461461
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE 0x320A
462462
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE 0x320B
463463
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_REFERENCE_ANGLE 0x320C
464+
#define EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE 0x320F
464465
#endif /* EGL_ANGLE_platform_angle_d3d */
465466

466467
#ifndef EGL_ANGLE_platform_angle_opengl

winrt_8.1-specific/angle/include/platform/Platform.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ class Platform
2020
{
2121
public:
2222

23-
ANGLE_EXPORT static void initialize(Platform*);
24-
ANGLE_EXPORT static void shutdown();
25-
ANGLE_EXPORT static Platform *current();
26-
2723
// Tracing --------
2824

2925
typedef uint64_t TraceEventHandle;
@@ -104,4 +100,13 @@ class Platform
104100

105101
}
106102

103+
typedef void(*ANGLEPlatformInitializeFunc)(angle::Platform*);
104+
ANGLE_EXPORT void ANGLEPlatformInitialize(angle::Platform*);
105+
106+
typedef void (*ANGLEPlatformShutdownFunc)();
107+
ANGLE_EXPORT void ANGLEPlatformShutdown();
108+
109+
typedef angle::Platform *(*ANGLEPlatformCurrentFunc)();
110+
ANGLE_EXPORT angle::Platform *ANGLEPlatformCurrent();
111+
107112
#endif // ANGLE_PLATFORM_H
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
668 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

wp_8.1-specific/angle/include/EGL/eglext.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfacePointerANGLE (EGLDisplay dpy, EGLSu
461461
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE 0x320A
462462
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE 0x320B
463463
#define EGL_PLATFORM_ANGLE_DEVICE_TYPE_REFERENCE_ANGLE 0x320C
464+
#define EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE 0x320F
464465
#endif /* EGL_ANGLE_platform_angle_d3d */
465466

466467
#ifndef EGL_ANGLE_platform_angle_opengl

wp_8.1-specific/angle/include/platform/Platform.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ class Platform
2020
{
2121
public:
2222

23-
ANGLE_EXPORT static void initialize(Platform*);
24-
ANGLE_EXPORT static void shutdown();
25-
ANGLE_EXPORT static Platform *current();
26-
2723
// Tracing --------
2824

2925
typedef uint64_t TraceEventHandle;
@@ -104,4 +100,13 @@ class Platform
104100

105101
}
106102

103+
typedef void(*ANGLEPlatformInitializeFunc)(angle::Platform*);
104+
ANGLE_EXPORT void ANGLEPlatformInitialize(angle::Platform*);
105+
106+
typedef void (*ANGLEPlatformShutdownFunc)();
107+
ANGLE_EXPORT void ANGLEPlatformShutdown();
108+
109+
typedef angle::Platform *(*ANGLEPlatformCurrentFunc)();
110+
ANGLE_EXPORT angle::Platform *ANGLEPlatformCurrent();
111+
107112
#endif // ANGLE_PLATFORM_H
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
42.5 KB
Binary file not shown.
668 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
688 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)