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

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

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

Visibility: public

Requested revision: 6dfabddbb4c219f7a0ec0b2174d880040d43cf1d

Requested commit: 6dfabddbb4c219f7a0ec0b2174d880040d43cf1d

Commit: 6dfabddbb4c219f7a0ec0b2174d880040d43cf1d

Tree: 1c9fe07962cf03112357c7d7527b6ec2f4b9ea3c

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Revert "gpui: Enable direct-to-display optimization for metal" (#45405)

Reverts zed-industries/zed#44334

From my testing, this PR introduced screen tearing, or some kind of
strange visual artifact, when scrolling at medium speed on a large
display.

Release notes:

- N/A
```

## Parents

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

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