# gpui: Enable direct-to-display optimization for metal \(\#45434\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/213cb30445208c8c59f02ccd14bd255d6ab2c11e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 213cb30445208c8c59f02ccd14bd255d6ab2c11e

Requested commit: 213cb30445208c8c59f02ccd14bd255d6ab2c11e

Commit: 213cb30445208c8c59f02ccd14bd255d6ab2c11e

Tree: b10792925527b1ed6dcce34eb3cc3d02338c0d37

Author: Marco Mihai Condrache

Committer: GitHub

## Message

```
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>
```

## Parents

- [4b56fec971579bab18f365be93d46ba68fd1f091](https://git.cafe/gitcafe/zed/commit/4b56fec971579bab18f365be93d46ba68fd1f091?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/213cb30445208c8c59f02ccd14bd255d6ab2c11e?format=markdown)
