Remove old rendering backend.#13711
Conversation
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try |
Remove old rendering backend. This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place for now so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
|
💔 Test failed - mac-rel-wpt1 |
ba9d0bb to
c241737
Compare
|
@bors-servo retry |
|
@bors-servo try |
Remove old rendering backend. This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place for now so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13711) <!-- Reviewable:end -->
|
💔 Test failed - windows-dev |
c241737 to
90c3764
Compare
|
@bors-servo try |
|
⌛ Trying commit 90c3764 with merge e43bd42... |
Remove old rendering backend. This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place for now so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13711) <!-- Reviewable:end -->
90c3764 to
c233541
Compare
|
We should get the stacking context patch from @mrobinson reviewed and merged before this. This can still be reviewed, and I'll rebase on top of that when it lands. |
| webrender: Option<webrender::Renderer>, | ||
| webrender: webrender::Renderer, | ||
|
|
||
| /// The webrender interface, if enabled. |
|
|
||
| gl::bind_texture(gl::TEXTURE_2D, 0); | ||
|
|
||
| let renderbuffer_ids = if opts::get().use_webrender { |
There was a problem hiding this comment.
This appears to be backwards
There was a problem hiding this comment.
That piece of code was WR-only, but it's now not required by WR at all - so I've removed it completely.
| use euclid::point::Point2D; | ||
| use euclid::size::Size2D; | ||
| use gfx_traits::{Epoch, FrameTreeId, LayerId, LayerProperties, PaintListener}; | ||
| use gfx_traits::{LayerId}; |
components/servo/Cargo.lock
Outdated
| name = "webrender" | ||
| version = "0.6.0" | ||
| source = "git+https://github.com/servo/webrender#b31b4cf76324bfbe82d27a059e1330ef5ae34c35" | ||
| replace = "webrender 0.6.0" |
There was a problem hiding this comment.
Oops pushed a [replace] section override accidentally - fixed.
emilio
left a comment
There was a problem hiding this comment.
Only a few comments, not an in-depth review.
| webrender_traits::ImageFormat::RGBA8, | ||
| element.into()); | ||
|
|
||
| let pixel_data = CanvasPixelData { |
There was a problem hiding this comment.
Please fill a follow-up to remove the image_data field from CanvasPixelData.
| @@ -756,18 +614,7 @@ impl<Window: WindowMethods> IOCompositor<Window> { | |||
| } | |||
|
|
|||
| (Msg::CollectMemoryReports(reports_chan), ShutdownState::NotShuttingDown) => { | |||
There was a problem hiding this comment.
At this point we could also remove this message entirely. Please do it or file a followup for it.
| } | ||
| _pipeline_id: PipelineId, | ||
| _layer_id: LayerId, | ||
| _point: Point2D<f32>) { |
There was a problem hiding this comment.
So if I understand this code correctly, this is only called on resize to keep the scroll where the fragment of the URL points to. The code in script_thread.rs has a FIXME(pcwalton) saying it's very bogus. I think it's a regression we could take, what do you think?
There was a problem hiding this comment.
It's also used for scrolling to a # anchor in a page. However, it doesn't work with webrender right now anyway, so it's not technically a regression. #13736
c233541 to
29567a8
Compare
|
@bors-servo try |
|
📌 Commit 324914d has been approved by |
|
@bors-servo clean try- r+ |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit 324914d has been approved by |
|
@bors-servo: p=1000
|
|
@bors-servo: clean r- try- |
|
@bors-servo: r=larsbergstrom,pcwalton,Ms2ger,emilio |
|
📌 Commit 324914d has been approved by |
This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
324914d to
acfdfd2
Compare
|
@bors-servo r=larsbergstrom |
|
📌 Commit acfdfd2 has been approved by |
|
⌛ Testing commit acfdfd2 with merge f96718d... |
Remove old rendering backend. This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place for now so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13711) <!-- Reviewable:end -->
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
This removes paint threads, rust-layers dependency, and changes
optional webrender types to be required.
The use_webrender option has been removed, however I've left
the "-w" command line option in place for now so that wpt
runner can continue to pass that. Once it's removed from there
we can also remove the -w option.
Once this stage is complete, it should be fine to change the
display list building code to generate webrender display
lists directly and avoid the conversion step.
This change is