Repository navigation
Commit 40e234f
winit-host: flush queued writes when the frame cannot be acquired
A Timeout or Occluded surface returned before any submit, leaving every
write_buffer of the frame pending in the queue. While a window stays
hidden or occluded that grows without bound (about 50 MB/s in a sprite
scene: one staging buffer per write). Submitting an empty batch flushes
them; Outdated/Lost do the same before reconfiguring.1 parent 87bd7da commit 40e234f
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1930 | 1930 | | |
1931 | 1931 | | |
1932 | 1932 | | |
1933 | | - | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
1934 | 1939 | | |
1935 | 1940 | | |
1936 | 1941 | | |
1937 | 1942 | | |
1938 | | - | |
| 1943 | + | |
| 1944 | + | |
1939 | 1945 | | |
1940 | 1946 | | |
1941 | 1947 | | |
| |||
0 commit comments