aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/pipeline.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move pipeline into the constellation crate.Ms2ger2016-05-211-524/+0
|
* Move CompositionPipeline out of the pipeline module.Ms2ger2016-05-211-9/+1
|
* Remove pointless phantom arguments to ScriptThreadFactory and ↵Ms2ger2016-05-201-21/+24
| | | | LayoutThreadFactory.
* Implement trait-based ResourceThreads and clean up related naming issuesZhen Zhang2016-05-201-12/+6
| | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions
* Remove ConstellationChan.Ms2ger2016-05-191-10/+9
| | | | | | It's a pointless abstraction that propagates the obsolete chan terminology, swaps the order in which the sender and receiver are returned, and hides a source of panics.
* Add Bluetooth IPC supportfokinv2016-05-031-0/+6
|
* Added a dedicated panic channel.Alan Jeffrey2016-04-191-19/+12
|
* Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearthbors-servo2016-04-141-6/+3
|\ | | | | | | | | | | | | | | | | | | | | Added panic message to failures. Added the panic message to failures. This is a step towards #10334, since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10587) <!-- Reviewable:end -->
| * Added panic message to failures.Alan Jeffrey2016-04-131-6/+3
| |
* | Share prefs to content processesUlf Nilsson2016-04-121-1/+8
|/ | | | | | Without this `./mach run -b -- -M` would start fine but navigating to a site would fail with: `thread 'ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'assertion failed: mozbrowser_enabled()', /Users/ulf/Documents/Code/servo/components/script/dom/htmliframeelement.rs:163`
* Removed sources of panic from piepline.rs.Alan Jeffrey2016-04-071-29/+59
|
* Auto merge of #10399 - jdm:pb, r=jdmbors-servo2016-04-051-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Private browsing - Initial steps Rebase of #10160. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10399) <!-- Reviewable:end -->
| * Private browsing - Initial stepsdhaval06032016-04-041-0/+2
| |
* | No more headless compositor. Just the normal one.Michael Howell2016-03-241-5/+9
|/ | | | | | | | | This changes headless operation to strictly be a runtime option, rather than a compile-time one. Note that the old headless version still relied on a display server to support WebGL, while it now requires one all the time. Fixes #8573
* Add WebRender integration to Servo.Glenn Watson2016-02-181-1/+7
| | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
* move MozBrowserEvent to script_traits (+ documentation)apopiak2016-01-131-2/+2
|
* task -> threadrohan.prinja2016-01-101-51/+51
|
* Separate script and layout messages, issue #8843Joe Kachmar2015-12-261-4/+9
|
* Moved ScriptToCompositorMsg enum and EventResult enum to script_traitsBeomjin Kim2015-12-201-1/+1
|\ | | | | | | | | | | Moved ScriptToCompositorMsg enum and EventResult enum to script_traits (rebased)
| * Move PaintMsg enum to gfx_traits #8844Maciej Skrzypkowski2015-12-181-1/+1
| |
* | Moved ScriptToCompositorMsg enum and EventResult enum to script_traitsBeomjin Kim2015-12-201-2/+1
|/ | | | | Moved ScriptToCompositorMsg enum and EventResult enum to script_traits resolving issue #8835.
* Move ScriptMsg from msg crate into script_traitsTomas Cernaj2015-12-091-3/+2
|
* Consume self in PrivilegedPipelineContent methods.Ms2ger2015-11-261-19/+30
| | | | | This leads to a little bit of copy/paste, but the resulting code should be quite a bit more efficient.
* Take PrivilegedPipelineContent::script_to_compositor_port out of its Option.Ms2ger2015-11-261-5/+4
|
* Remove unused PrivilegedPipelineContent::constellation_chan.Ms2ger2015-11-261-3/+1
|
* Split paint task messages from ScriptMsgGreg Guthe2015-11-251-1/+6
| | | | Refs: https://github.com/servo/servo/issues/8592
* compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-191-50/+113
| | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* Split ConstellationMsg into ScriptMsg and CompositorMsgKeith Yeung2015-11-161-2/+3
|
* script: Make timer events e10s-safe.Patrick Walton2015-11-121-2/+5
| | | | Closes #8235.
* Remove the unused PipelineExitType field from LayoutControlMsg::ExitNow.Ms2ger2015-11-051-3/+2
|
* Remove the unused PipelineExitType field from ChromeToPaintMsg::Exit.Ms2ger2015-11-051-2/+1
|
* Remove the unused PipelineExitType argument from Pipeline::exit.Ms2ger2015-11-051-1/+1
|
* Remove the unused PipelineExitType field from ↵Ms2ger2015-11-051-5/+3
| | | | ConstellationControlMsg::ExitPipeline.
* Remove the unused IpcSender from ChromeToPaintMsg::Exit.Ms2ger2015-11-051-1/+0
|
* Timers are scheduled by a dedicated per-constellation thread.benshu2015-10-211-0/+6
|
* Make it possible for iframes to create their own pipeline ID.Glenn Watson2015-10-061-0/+6
| | | | | | | | This doesn't change any functionality, but it's the first step towards removing SubpageId. Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR. Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.
* layout: Make the compositor rather than layout determine the position ofPatrick Walton2015-09-291-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | each iframe. The old code that attempted to do this during layout wasn't able to work for multiple reasons: it couldn't know where the iframe was going to be on the page (because of nested iframes), and at the time it was building the display list for a fragment it couldn't know where that fragment was going to be in page coordinates. This patch rewrites that code so that both the sizes and positions of iframes are determined by the compositor. Layout layerizes all iframes and marks the iframe layers with the appropriate pipeline and subpage IDs so that the compositor can place them correctly. This approach is similar in spirit to Gecko's `RefLayer` infrastructure. The logic that determines when it is time to take the screenshot for reftests has been significantly revamped to deal with this change in delegation of responsibility. Additionally, this code removes the infrastructure that sends layout data back to the layout task to be destroyed, since it is now all thread-safe and can be destroyed on the script task. The failing tests now fail because of a pre-existing bug related to intrinsic heights and borders on inline replaced elements. They happened to pass before because we never rendered the iframes at all, which meant they never had a chance to draw the red border the tests expect to not render! Closes #7377.
* Enable resetable and String prefs.James Graham2015-09-251-1/+1
| | | | | | | | | This allows both boolean and string-type preferences. It also implements a system where prefs that are read from a configuration file can be reset back to their initial value, which is useful in a number of cases e.g. when running tests to ensure that each test starts with the same values for the prefs.
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-3/+2
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-4/+3
| | | | This merges import blocks that were reported by tidy as unmerged.
* Introduce InitialScriptStateAnthony Ramine2015-09-161-19/+18
|
* Introduce InitialPipelineStateAnthony Ramine2015-09-151-40/+61
|
* Auto merge of #7547 - connorimes:move_script_profiling, r=jdmbors-servo2015-09-081-0/+1
|\ | | | | | | | | | | | | | | | | | | Combine script profiling with profile crates. Fixes #7514. The script crate had its own built-in profiling which was basically doing the same thing as the profile crate. This wraps the internal profiling around the main profile functionality. Script-related tasks are now added to the ProfilerCategory enum. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7547) <!-- Reviewable:end -->
| * Combine script profiling with profile crates. Fixes #7514.Connor Imes2015-09-041-0/+1
| |
* | Update prefs API to return an Option<bool>.James Graham2015-09-041-1/+1
|/ | | | | This allows for situations where there is no reasonable default to apply for the pref value e.g. when we are just listing values
* Replace catch-all experimental flag with fine-grained boolean preferences ↵Josh Matthews2015-08-281-2/+2
| | | | initialized from a JSON document.
* sort all usesJohann Tuffe2015-08-201-3/+3
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-18/+18
|
* remove ScriptListenervectorijk2015-08-161-2/+1
| | | | ref #7175
* Pass a Sender<ConstellationControlMsg> to Pipeline::new.Ms2ger2015-08-121-8/+7
|