-
BitBot
[GitHub] (servo/servo) [PR] bors-servo merged #23943 into master: Implement TakeElementScreenshot WebDriver command -
git.io/fj7uO
-
Manishearth
hmmm i might work on near/far plane stuff since i'm only here for another day
-
Manishearth
ajeffrey: around?
-
ajeffrey
Manishearth: yup
-
Manishearth
ajeffrey: so we derive projection matrices from near/far plane info. which can be changed by the user
-
Manishearth
similarly, view offsets can change if IPD changes (oculus quest lets you do this with a slider)
-
Manishearth
ajeffrey: what should we do so that Session can udpate its Views information on the script thread side?
-
Manishearth
could just send a message and capture the response, but that may not sync up with the next RAF that well
-
ajeffrey
Manishearth: hmm, this is one of the things we punted isn't it?
-
Manishearth
so i'm thinking we send an update, and the RAF response contains a vec of extra events we need to take care of, and we apply that to the session
-
Manishearth
yes but i'm thinking i'll fix it tomorro
-
Manishearth
and fix some other small things that the api doesn't yet support
-
ajeffrey
do we expect scenarios in which near/far is changing a lot?
-
ajeffrey
or is it something where the changes are infrequent?
-
Manishearth
infrequent
-
Manishearth
typically just once
-
Manishearth
the problem is if it gets changed on the device thread but the script thread doesn't know yet
-
Manishearth
i guess they're supposed to be applied "on next raf" so we should just add a vec of events onto the raf
-
ajeffrey
Manishearth: should we have a "session parameters have changed" event?
-
Manishearth
ajeffrey: basically yeah
-
Manishearth
and a function to just apply it to the webxr_api::Session object
-
Manishearth
i don't really like this but this is the best i can think of, wanted to make sure you were on the same page
-
Manishearth
this could incidentally also turn initial_inputs into just inputs() if we want
-
ajeffrey
-
Manishearth
ajeffrey: just another field on the frame
-
ajeffrey
ah, that would work too.
-
ajeffrey
-
Manishearth
ajeffrey: i wonder if r_a_f should also have an Option<(near, far)> argument to avoid having to send things separately
-
Manishearth
ajeffrey: no, some events can happen outside of raf
-
Manishearth
actually we can't do this for input events since an raf may not be active
-
ajeffrey
Manishearth: oh that's annoying
-
Manishearth
er, input source change events
-
ajeffrey
can we make "change the session params" an Event then?
-
Manishearth
ajeffrey: yes but then it doesn't sync with raf
-
ajeffrey
(I'm trying to avoid having more than one sort of Event
-
ajeffrey
)
-
ajeffrey
Manishearth: won't it? Won't script get the rAF, and immediately drain the event receiver?
-
Manishearth
oh we won't need Option<(near, far)> since we can rely on the channel containing events in order
-
Manishearth
ajeffrey: who says script's event receiver will contain something at that point in time?
-
Manishearth
that's not guaranteed aiui
-
ajeffrey
so any events that are sent before the rAF signal are guaranteed to arrive at the next rAF.
-
ajeffrey
if you send on channel A then on channel B,
-
ajeffrey
then another thread receives on channel B, it'll be guaranteed that the event on A will be there.
-
Manishearth
this is cross process, with routers involved
-
Manishearth
i don't think so
-
ajeffrey
argh, the routers might mess that up :(
-
Manishearth
this sounds like a pickle we want to avoid
-
Manishearth
you may be right but i don't think it would be a good idea to rely on this kind of thing, it's extremely brittle
-
ajeffrey
I'll add this to the list of things I'm not in love with about our ipc story :/
-
Manishearth
ipc plus threads plus routers = probably a couple grant-worths of concurrency headaches
-
ajeffrey
indeed.
-
Manishearth
what we can rely on is if messages are sent through the *same* channel, they happen in order
-
Manishearth
on the other end
-
Manishearth
which we already do for set_texture in r_a_f
-
Manishearth
and we will do the same for a hypothetical set_clip_planes
-
ajeffrey
pity routers are messing up the happens-before relationship that mpsc channels have :/
-
larsberg
-
larsberg
(slide 41ish)
-
pcwalton
because ANGLE doesn't use NT handles for share handles, this is going to be unbelievably ugly :\
-
pcwalton
going to have to write a garbage collector for surfaces
-
BitBot
[GitHub] (servo/webrender) [issue] kvark closed #2938: Is there a way to achieve backdrop-filter blur (aka frosted glass effect) using Webrender? -
git.io/fN21C
-
cybai
Manishearth: would you think it's good to add `[Default] toJSON` to test binding to test the default toJSON for #23844? 👀
-
crowbot
PR #23844: Support default toJSON in WebIDL -
servo/servo #23844
-
Manishearth
cybai: yes
-
Manishearth
actually
-
Manishearth
maybe add a separate one for that?
-
Manishearth
unsure
-
Manishearth
we already have a bunch that effectively test this
-
cybai
Manishearth: yeah, I hesitated to ask this because I saw there're some test cases are now PASS-ed 👀 maybe it's fine to test it by those wpt 🤔
-
cybai
thanks!
-
BitBot
[GitHub] (servo/servo) [PR] paulrouget requested #24008 merge into master: HoloLens URL handler -
git.io/fjFxL
-
BitBot
[GitHub] (servo/servo) [issue] paulrouget opened #24009: [hololens] use a template control for urlbar and enclose it in a tabview -
git.io/fjFxt
-
BitBot
[GitHub] (servo/servo) [issue] paulrouget opened #24010: [hololens] manipulation events trigger clicks/focus on regular controls -
git.io/fjFx3
-
paul
Manishearth: happy with the removal of the immersive demo? I'd like to land that as soon as the servo control PR merges.
-
paul
Manishearth: also - you're doing your train ride this week?
-
Manishearth
paul: yes
-
Manishearth
paul: yeah go ahead and land that
-
paul
Manishearth: thanks.
-
Manishearth
maybe even land that first so both land
-
nox
standups: Did a new rust-url PR review pass.
-
crowbot
Status submitted successfully.
-
BitBot
[GitHub] (servo/servo) [issue] CYBAI opened #24011: Remove <img> progress events -
git.io/fjFhf
-
BitBot
[GitHub] (servo/rust-url) [PR] nox closed #538: Make sure a windows drive letter segment always ends with a slash. -
git.io/fjH5E
-
BitBot
[GitHub] (servo/servo) [issue] CYBAI opened #24012: Change default value of window.open()'s url argument -
git.io/fjFhT
-
BitBot
[GitHub] (servo/servo) [PR] paulrouget requested #24013 merge into master: [WIP] [hololens] Gesture capture -
git.io/fjFhH
-
nox
SimonSapin: Around?
-
BitBot
[GitHub] (servo/servo) [issue] bors-servo closed #23894: [hololens] Make URL bar non read only -
git.io/fjSQ7
-
BitBot
[GitHub] (servo/servo) [issue] bors-servo closed #23916: [hololens] Implement a custom Servo control -
git.io/fjQt5
-
BitBot
[GitHub] (servo/servo) [PR] bors-servo merged #23981 into master: Implement Servo Control Template -
git.io/fjd2q
-
BitBot
[GitHub] (servo/webrender) [PR] moz-gfx requested #3740 merge into master: Sync changes from mozilla-central -
git.io/fjbUp
-
taskcluster
Task "Servo daily: Linux x64: with Rust Nightly. On failure, ping: SimonSapin, nox, emilio" complete with status 'failed'. Inspect:
tools.taskcluster.net/tasks/ADDkFhBjSGCEW__RV_-BFA
-
ajeffrey
standups: Attended day two of ICFP SC.
-
crowbot
Status submitted successfully.
-
ajeffrey
Another meeting at lunchtime in Berlin.
-
BitBot
[GitHub] (servo/media) [PR] ferjm requested #294 merge into master: Add AppVeyor configuration -
git.io/fjbIx
-
BitBot
[GitHub] (servo/media) [PR] ferjm closed #221: WIP - Build for Windows on TravisCI -
git.io/fhjKm
-
ajeffrey
ferjm: do you know what would be involved with enabling video controls on magicleap?
-
BitBot
[GitHub] (servo/servo) [issue] asajeffrey opened #24014: Media controls on magicleap -
git.io/fjbtm
-
ferjm
ajeffrey: good question. AFAICT controls should already be rendered inside the video by setting the `controls` attribute on the media element. However, these controls might not be usable or pretty enough on the ML. So we might want to have some custom controls (i.e. outside of the video window). In that case, we would need something like
-
ferjm
-
crowbot
Issue #22374: Media API for ServoView -
servo/servo #22374
-
ferjm
ajeffrey: have you tried setting the `controls` attribute? (i.e. <video src="someurl" controls></video>)
-
ajeffrey
Hmm, there is a controls attribute on view-source:https://servo.org/ml-home/rabbit.html
-
ajeffrey
ferjm: but no controls are showing up :/
-
ferjm
I see. Did you make any layout changes for the ML?
-
ajeffrey
ferjm: nope
-
ajeffrey
ferjm: is there some feature-detection that decides whether to use the shadow DOM controls?
-
ferjm
ajeffrey: No, no feature-detection. This is probably because the media controls layout only works with block elements for now, and the video is inline by default. So you need to add something like "<style> video { display:block; } </style>" to that test page
-
» ferjm cannot find the issue about fixing inline layout for media controls :\
-
ajeffrey
ferjm: ah! I'll try that when I get in.
-
ferjm
ajeffrey: ok, let me know if that works, please
-
collares
ferjm: Hi! Thanks for the review, I will address the review comments now. I have two questions if you don't mind.
-
ferjm
collares: np :) thank you for the PR!
-
collares
1) I noticed I misread a couple of test outputs and some looping tests are failing. I then noticed I don't really relay the loop parameters to servo-media :) Should I do it via messages whenever SetLoop{,Start,End} gets called, or is it done automatically?
-
collares
2) You mentioned we already receive "when" in AudioScheduledSourceNodeMessage, but AudioScheduledSourceNode processes that message and discards (truncates to a tick) the parameter. Is there a way to process the same message again? If not, I think I will leave the removal of the second when parameter to the ASSNode follow up
-
collares
-
collares
I can ask these questions in the PR if you want (even though ignoring looping parameters completely is a bit embarrassing :P)
-
ferjm
collares: 1) Oh right. No, they are not passed automatically. Although they are probably given on node construction as well. I can check later
-
ferjm
2) AFAICT there is no way to process the same message again, so let's leave it to the follow-up. lol... it took me a second to understand what you meant with ASSNode
-
collares
ASSNode is the official spec term, as you can see :P
-
collares
Thanks for the answers!
-
BitBot
[GitHub] (servo/servo) [issue] ferjm opened #24015: Implement media controls layout for inline media elements -
git.io/fjbYM
-
nox
emilio: When is the new stable landing in stylo?
-
Manishearth
ajeffrey: can you try the thing on the ML with the two triangles with alpha values today?
-
BitBot
[GitHub] (servo/pathfinder) [issue] anp opened #234: `pathfinder_gpu::FilesystemResourceLoader`, packaging, and location search strategies -
git.io/fjbOz
-
ajeffrey
Manishearth: OK, which URL should I look at?
-
emilio
nox: you mean rust stable right?
bugzilla.mozilla.org/1574275 tracks it I guess it should land soon-ish
-
firebot
Bug 1574275 — NEW, nobody⊙mo — Update to Rust 1.37
-
nox
emilio: IIRC that's the first version with explicit enum discriminants wherever we want.
-
emilio
nox: oh even in ADTs?
-
nox
emilio: Yes.
-
nox
-
crowbot
Issue #60553: Tracking issue for RFC 2363, "Allow arbitrary enums to have explicit discriminants" -
rust-lang/rust #60553
-
ajeffrey
-
ajeffrey
TIL that MacOS freezes command-line processes if it goes into its screensaver,
-
ajeffrey
so you can end up with builds taking 19hrs.
-
BitBot
[GitHub] (servo/servo) [PR] servo-wpt-sync requested #24016 merge into master: Sync WPT with upstream (20-08-2019) -
git.io/fjbZx
-
ajeffrey
Manishearth: hmm, no gh-pages branch of
github.com/manishearth/webgl-to-webxr?
-
nox
SimonSapin: Btw, your alias mach=./mach trick,
-
nox
I saw an interesting take on that,
-
nox
it was about adding .git/trusted/../.. to $PATH, and then you do touch .git/trusted in repos you trust, or something like that. I thought it was cute.
-
SimonSapin
cute indeed
-
SimonSapin
though mine is not just an alias, it’s a script where I can export env variables
-
BitBot
[GitHub] (servo/media) [issue] bors-servo closed #220: Build for Windows on CI -
git.io/fhjWI
-
BitBot
[GitHub] (servo/media) [PR] bors-servo merged #294 into master: Add AppVeyor configuration -
git.io/fjbIx
-
ferjm
Manishearth: could you enable appveyor on servo/media?
-
ferjm
I don't have admin access to the repo
-
jdm
ferjm: I already did
-
jdm
the next pull request should have it working
-
ferjm
jdm: awesome, thanks!
-
jdm
SimonSapin: I appreciate how automated you made the process to create new windows build AMIs
-
SimonSapin
jdm: it can still be improved but yeah I’m pretty happy about it
-
BitBot
[GitHub] (servo/media) [PR] bors-servo merged #293 into master: Implement missing functionality of AudioBufferSourceNode -
git.io/fjFgu
-
BitBot
[GitHub] (servo/media) [issue] collares opened #295: AudioBufferSourceNode: Ignore "when" parameter if it's in the past -
git.io/fjbCI
-
BitBot
[GitHub] (servo/media) [issue] collares opened #296: AudioBufferSourceNode: Consider using a better interpolation algorithm -
git.io/fjbCL
-
BitBot
[GitHub] (servo/media) [issue] collares opened #297: AudioBufferSourceNode: Adjust buffer_pos when loop endpoints change -
git.io/fjbCt
-
BitBot
[GitHub] (servo/media) [issue] collares opened #298: AudioScheduledSourceNode: Keep non-truncated start_at for subsample accuracy -
git.io/fjbCq
-
BitBot
[GitHub] (servo/media) [issue] collares opened #299: AudioBufferSourceNode: Test setting buffer after calling Start() -
git.io/fjbCm
-
BitBot
[GitHub] (servo/media) [issue] collares opened #300: AudioBufferSourceNode: Decide if we should interpolate with silence after last sample -
git.io/fjbCB
-
collares
Just fixed -5 issues on servo/media, yay!
-
collares
-6, actually, since the original PR didn't correspond to a filed issue
-
ajeffrey
standups: More setting up ipc experiments.
-
crowbot
Status submitted successfully.
-
BitBot
[GitHub] (servo/rust-smallvec) [PR] Centril requested #161 merge into master: Move use of 'default fn' to its own module -
git.io/fjbWo
-
Gankra
emilio: aren't we trying to remove all visited-specific styling anyway since it's a tracking vector? or did I hallucinate that
-
BitBot
[GitHub] (servo/servo.org) [PR] asajeffrey requested #76 merge into gh-pages: Made BBB video in ml-home a block -
git.io/fjbW5
-
ajeffrey
standups: Get the video controls to appear on the demo video.
-
crowbot
Status submitted successfully.
-
jdm
standups: 1:1s; investigating linker errors with new UWP rustc target; rebuilding windows AMIs with msbuild installed.
-
crowbot
Status submitted successfully.
-
jdm
oho!
-
jdm
if I build with the existing x86_64-pc-windows-msvc target using lld-link.exe, no linker errors. if I build with that target and link.exe, linker errors. if I build with x86_64-uwp-windows-msvc and link.exe, a very similar set of linker errors.
-
BitBot
[GitHub] (servo/servo) [PR] jdm requested #24017 merge into master: [WIP] Use MSVC linker -
git.io/fjblt
-
BitBot
[GitHub] (servo/servo.org) [PR] Manishearth merged #76 into gh-pages: Made BBB video in ml-home a block -
git.io/fjbW5
-
pawaylbrecht
ERROR: Cannot find llvm-objdump
-
pylbrecht
does anyone know about this issue?
-
pylbrecht
trying to build via ./mach build -d
-
pylbrecht
running on archlinux
-
eijebong
pylbrecht: Probably need to install some llvm stuff ?
-
pylbrecht
eijebong: just installed llvm, currenlty building
-
pylbrecht
eijebong: do your latest changes of
servo/servo #23936 build?
-
crowbot
PR #23936: Implement the raqote backend -
servo/servo #23936
-
eijebong
pylbrecht: IIRC it did yeah
-
pylbrecht
eijebong: alright, then I know that if my build fails, I messed something up. thanks
-
eijebong
pylbrecht: I might have pushed some WIP
-
eijebong
Oh yeah, to show raqote how I was using the PathBuilder::from
-
eijebong
I think you need to cargo update -p raqote for it to build
-
eijebong
(I was using a local one)
-
pylbrecht
Clone not implemented for azure_hl::Path
-
pylbrecht
but the PR got merged yesterday, right?
-
eijebong
pylbrecht: Yeah but that's the azure backend. That one doesn't build for sure, I changed some signatures after fixing it
-
eijebong
And you need to cargo update -p rust-azure I guess
-
pylbrecht
eijebong: so I don't have to `git rebase master`, if I update raqote and rust-azure?
-
eijebong
pylbrecht: Yeah I think it should be enough
-
eijebong
And then add some mut in the azure backend if you want to fix it
-
eijebong
Oh and you're probably building with the wrong feature name
-
pylbrecht
yeah, that's the other error that came up when building
-
eijebong
Which is why I guess you're getting azure errors which you shouldn't see if you were building the raqote backend
-
pylbrecht
mhh, is there any way to speed up building?
-
eijebong
pylbrecht: cargo install sccache && echo 'export RUSTC_WRAPPER="sccache"' >> ~/.zshrc
-
eijebong
That helps a bit with full rebuilds I think
-
pylbrecht
eijebong: uuhh, thank you
-
jdm
ajeffrey: was there a webxr-enabled three.js rollercoaster demo at some point, or am I dreaming?
-
ajeffrey
jdm: the one I used was webvr not webxr.
-
georgeroman
standups: started to implement element.scrollIntoView needed for testdriver.js
-
crowbot
Status submitted successfully.
-
pcwalton
standups: New ANGLE/D3D code for Servo WebGL is now written. This should allow us to fix flickering issues properly, while making future WebXR integration straightforward on Windows. On to debugging it.
-
crowbot
Status submitted successfully.
-
jdm
pcwalton++
-
pcwalton
each EGLDisplay is now in a thread local, and the core transferable surface handle is a D3D share handle
-
pcwalton
they're reference counted, and there's a thread-local mapping from each EGLDisplay/EGLSurface pair to the D3D share handle
-
pcwalton
this basically gives Servo a Surface type that it can share freely among threads and bind to a texture on any thread and it should "just work"
-
BitBot
[GitHub] (servo/webxr) [PR] Manishearth requested #41 merge into master: Allow setting near/far planes and listening for view update events -
git.io/fjb08
-
BitBot
[GitHub] (servo/servo) [issue] bors-servo closed #22781: Support default toJSON in WebIDL -
git.io/fh1Uj
-
BitBot
[GitHub] (servo/servo) [PR] bors-servo merged #23844 into master: Support default toJSON in WebIDL -
git.io/fjDVL
-
BitBot
[GitHub] (servo/servo) [PR] Manishearth requested #24018 merge into master: Allow setting near/far clip planes -
git.io/fjb0S