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 Webrender #21725

Merged
merged 4 commits into from Oct 12, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Update Webrender

New version is
9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6
  • Loading branch information
pyfisch authored and jdm committed Oct 9, 2018
commit d13172845c2320a8ec4025e964dd1e8617b3c6df

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

@@ -636,7 +636,8 @@ impl<T: WebGLExternalImageApi> webrender::ExternalImageHandler for WebGLExternal
/// The WR client should not change the image content until the unlock() call.
fn lock(&mut self,
key: webrender_api::ExternalImageId,
_channel_index: u8) -> webrender::ExternalImage {
_channel_index: u8,
_rendering: webrender_api::ImageRendering) -> webrender::ExternalImage {
let ctx_id = WebGLContextId(key.0 as _);
let (texture_id, size) = self.handler.lock(ctx_id);

@@ -1081,6 +1081,7 @@ impl FragmentDisplayListBuilding for Fragment {
tile_spacing: placement.tile_spacing.to_layout(),
image_rendering: style.get_inherited_box().image_rendering.to_layout(),
alpha_type: webrender_api::AlphaType::PremultipliedAlpha,
color: webrender_api::ColorF::WHITE,
},
);
});
@@ -1994,6 +1995,7 @@ impl FragmentDisplayListBuilding for Fragment {
.image_rendering
.to_layout(),
alpha_type: webrender_api::AlphaType::PremultipliedAlpha,
color: webrender_api::ColorF::WHITE,
},
);
}
@@ -2011,6 +2013,7 @@ impl FragmentDisplayListBuilding for Fragment {
tile_spacing: LayoutSize::zero(),
image_rendering: ImageRendering::Auto,
alpha_type: webrender_api::AlphaType::PremultipliedAlpha,
color: webrender_api::ColorF::WHITE,
},
);
}
@@ -2040,6 +2043,7 @@ impl FragmentDisplayListBuilding for Fragment {
tile_spacing: LayoutSize::zero(),
image_rendering: ImageRendering::Auto,
alpha_type: webrender_api::AlphaType::PremultipliedAlpha,
color: webrender_api::ColorF::WHITE,
};

state.add_image_item(base, display_item);
@@ -123,6 +123,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
item.item.image_rendering,
item.item.alpha_type,
item.item.image_key,
item.item.color,
);
},
DisplayItem::Border(ref item) => {
@@ -10,7 +10,7 @@ use msg::constellation_msg::TEST_PIPELINE_ID;
use profile_traits::time::{ProfilerChan, TimerMetadata};
use servo_url::ServoUrl;
use time;
use webrender_api::{AlphaType, ImageDisplayItem, ImageKey, ImageRendering, LayoutSize};
use webrender_api::{AlphaType, ImageDisplayItem, ImageKey, ImageRendering, LayoutSize, ColorF};

struct DummyProfilerMetadataFactory {}
impl ProfilerMetadataFactory for DummyProfilerMetadataFactory {
@@ -124,6 +124,7 @@ fn test_first_contentful_paint_setter() {
tile_spacing: LayoutSize::zero(),
image_rendering: ImageRendering::Auto,
alpha_type: AlphaType::PremultipliedAlpha,
color: ColorF::WHITE,
}
));
let display_list = DisplayList {

This file was deleted.

@@ -0,0 +1,3 @@
[clear-on-parent-and-child.html]
bug: https://github.com/servo/webrender/issues/3078
expected: FAIL

This file was deleted.

@@ -0,0 +1,2 @@
[mix-blend-mode-blended-with-transform-and-perspective.html]
expected: FAIL
@@ -0,0 +1,2 @@
[mix-blend-mode-paragraph.html]
expected: FAIL
@@ -0,0 +1,3 @@
[attachment-local-positioning-2.html]
bug: https://github.com/servo/webrender/issues/3078
expected: FAIL
@@ -0,0 +1,3 @@
[attachment-scroll-positioning-1.html]
bug: https://github.com/servo/webrender/issues/3078
expected: FAIL
@@ -0,0 +1,3 @@
[scroll-positioned-multiple-background-images.html]
bug: https://github.com/servo/webrender/issues/3078
expected: FAIL
@@ -0,0 +1,2 @@
[svg-matrix-061.html]
expected: FAIL
@@ -0,0 +1,3 @@
[transform-table-006.html]
bug: https://github.com/servo/webrender/issues/3077
expected: FAIL
@@ -0,0 +1,3 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL
@@ -0,0 +1,3 @@
[elementFromPoint-dynamic-anon-box.html]
[Link should be clickable after hiding a scrollbox with an anonymous table inside]
expected: FAIL

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.