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

Update WR - stride support, remove deprecated / unused shaders. #14145

Merged
merged 1 commit into from Nov 9, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -323,7 +323,11 @@ fn get_placeholder_image(webrender_api: &webrender_traits::RenderApi) -> io::Res
let format = convert_format(image.format);
let mut bytes = Vec::new();
bytes.extend_from_slice(&*image.bytes);
image.id = Some(webrender_api.add_image(image.width, image.height, format, bytes));
image.id = Some(webrender_api.add_image(image.width,
image.height,
None,
format,
bytes));
Ok(Arc::new(image))
}

@@ -478,7 +482,11 @@ impl ImageCache {
let format = convert_format(image.format);
let mut bytes = Vec::new();
bytes.extend_from_slice(&*image.bytes);
image.id = Some(self.webrender_api.add_image(image.width, image.height, format, bytes));
image.id = Some(self.webrender_api.add_image(image.width,
image.height,
None,
format,
bytes));
}
LoadResult::PlaceholderLoaded(..) | LoadResult::None => {}
}

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

This file was deleted.

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.