mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[windows] use angle fast path on d3d11 backend (flutter/engine#31830)
This commit is contained in:
parent
4f6f461dac
commit
4f31c558bc
@ -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,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user