[windows] use angle fast path on d3d11 backend (flutter/engine#31830)

This commit is contained in:
Jonah Williams 2022-03-07 10:06:09 -08:00 committed by GitHub
parent 4f6f461dac
commit 4f31c558bc

View File

@ -95,6 +95,12 @@ bool AngleSurfaceManager::Initialize() {
// behalf of the application when it gets suspended.
EGL_PLATFORM_ANGLE_ENABLE_AUTOMATIC_TRIM_ANGLE,
EGL_TRUE,
// This extension allows angle to render directly on a D3D swapchain
// in the correct orientation on D3D11.
EGL_EXPERIMENTAL_PRESENT_PATH_ANGLE,
EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE,
EGL_NONE,
};