Skip to content

[Windows] Don't block raster thread until v-blank #124903

@loic-sharma

Description

@loic-sharma

Currently the Windows raster thread blocks until the v-blank. As a result, the raster thread always spends ~17ms per frame on Windows. This behavior prevents us from rendering multiple views on the same raster thread.

Results

If you hover on and off the counter app's button repeatedly, raster thread spends ~17ms per frame consistently:

Pasted image 20230414180144

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: desktopRunning on desktopplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions