Update present_with_transaction#3111
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3111 +/- ##
=======================================
Coverage 64.75% 64.75%
=======================================
Files 81 81
Lines 38711 38711
=======================================
+ Hits 25066 25069 +3
+ Misses 13645 13642 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
I don't think this is what we actually want. Presenting with transaction is a much more intense form of synchronization which synchronizes with CoreAnimation. |
|
Is there currently a way to configure wgpu to use CoreAnimation? Because I found that there is a memory leak problem here: wgpu/wgpu-hal/src/metal/mod.rs Line 381 in ce08179 |
|
@xiaopengli89 does this leak happen in regular Metal Objective-C or Swift examples? It would be great to verify if this was a actually a Metal bug or if we're accidentally holding an extra reference somewhere (i.e., we have an auto release pool missing somewhere other than |

Checklist
cargo clippy.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknownif applicable.Description
Set
present_with_transactionaccording toPresentMode.