-
Notifications
You must be signed in to change notification settings - Fork 165
Breaking Changes
These are changes made to ANGLE which might break your Windows Store app if/when you update to the newest version of ANGLE.
In Windows 8.1 and above, Windows Store applications must call IDXGIDevice3::Trim when they are suspended. If an application uses D3D11 and doesn't call IDXGIDevice3::Trim upon suspension, then it will fail the Windows App Certification Kit (WACK) tests and cannot be published to the Windows Store.
Until recently, ANGLE automatically called IDXGIDevice3::Trim upon app suspension. Unfortunately this behavior doesn't work correctly in some advanced scenarios.
To make ANGLE call IDXGIDevice3::Trim automatically upon app suspension, you must now add the following to your EGL display attributes:
EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE, EGL_TRUE,
We have already updated our Visual Studio templates to include this flag.
The display attribute used to configure an EGLDisplay to use WARP has been changed. You might see the following compiler error:
"error C2065: 'EGL_PLATFORM_ANGLE_USE_WARP_ANGLE' : undeclared identifier"
This can be fixed by replacing the display attribute:
From:
EGL_PLATFORM_ANGLE_USE_WARP_ANGLE, EGL_TRUE
To:
EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_DEVICE_TYPE_WARP_ANGLE