mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Page:
Meeting 2013 05 06
Pages
Adding a new WebIDL binding
Alternative Logo Proposals and Related Swag
Asynchronous WebAssembly compilation project
Austin Oxidation
Autogeneration of style structs
Basic SVG support project
Beginner's guide to rebasing and squashing
Benchmarking
Benchmarks
Bots
Browser Engine Research
Build Errors FAQ
Buildbot administration
Building for Android
Building for Magic Leap
Building for UWP
Building on ARM desktop Linux
Building
CI Services we use
CSS parse error reporting
CSSOM student project
Canvas rendering project
Cargo upgrade service project
Code rust concurrency
Code Review
Code of Conduct
Coding standards
Compiler upgrade recipes
Compositor Layer Design
Contributing
Control Servo using WebDriver
Creating and viewing WARC web archives in Servo
Creating new OpenSSL Windows binary distributions
Cross compiling from linux to mac
Crowbot
Css selector matching meeting 2013 07 19
DOM Design
DOM documentation
DOM missing pieces
Debugging JS web compat issues
Debugging and editing tools
Debugging
Design
Developer tools student project
Devtools CSS errors
Devtools plans
Devtools
Diagnosing SpiderMonkey JIT issues
Eric Atkinson visit 2013 09 10
Events and sundry
Expand HTTP request response monitoring
Fetch improvement project
Firefox Reality release notes
FirefoxReality build
Firewall setup for servo master1
Focus student project
Form validation student project
GSoC project brainstorming
Garbage collected DOM
Getting started with layout
GitHub Labels
Github & Critic PR handling 101
Github workflow
Glossary
Governance
Graphics toolkit integration
HTML parser improvement project
HTMLElement binding conversion
HTTP archive support project
HTTP library requirements
Hawaii Rooting
High priority content for layout
Highfive
HoloLens 2 test plan
Home
How to generate GStreamer binaries for CI
Image load conformance student project
Image maps project
Implement HTML charset parsing project
Implement ImageBitmap project
Implement missing WebAudio automation student project
Implement support for missing XMLHttpRequest APIs
Implement worker modules
Implementing a web standard (RGSoC)
Improve specification conformance of unicode bidi library
Incremental flow tree construction
Infrastructure
Integrate xml5ever
Intern project brainstorming
Intern projects
JS objects, wrappers, and cross origin concerns 2013 08 07
Layout 2020
Layout Overview
Layout resources
Layout revamp ideas
Leo meyerovich visit 2013 07 22
Linux sandboxing
London Oxidation
London Security
Meeting 2014 10 27
Meeting 2014 12 08
Meeting 2012 02 08
Meeting 2012 02 16
Meeting 2012 07 20
Meeting 2013 04 01
Meeting 2013 04 15
Meeting 2013 04 22
Meeting 2013 04 29
Meeting 2013 05 06
Meeting 2013 05 13
Meeting 2013 05 20
Meeting 2013 06 03
Meeting 2013 06 10
Meeting 2013 06 14
Meeting 2013 06 17
Meeting 2013 06 24
Meeting 2013 07 01
Meeting 2013 07 15
Meeting 2013 07 22
Meeting 2013 07 29
Meeting 2013 08 05
Meeting 2013 08 12
Meeting 2013 08 19
Meeting 2013 09 09
Meeting 2013 09 16
Meeting 2013 09 23
Meeting 2013 09 30
Meeting 2013 10 14
Meeting 2013 10 21
Meeting 2013 10 28
Meeting 2013 11 04
Meeting 2013 11 18
Meeting 2013 11 25
Meeting 2013 12 02
Meeting 2013 12 09
Meeting 2013 12 16
Meeting 2014 01 06
Meeting 2014 01 13
Meeting 2014 01 21
Meeting 2014 01 27
Meeting 2014 02 03
Meeting 2014 02 10
Meeting 2014 02 24
Meeting 2014 03 10
Meeting 2014 03 17
Meeting 2014 03 24
Meeting 2014 03 31
Meeting 2014 04 07
Meeting 2014 04 14
Meeting 2014 04 21
Meeting 2014 04 28
Meeting 2014 05 05
Meeting 2014 05 13
Meeting 2014 05 19
Meeting 2014 06 09
Meeting 2014 06 17
Meeting 2014 06 23
Meeting 2014 06 30
Meeting 2014 07 07
Meeting 2014 07 14
Meeting 2014 07 21
Meeting 2014 07 29
Meeting 2014 08 04
Meeting 2014 08 11
Meeting 2014 08 12
Meeting 2014 08 18
Meeting 2014 08 25
Meeting 2014 09 08
Meeting 2014 09 15
Meeting 2014 09 22
Meeting 2014 09 29
Meeting 2014 10 06
Meeting 2014 10 13
Meeting 2014 10 20
Meeting 2014 11 10
Meeting 2014 11 17
Meeting 2014 11 24
Meeting 2014 12 15
Meeting 2015 01 05
Meeting 2015 01 12
Meeting 2015 01 26
Meeting 2015 02 09
Meeting 2015 02 23
Meeting 2015 03 02
Meeting 2015 03 16
Meeting 2015 03 30
Meeting 2015 04 06
Meeting 2015 04 13
Meeting 2015 04 27
Meeting 2015 05 04
Meeting 2015 05 11
Meeting 2015 05 18
Meeting 2015 06 01
Meeting 2015 06 08
Meeting 2015 06 15
Meeting 2015 07 06
Meeting 2015 07 13
Meeting 2015 07 27
Meeting 2015 08 10
Meeting 2015 08 17
Meeting 2015 08 24
Meeting 2015 08 31
Meeting 2015 09 14
Meeting 2015 09 21
Meeting 2015 09 28
Meeting 2015 10 05
Meeting 2015 10 12
Meeting 2015 10 19
Meeting 2015 10 26
Meeting 2015 11 02
Meeting 2015 11 09
Meeting 2015 11 16
Meeting 2015 11 30
Meeting 2016 01 04
Meeting 2016 01 11
Meeting 2016 01 25
Meeting 2016 02 01
Meeting 2016 02 08
Meeting 2016 02 22
Meeting 2016 03 07
Meeting 2016 03 21
Meeting Devtools Servo 2
Meetings
Microdata project
Minutes Hackathon 2012 03 27
Missing DOM features project
More ServiceWorker support project
More developer tools student project
Mozlandia Automation
Mozlandia B2S
Mozlandia JS
Mozlandia Rust In Gecko
Mozlandia WPT
Mozlandia gfx
Mozlando Devtools Servo
Mozlando Oxidation
Mozlando SM Servo
Mozlando Servo Bluetooth
Mozlando Servo MagicDOM
Mozlando Servo SMStrings
Mutation observer project
Mutation testing project
NCSU student projects
Network security project
Off main thread HTML parsing project
Offscreen canvas improvements project
Offscreen canvas project
Orlando Oxidation 2018
Oxidation 2015 11 05
Persistent sessions student project
Preparing ARM libraries for CI
Priority of CSS properties
Priority of DOM implementation
Priority of dom bindings
Private browsing student project
Profiling
Project proposal deadlines
Prototype JS form controls student project
Prototype ways of splitting the script crate
Publishing a new ANGLE NuGet version
Publishing a new app store release
Push vs Pull for caching
Random web content project
Refactor GLES2 student project
Refactor bluetooth support student project
Remaining work
Removing push notifications from IRC hooks
Replace C libraries student project
Report new contributors project
Representation of computed style
Research
Reviewer
Roadmap
Running Web Platform Tests on Servo
Rust HTML parser
Rust SpiderMonkey debugger API
Rust cssparser code walk 2013 08 02
SaltStack Administration
San Francisco Oxidation
Servo Benchmarking Report (December 2024)
Servo Benchmarking Report (November 2024)
Servo Benchmarking Report (October 2024)
Servo Layout Engines Report
Servo and SpiderMonkey Report
Servo for Gecko Developers
Specification Links
SpiderMonkey related tasks
SpiderMonkey infodump
SpiderMonkey upgrade details
Storage student project
Streaming webassembly student project
Strings
Student project brainstorm
Student projects
Styling overview
Stylo hacking guide
Summer of Code 2014: Implement XMLHttpRequest
Summer of Code 2016: Fetch API
Summer of Code 2016: File support
Summer of Code 2016: ServiceWorker infrastructure
Summer of Code projects
Summit meeting 2013 09 09
Support WebDriver based tests project
Syncing web platform tests (WPT)
TaskCluster
Testing
Tools
Tracking intermittent failures over time project
Transcription Notes from Servo Architecture talk in Suwon
Transcription notes from rust patterns talk in suwon
Transcription parallelism
Transcription rust concurrency
Transcription rust runtime
Transription layout and acid2
Trinity College Dublin student projects
UPenn student projects
Updating the Rust compiler used by Servo
Upgrading non taskcluster linux CI machines
Upgrading the UWP gstreamer binaries
Upgrading the windows LLVM binaries
Upgrading wptrunner
Using DOM types
Using Rust Spidermonkey Prototype
Using WebWorker Prototype
Version 0.1
Videos and presentations
WebAudio JS interfaces student project
WebAudio nodes student project
WebCompatBug
WebSocket student project
Webdriver student project
Webdriver tests student project
Webrender Overview
Whistler 2019 notes
Whistler Bugzilla
Whistler FFOS
Whistler GFX
Whistler Houdini1
Whistler Houdini2
Whistler Necko
Whistler Oxidation 2019
Work items for new contributors
Workweek COW DOM
Workweek alt js
Workweek android arm
Workweek boot 2 servo
Workweek compiler lints
Workweek displaylist
Workweek dogfooding
Workweek encoding
Workweek generated content
Workweek governance
Workweek graphics stack
Workweek graphics toolkit
Workweek incremental layout
Workweek js bindings status
Workweek layers
Workweek layers2
Workweek pixels
Workweek rasterization
Workweek reftests
Workweek roadmap
Workweek script crate
Workweek security
Workweek string interning
Workweek tables
Workweek writing modes
XML parser student project
infra triage notes
jQuery status
webxr.today support
Clone
1
Meeting 2013 05 06
Brian Anderson edited this page 2013-05-06 11:02:35 -07:00
Table of Contents
Agenda
- floats / layout
- release engineering update
- graphics pipeline
Attending
azita, brson, jack, seth, pcwalton
Floats / Layout
- seth: talked to david and he recommended not to do what Gecko does.
- brson: what are we missing in Servo with respect to floats?
- seth: not sure yet
- seth: i heard in irc that since we dont' have basic box model stuff, it will be hard to do floats
- pcwalton: is that a prereq for floats?
- seth: the minimal implementation is just set up the data structures as if we had padding and margins working. from the point of view of testing, most of the rules involve margins heavily, so it would be nice to have something there.
- pcwalton: whatever order is fine. i've been refactoring some stuff around there which I'm trying to land part of today.
- seth: we don't need to deal with the rendering stuff, but I would like to have the numbers flowing through correctly
- pcwalton: that should come for free. the displaylist builder will lay them out like you ask.
- pcwalton: did you get a chance to look at flow vs. renderbox distinction that we have.
- pcwalton: there is a higher level flowtree structure. inside each flow are renderboxes. sometimes the renderboxes are manfiest values but in inline context, the renderboxes don't actually exist because they are determined by line breaks. in general, you can't rely on renderboxes being manifest values, you can only iterate over them. this is much simpler, but it's different from gecko and webkit because you have this two layer tree.
- seth: this seems like a strong argument for doing layout in one pass.
- pcwalton: why does it require one pass layout?
- seth: don't these things disappear after the iteration?
- pcwalton: they always exist, but they may not be encoded as a linked list of objects. the iterator takes the text boxes and the line breaks to get the list.
- seth: are you figuring out line breaks during iteration?
- pcwalton: no, those are pre-computed.
- jack: please document the layout architecture and your discussions in the wiki. i'll be doing the same for the graphics pipeline
release engineering update
- pcwalton: i'd like a rustdoc target for the makefile.
- jack: we have a bug filed by ben hearsum about releng integration. they want some stuff in the makefile for backing up the rust build. currently that's done by buildbot but they want it in the makefile
- jack: brian are you planning to do that?
- brian: I will
- jack: rustdoc build target as well?
- brian: Sure
- jack: How are rust's docs built and uploaded? bors?
- brian: not bors. make targets, scripts and buildbot uploads to s3
- jack: How hard is it to hook into the rust linter, to do a pass to see if traits are undocumented?
- patrick: We could add such a pass to rustc. Warnings if traits, types, methods, etc. aren't documented.
- jack: ok, I'll file a bug
- jack: we talked to ben on friday-ish, gave him ssh keys and list of committers. he should have something working this week. if all goes well we'll have servo compiled on the bots.
- seth: Is this how we get automoted testing going?
- jack: The endgame is to run bors just like rust.
- seth: Will we have multi-platform coverage?
- jack: Yes, we'll have linux, mac later. we'll look into android. It didn't sound like a problem to expand plattform coverage for releng.
- patrick: The blockers for porting to windows: fonts... There's a question about how 'good' it should be. Do we use d2d? This is down the road. It's good to wait because we can wait for angle d3d 10 to be released.
- patrick: d2d is all on GPU and it is the fastest rendering backend. it's d3d 10 only but the problem is that angle (opengl for d3d) only works for d3d 9.
- jack: skia doesn't need angle. it has direct support for d3d
- patrick: on chrome everything goes through gl, so i would be suprprised
- jack: i didn't investigate but it looked like it had a canvas for d3d
- patrick: so we have a choice between standardizing on opengl or implementing a native d3d rendering pipeline for rust-layers
- jack: it's not that complicated
- patrick: yes. will get more complicated over time with video, etc. it is pretty simple by design
graphics pipeline
- jack: skia gl working, ported to rust layers. not used in servo yet. now looking at how to integrate this into servo proper. been taking notes on the graphics pipeline, will put on wiki page
- jack: will put this into servo, do some benchmarking
- jack: q's for patrick. in render-layers there's a RenderLayer object that is a DisplayList and size. We're using an unsafe pointer to the RenderLayer. Why?
- patrick: Ideally it should be in an ARC, but there's some reason we can't do that currently. there's something mutable in it. we should make the displaylist
Constso it can be in an ARC. - patrick: Current architecture puts several render slaves in a task pool. They get tiles (render buffers) and render layer and each renders a portion in parallel. That's not necessary with GPU rendering so all this can probably be ripped out.
- jack: That's what I thought it was - a workaround.
- patrick: There's an annoying case where you don't know that the display list is complete because you don't know whether the images are loaded.
- jack: Can the DisplayList be freezable?
- patrick: Yes. We need Futures to behave like they are
Const - seth: Is the model that images are either done or not?
- brian: We haven't thought about it yet.
- patrick: Partially downloaded or partially decoded?
- seth: Both. They are partially decoded off the main thread.
- jack: Either way the DisplayList is going to have a partially filled buffer and we need to display it
- patrick: Yes. Instead of an all or none future it needs to be a buffer that slowly fills
- seth: It seems conceptually similar to animated images
- jack: We can think of something, but the core issue is that the display list needs to get better, not use unsafe pointers. Needs to be safe.
- jack: Other q: every time we go through a drawing cycle ... compositor has a draw command, we hand it a layer buffer, port to deliver the next buffer. That channel/port pair is created every time.
- brian: I'm not sure it's more efficient to reuse channel/ports
- patrick: More allocations?
- brian: ... yes, there may be an extra allocation to reuse.
- jack: Some code smells that need to be fixed
Last thing
- jack: I've gone through most of the gfx pipeline and want to describe what I found.
- jack: 3 parts: glut loop, compositor, render task
- jack: glut: we create a scene, surface set (front-back layer buffers), respond to draw .... calls 'render scene'
- jack: compositor exists to abstract these two messages: draw, begindraw. it seems wierd to me, may refactor
- jack: render task has render layer (bufer / size). ... gets render message, not sure where from, renders render layer, takes layer buffer set, calls
RenderLayer, breaks