Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run GL commands on the GStreamer GL thread #25271

Merged
merged 1 commit into from Dec 13, 2019

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Dec 12, 2019

GStreamer has thread affinity for GL contexts.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25268
  • These changes do not require tests because
@highfive
Copy link

highfive commented Dec 12, 2019

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
@asajeffrey
Copy link
Member Author

asajeffrey commented Dec 12, 2019

@highfive highfive assigned Manishearth and unassigned ferjm Dec 12, 2019
@@ -55,8 +55,10 @@ use gstreamer_base::BaseSrcExt;
use gstreamer_gl::GLContext;
use gstreamer_gl::GLContextExt;
use gstreamer_gl::GLContextExtManual;
use gstreamer_gl_sys::gst_gl_context_thread_add;

This comment has been minimized.

Copy link
@Manishearth

Manishearth Dec 12, 2019

Member

is there no exported rust function for this? should there be one? we should file an upstream bug

This comment has been minimized.

@asajeffrey
Copy link
Member Author

asajeffrey commented Dec 12, 2019

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2019

📌 Commit 16122be has been approved by Manishearth

bors-servo added a commit that referenced this pull request Dec 12, 2019
Run GL commands on the GStreamer GL thread

<!-- Please describe your changes on the following line: -->

GStreamer has thread affinity for GL contexts.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25268
- [x] These changes do not require tests because

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2019

Testing commit 16122be with merge 332fd03...

@bors-servo
Copy link
Contributor

bors-servo commented Dec 12, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Dec 13, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

Testing commit 16122be with merge f67c008...

bors-servo added a commit that referenced this pull request Dec 13, 2019
Run GL commands on the GStreamer GL thread

<!-- Please describe your changes on the following line: -->

GStreamer has thread affinity for GL contexts.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25268
- [x] These changes do not require tests because

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Dec 13, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

Testing commit 16122be with merge ee16561...

bors-servo added a commit that referenced this pull request Dec 13, 2019
Run GL commands on the GStreamer GL thread

<!-- Please describe your changes on the following line: -->

GStreamer has thread affinity for GL contexts.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25268
- [x] These changes do not require tests because

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member

jdm commented Dec 13, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

Testing commit 16122be with merge 0954871...

bors-servo added a commit that referenced this pull request Dec 13, 2019
Run GL commands on the GStreamer GL thread

<!-- Please describe your changes on the following line: -->

GStreamer has thread affinity for GL contexts.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25268
- [x] These changes do not require tests because

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2019

☀️ Test successful - status-taskcluster
Approved by: Manishearth
Pushing 0954871 to master...

@bors-servo bors-servo merged commit 16122be into servo:master Dec 13, 2019
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

6 participants
You can’t perform that action at this time.