ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
ity1 has joined #wayland
ity has quit [Remote host closed the connection]
yrlf has quit [Ping timeout: 480 seconds]
yrlf has joined #wayland
riteo has joined #wayland
kestrel7 has joined #wayland
kestrel has quit [Ping timeout: 480 seconds]
kestrel7 is now known as kestrel
riteo has quit [Ping timeout: 480 seconds]
Company has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
Company has joined #wayland
slim has quit [Quit: slim]
garnacho has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
riteo has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest1803
glennk has quit [Ping timeout: 480 seconds]
Guest1792 has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
nerdopolis has joined #wayland
kts_ has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
kts_ has quit []
mclasen has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
kestrel3 has joined #wayland
kestrel has quit [Ping timeout: 480 seconds]
kestrel3 is now known as kestrel
Company has quit [Quit: Leaving]
Guest1803 has quit [Remote host closed the connection]
cool110 has joined #wayland
cool110 is now known as Guest1807
glennk has quit [Ping timeout: 480 seconds]
mxz_ has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz__ has quit [Ping timeout: 480 seconds]
mxz_ is now known as mxz
kts has joined #wayland
kts has quit []
kts has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
kestrel has quit [Ping timeout: 480 seconds]
riteo has quit [Remote host closed the connection]
kestrel has joined #wayland
tzimmermann has joined #wayland
kts has quit [Read error: Connection reset by peer]
mxz_ has joined #wayland
yrlf has quit [Ping timeout: 480 seconds]
kts has joined #wayland
yrlf has joined #wayland
kts has quit [Quit: Konversation terminated!]
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #wayland
kts has joined #wayland
coldfeet has joined #wayland
coldfeet has quit [Remote host closed the connection]
feaneron has quit [Ping timeout: 480 seconds]
glennk has joined #wayland
rasterman has joined #wayland
rv1sr has joined #wayland
kts has quit [Ping timeout: 480 seconds]
mvlad has joined #wayland
kts has joined #wayland
coldfeet has joined #wayland
coldfeet has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
garnacho has joined #wayland
leon-anavi has joined #wayland
kts has joined #wayland
narodnik has joined #wayland
flom84 has joined #wayland
mclasen has joined #wayland
kts has quit [Read error: Connection reset by peer]
coldfeet has joined #wayland
<King_DuckZ> hey all, I'm trying to figure something out in weston, I understand that fragment.glsl runs once for each window or program doing stuff, that's good
<King_DuckZ> but can one program modify the overall output? for example clear a certain rectangle no matter what?
<King_DuckZ> I guess what I don't understand is where the "compositing" part happens in the compositor
<soreau> if your goal is to render a rectangle of something, you could do it after the rendering has completed for each frame
<King_DuckZ> is there another shader for that step, or where does that happen?
<soreau> libweston/renderer-gl/gl-renderer.c ?
<soreau> seems like the first place I'd look
<King_DuckZ> thanks, I'm looking now
<soreau> the calls containing 'Draw' are typically of interest
kts has joined #wayland
<soreau> I think repaint_region is the thing that actually renders the surfaces
<soreau> called only from draw_repaint_node
<King_DuckZ> so am I correct in that each window gets rendered on their own isolated surface, and then there is a final compositing step (repaint_views()?) of all that right before the swap buffers?
<soreau> usually, the surface textures are rendered from bottom to top, on top of each other, to the frame buffer
<soreau> weston might have some optimizations where it doesn't render beneath client-defined opqaue regions, not sure
<soreau> oh right, it does have separate calls for opaque and blend in draw_repaint_node
<King_DuckZ> I implemented a green screen removal thing in fragment.glsl and I know that if I set alpha to 0 I can see whatever is underneath (I play 2 videos on top of each other in my case), so I'm guessing there must be one more step after the shader is run
<soreau> see repaint_views
<soreau> it renders the views in reverse order (bottom to top) and after that, you can render your thing
<soreau> at least, AFAIU
flom84 has quit [Remote host closed the connection]
<King_DuckZ> a-ha interesting, so a "view" is what I call a surface
<soreau> but if you just want to replace all green pixels with alpha = 0 or whatever, you should be able to do that in the fragment shader
<King_DuckZ> that's already done yes, it works, just I wasn't clear on the other steps past that stage
<King_DuckZ> for other purposes and to gain a general understanding
<King_DuckZ> it's very useful what you told me :)
<soreau> 👍
Company has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
fmuellner has joined #wayland
Calandracas has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
coldfeet has joined #wayland
nerdopolis has joined #wayland
mclasen has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
alatiera has joined #wayland
elibrokeit_ has quit [Remote host closed the connection]
leon-p has quit [Remote host closed the connection]
tommybomb has quit [Remote host closed the connection]
tkna has quit [Read error: Connection reset by peer]
hummer12007 has quit [Remote host closed the connection]
kennylevinsen has quit [Remote host closed the connection]
pitust has quit [Remote host closed the connection]
c7s has quit [Remote host closed the connection]
kindablue has quit [Read error: Connection reset by peer]
geemili has quit [Read error: Connection reset by peer]
cpli has quit [Write error: connection closed]
dorkbutt has quit [Remote host closed the connection]
kchibisov has quit [Remote host closed the connection]
kuruczgy has quit [Remote host closed the connection]
moses has quit [Remote host closed the connection]
raghavgururajan has quit [Remote host closed the connection]
rosefromthedead has quit [Remote host closed the connection]
rpigott has quit [Remote host closed the connection]
sumoon has quit [Write error: connection closed]
dnkl has quit [Read error: Connection reset by peer]
abcdw has quit [Remote host closed the connection]
fabiancodes has quit [Remote host closed the connection]
atiltedtree has quit [Remote host closed the connection]
novakane has quit [Remote host closed the connection]
ifreund has quit [Read error: Connection reset by peer]
kaathewise has quit [Read error: Connection reset by peer]
jonesv has quit [Read error: Connection reset by peer]
ogromny has quit [Remote host closed the connection]
tsujp has quit [Remote host closed the connection]
guacamolie has quit [Remote host closed the connection]
mainiomano has quit [Write error: connection closed]
rpigott has joined #wayland
rosefromthedead has joined #wayland
kennylevinsen has joined #wayland
guacamolie has joined #wayland
moses has joined #wayland
raghavgururajan has joined #wayland
dnkl has joined #wayland
elibrokeit_ has joined #wayland
raghavgururajan is now known as Guest1845
jonesv has joined #wayland
kuruczgy has joined #wayland
atiltedtree has joined #wayland
ifreund has joined #wayland
geemili has joined #wayland
pitust has joined #wayland
sumoon has joined #wayland
mainiomano has joined #wayland
kchibisov has joined #wayland
mclasen has joined #wayland
tkna has joined #wayland
tsujp has joined #wayland
c7s has joined #wayland
kts has joined #wayland
novakane has joined #wayland
mclasen has quit [Read error: Connection reset by peer]
mclasen has joined #wayland
tommybomb has joined #wayland
kaathewise has joined #wayland
fabiancodes has joined #wayland
dorkbutt has joined #wayland
hummer12007 has joined #wayland
leon-p has joined #wayland
abcdw has joined #wayland
nucfreq has joined #wayland
meltq has joined #wayland
meltq has quit [Remote host closed the connection]
ogromny has joined #wayland
kindablue has joined #wayland
meltq has joined #wayland
cpli has joined #wayland
meltq has quit [Remote host closed the connection]
meltq has joined #wayland
staceee has joined #wayland
mclasen has quit [Read error: Connection reset by peer]
mclasen_ has joined #wayland
meltq has quit [Remote host closed the connection]
mclasen_ has quit []
mclasen has joined #wayland
Moprius has joined #wayland
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
coldfeet has quit [Remote host closed the connection]
coldfeet has joined #wayland
Brainium has joined #wayland
Calandracas has joined #wayland
feaneron has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
iconoclasthero has joined #wayland
vincejv has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
kts has joined #wayland
mclasen has quit [Quit: mclasen]
mclasen has joined #wayland
kts has quit [Ping timeout: 480 seconds]
kts has joined #wayland
kts has quit []
kts has joined #wayland
bim9262 has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
Narrat has joined #wayland
kts_ has joined #wayland
kts_ has quit []
leon-anavi has quit [Quit: Leaving]
crazybyte3 has joined #wayland
kts has quit [Ping timeout: 480 seconds]
crazybyte has quit [Read error: Connection reset by peer]
crazybyte3 is now known as crazybyte
kts has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
klausvalka has quit [Ping timeout: 480 seconds]
klausvalka has joined #wayland
Company has quit [Remote host closed the connection]
iconoclasthero has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rasterman has joined #wayland
klausvalka has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
cool110 is now known as Guest1864
Guest1807 has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Quit: bye]
rasterman has quit [Quit: Gettin' stinky!]
klausvalka has joined #wayland
rv1sr has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
Moprius has joined #wayland
iconoclasthero has joined #wayland
mclasen_ has joined #wayland
chamlis has quit [Remote host closed the connection]
chamlis has joined #wayland
coldfeet has quit [Remote host closed the connection]
klausvalka has quit [Remote host closed the connection]
mclasen has quit [Ping timeout: 480 seconds]
mclasen_ is now known as mclasen
Moprius has quit [Quit: bye]
feaneron has joined #wayland
Brainium has joined #wayland
klausvalka has joined #wayland
coldfeet has joined #wayland
mohit81582263 has quit [Quit: mohit81582263]
mohit81582263 has joined #wayland
<wlb> wayland-protocols Issue #207 opened by Hugo (WhyNotHugo) Allow exposing select priviledged protocols to security-contexts https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/207
<WhyNotHugo> I'd welcome feedback on this proposal ^
<emersion> this was discussed in the issue about wayland protocol security
<emersion> and the current approach was preferred over this one
<emersion> note, there is no use for app_id/etc if the client decides what to expose
<WhyNotHugo> emersion: which issue is that? I didn't find any on the topic
<wlb> weston Issue #206 closed \o/ (A security context implementation for authenticating and/or authorizing clients https://gitlab.freedesktop.org/wayland/weston/-/issues/206)
vincejv has joined #wayland
Consolatis has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Consolatis has joined #wayland
Narrat has quit []
klausvalka has quit [Remote host closed the connection]
<WhyNotHugo> From what I see in that discussion, no concesus was reached.
<WhyNotHugo> I don't understand what you mean by "there is no use for app_id/etc". This is required to identify _to which_ client you are granting access.
<emersion> yeah, your protocol is lacking a way to create a socket and uses that instead
<emersion> sounds a bit weird to me
<emersion> anyways, i'm not personally interested
<WhyNotHugo> we already have a way to create a socket.
<WhyNotHugo> the scope here is "I want a sandboxed application to use a single priviledged protocol"
<WhyNotHugo> weird in what way?
<emersion> the sandbox engine needs to use two separate protocols to achieve a single thing
<emersion> and the sandbox engine has global side effects
<WhyNotHugo> I think you're misunderstanding my intent here; I'm doing something separate to security-context-v1, I'm complementing it.
<emersion> yes
<WhyNotHugo> Basically, if I have a running client sandboxed, I'd grant it access to, for example, layer-shell.
<emersion> i don't think that's a good idea for the goal you want
<emersion> sorry, ENOTIME, i'll stop here
<WhyNotHugo> np. I'd like to hear more when you do have time. Cheers!
glennk has quit [Ping timeout: 480 seconds]
lsd|2 has joined #wayland
lsd|2 has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
coldfeet has quit [Remote host closed the connection]
nerdopolis has joined #wayland
latex has quit [Remote host closed the connection]
latex has joined #wayland
Guest1864 has quit [Ping timeout: 480 seconds]
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ecloud has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Calandracas has quit [Remote host closed the connection]
lsd|2 has joined #wayland
sally has quit [Remote host closed the connection]
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
navi has quit [Read error: Connection reset by peer]
navi has joined #wayland
caseif has quit [Remote host closed the connection]
caseif has joined #wayland
ecloud has joined #wayland
sally has joined #wayland
Calandracas has joined #wayland
ecloud has quit []
ecloud has joined #wayland
lsd|2 has quit [Ping timeout: 480 seconds]
rv1sr has quit []
Company has joined #wayland
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
lsd|2 has joined #wayland
lsd|2 has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
cool110 is now known as Guest1884
feaneron has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
mclasen has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland
bjorkint0sh has joined #wayland
lbia_ has quit [Ping timeout: 480 seconds]
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #wayland
bjorkintosh has quit [Ping timeout: 480 seconds]
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
klausvalka has joined #wayland
klausvalka has quit [Remote host closed the connection]
mclasen has quit [Ping timeout: 480 seconds]
bjorkint0sh has quit [Ping timeout: 480 seconds]
mclasen has joined #wayland