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

Sync changes from mozilla-central gfx/wr #4009

Merged
merged 2 commits into from Jul 8, 2020
Merged

Conversation

@moz-gfx
Copy link

moz-gfx commented Jul 8, 2020

No description provided.

jrmuizel added 2 commits Jul 8, 2020
…to initialize. r=gw

Bug 1650662 makes us RELEASE_ASSERT on FreeType initialization earlier
so I think it's unlikely that we ever hit this case in the future.

Differential Revision: https://phabricator.services.mozilla.com/D82390

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/7d7ec58e0aa2166d965b9c918a468d72ee9be2a5
The goal here is to make it so that we don't special case the device on Mac
so that we can switch GPUs without needing to reset any state.

There a couple of parts to this:
1. Disable texture storage so that we can use BGRA textures and don't need swizzling.
2. Use the recommended GL_UNSIGNED_INT_8_8_8_8_REV for BGRA on desktop GL.
3. Disable swizzling.
4. Always do the PBO workaround.

Differential Revision: https://phabricator.services.mozilla.com/D82223

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/a8b05894377919237c20e33dfe61bd9b103d500f
@moz-gfx
Copy link
Author

moz-gfx commented Jul 8, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented Jul 8, 2020

📌 Commit 87aa839 has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented Jul 8, 2020

Testing commit 87aa839 with merge 4f4770b...

@bors-servo
Copy link
Contributor

bors-servo commented Jul 8, 2020

☀️ Test successful - status-taskcluster
Approved by: auto
Pushing 4f4770b to master...

@bors-servo bors-servo merged commit 4f4770b into servo:master Jul 8, 2020
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.

None yet

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