Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSync changes from mozilla-central gfx/wr #4009
Merged
+22
−11
Conversation
…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
|
@bors-servo r=auto |
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
moz-gfx commentedJul 8, 2020
No description provided.