Microsoft improves inking latency by up to 240% in Edge Dev
Microsoft has an enhanced inking experience in testing on Edge Dev. Microsoft explains that the improvements it’s implemented result in up to a 240% improvement in latency for inking. To try out the new experience, your PC needs to be on the latest Windows 11 Insider preview buid. You also have to have the latest build of Microsoft Edge Dev.
The improvement is a result of Microsoft introducing a top level Ink API that developers can incorporate into web apps. Microsoft shares how to get the API to work with web apps in more depth in its blog post.
For users of the Edge browser, the end result is a smoother and quicker inking experience, as shown below. The green segment of the line illustrates the improvement in inking latency.
In Chromium-based browsers today, pen events are first sent to the browser process, which in turn forwards these events to a web application’s JavaScript event loop. The time delay between when the browser process receives these events and when they reach the application can sometimes be significant, depending on the rest of the main thread, resulting in the latency seen when inking.
To improve this, behind the scenes of the InkPresenter implementation on Windows 11, Microsoft Edge is using a new Windows API that will work directly with the operating system’s compositor to draw additional ink strokes outside of Microsoft Edge’s application loop. Thanks to this API, instead of waiting to deliver the event to the web application via JavaScript, we can take these points and provide them to the operating system compositor as soon as we receive them. The compositor can then connect the points with ink strokes and draw these strokes in the next frame that is to be presented to the screen, dramatically reducing latency.
Microsoft’s efforts have been contributed to the Chromium project, so they should also benefit browsers other than Edge.
We may earn a commission for purchases using our links. Learn more.
We compares XPG’s lightweight Xenia 14 with the powerful Xenia Xe
XPG now has a few laptops on the market, each catering to a different crowd. The Xenia 14 is a lightweight laptop with A LOT going for it, while the Xenia Xe is a more classic 15-inch Ultrabook with excellent all-around performance. Which one is better for you? We compare to help you decide.
What Wi-Fi 6E router is worth buying?
Wi-Fi 6E routers are still in their infancy, and it can be hard to choose which one is right for you. Here are the Wi-Fi 6E routers with the right speeds and features worth picking up.