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 #3849

Merged
merged 2 commits into from Feb 4, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Bug 1612973 - allow opaque images to use the fast image shader. r=nical

  • Loading branch information
Lee Salzman authored and moz-gfx committed Feb 4, 2020
commit b4e31d4128dec00373f21e716b9ab1d99bc55617
@@ -936,8 +936,7 @@ impl Shaders {
}
BrushBatchKind::Image(image_buffer_kind) => {
if features.contains(BatchFeatures::ANTIALIASING) ||
features.contains(BatchFeatures::REPETITION) ||
!features.contains(BatchFeatures::ALPHA_PASS) {
features.contains(BatchFeatures::REPETITION) {

self.brush_image[image_buffer_kind as usize]
.as_mut()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.