Skip to content

Call eglMakeCurrent with non-null surfaces before anything else#27743

Merged
bors-servo merged 1 commit intoservo:masterfrom
2dav:master
Nov 8, 2020
Merged

Call eglMakeCurrent with non-null surfaces before anything else#27743
bors-servo merged 1 commit intoservo:masterfrom
2dav:master

Conversation

@2dav
Copy link
Copy Markdown

@2dav 2dav commented Nov 7, 2020

First call to eglMakeCurrent with no draw or read surface leads to black window on Nvidia/X11. This change ensures first call to eglMakeCurrent made with non-null surfaces.

  • There are tests for these changes OR
  • These changes do not require tests because ___

…ack window on Nvidia/X11. This change ensures first call to eglMakeCurrent made with non-null surfaces.
@jdm
Copy link
Copy Markdown
Member

jdm commented Nov 8, 2020

@bors-servo r+
Thanks for figuring this out! This looks like a sensible behavior change to me.

@bors-servo
Copy link
Copy Markdown
Contributor

📌 Commit 7119eb7 has been approved by jdm

@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit 7119eb7 with merge cb43a9f...

bors-servo added a commit that referenced this pull request Nov 8, 2020
Call eglMakeCurrent with non-null surfaces before anything else

First call to eglMakeCurrent with no draw or read surface leads to black window on Nvidia/X11. This change ensures first call to eglMakeCurrent made with non-null surfaces.
<!-- 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 #26353  (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [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
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@CYBAI
Copy link
Copy Markdown
Member

CYBAI commented Nov 8, 2020

@bors-servo retry

@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit 7119eb7 with merge bbdaf22...

@bors-servo
Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing bbdaf22 to master...

@bors-servo bors-servo merged commit bbdaf22 into servo:master Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Black Screen: Servo fails to render anything on Xorg drivers

4 participants