Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Support preserving the drawing buffer between swaps. #9

Merged
merged 2 commits into from
Jul 31, 2020

Conversation

jdm
Copy link
Member

@jdm jdm commented Jul 28, 2020

No description provided.

bors-servo added a commit to servo/servo that referenced this pull request Jul 28, 2020
Support preserveDrawingBuffer

Depends on servo/surfman-chains#9 and servo/webxr#190.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24604
- [x] There are tests for these changes
bors-servo added a commit to servo/servo that referenced this pull request Jul 28, 2020
Support preserveDrawingBuffer

Depends on servo/surfman-chains#9 and servo/webxr#190.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24604
- [x] There are tests for these changes
@jdm jdm marked this pull request as ready for review July 30, 2020 14:42
@jdm
Copy link
Member Author

jdm commented Jul 30, 2020

r? @asajeffrey

@asajeffrey
Copy link
Member

LGTM. Can you add a major version bump and I'll merge and publish it?

@asajeffrey
Copy link
Member

Hmm, we could avoid the major bump with a different API, which adds a function to blit the front buffer to the back buffer.

@jdm
Copy link
Member Author

jdm commented Jul 31, 2020

I looked into that at first, but it's possible for the front buffer to be taken by the consumer before it can be blitted. The blit needs to happen while we know the status of both surfaces.

@asajeffrey
Copy link
Member

Good point.

@asajeffrey asajeffrey merged commit ab719bc into servo:main Jul 31, 2020
bors-servo added a commit to servo/webxr that referenced this pull request Aug 6, 2020
Adjust for surfman-chains swapping changes.

Depends on servo/surfman-chains#9.
bors-servo added a commit to servo/servo that referenced this pull request Aug 6, 2020
Support preserveDrawingBuffer

Depends on servo/surfman-chains#9 and servo/webxr#190.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24604
- [x] There are tests for these changes
bors-servo added a commit to servo/servo that referenced this pull request Aug 6, 2020
Support preserveDrawingBuffer

Depends on servo/surfman-chains#9 and servo/webxr#190.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24604
- [x] There are tests for these changes
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants