gpui: Enable direct-to-display optimization for metal (#45434)

Continuing of #44334 

I removed disabling of vsync which was causing jitter on some external
displays

cc: @maxbrunsfeld @Anthony-Eid 

Release Notes:

- Mark metal layers opaque for non-transparent windows to allow
direct-to-display when supported

Signed-off-by: Marco Mihai Condrache <52580954+marcocondrache@users.noreply.github.com>
213cb30445Marco Mihai Condrache committed on 12/21/2025, 9:17:02 AM· committed by GitHubparent4b56fec
1 file changedLine totals unavailable