ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
Szadek has quit [Ping timeout: 480 seconds]
naveenk2 has joined #wayland
Szadek has joined #wayland
vyryls has joined #wayland
Szadek has quit [Ping timeout: 480 seconds]
Szadek has joined #wayland
vyryls has quit [Quit: WeeChat 3.8]
Szadek has quit [Ping timeout: 480 seconds]
Szadek has joined #wayland
naveenk2 has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
shoatd11[m] has joined #wayland
shoatd11[m] has quit [autokilled: Spambot. Mail support@oftc.net if you think this is in error. (2023-02-13 02:30:40)]
kts has joined #wayland
julio7359 has joined #wayland
kts has quit [Quit: Leaving]
cool110 has quit [Remote host closed the connection]
sav10 has joined #wayland
cool110 has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
kts has joined #wayland
julio7359 has joined #wayland
julio7359 has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
Fxzxmic has joined #wayland
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Leaving]
kts has joined #wayland
julio7359 has joined #wayland
dcz has joined #wayland
dcz_ has quit [Ping timeout: 480 seconds]
sav10 has quit []
Paul[m]12345 has joined #wayland
kts has quit [Quit: Leaving]
plv has joined #wayland
kts has joined #wayland
Fxzxmic has quit [Quit: Konversation exit!]
plv has quit [Remote host closed the connection]
junaid has joined #wayland
junaid has quit [Remote host closed the connection]
julio7359 has quit [Ping timeout: 480 seconds]
tzimmermann has joined #wayland
danvet has joined #wayland
milesrout_ has left #wayland [#wayland]
kts has quit [Quit: Leaving]
floof58 has joined #wayland
kts has joined #wayland
mvlad has joined #wayland
molinari has joined #wayland
manuel1985 has joined #wayland
pochu has joined #wayland
rasterman has joined #wayland
mvlad has quit [Remote host closed the connection]
DodoGTA is now known as Guest4687
DodoGTA has joined #wayland
Guest4687 has quit [Ping timeout: 480 seconds]
manuel_ has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
Cyrinux has quit []
sunrise890 has joined #wayland
Cyrinux has joined #wayland
sunrise890 has quit []
mohit has quit []
mohit has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
plv has joined #wayland
SurfBlueCrab has left #wayland [Leaving]
mvlad has joined #wayland
plv has quit []
lyasm has joined #wayland
danvet has joined #wayland
lyasm has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Leaving]
Cyrinux has quit [Remote host closed the connection]
fmuellner has joined #wayland
devilhorns has joined #wayland
kts has joined #wayland
devilhorns has quit [Remote host closed the connection]
lyasm has joined #wayland
lyasm has quit [Remote host closed the connection]
devilhorns has joined #wayland
kts has quit [Quit: Leaving]
kts has joined #wayland
jmdaemon has quit [Ping timeout: 480 seconds]
Cyrinux has joined #wayland
<pq>
wl_fixed_from_double()... does it truncate or floor(), and which one is actually right? (Truncation is not right for negative coordinates.)
<pq>
or should it even be round() to minimize the bias in error
glennk has quit [Remote host closed the connection]
glennk has joined #wayland
<mceier>
it doesn't floor, it rounds (0.75/256 converts to 1, 1.5/256 to 2)
<pq>
hmm, and wl_fixed_to_int() truncates
<pq>
maybe that explains why I recall seeing a bit of code that did x = wl_fixed_to_int(wl_fixed_from_double(xd));
Cyrinux has quit [Remote host closed the connection]
<mceier>
oh, the 1 in "converts to 1" in my message is 1/256 if interpreted as wl_fixed...
<mceier>
wl_fixed_to_int will return 0 for both
<pq>
yes, I read it that way
<mceier>
ok
<pq>
it's just that one functions rounds, and the other truncates - reason? consistency?
<mceier>
wl_fixed_to_int extracts integer part of wl_fixed
<mceier>
I'm not really sure what's the problem ;)
<pq>
negative values
<pq>
If you truncate, there is a glitch when crossing zero. floor and round don't have that glitch.
MajorBiscuit has joined #wayland
<pq>
The difference between floor and round is an offset of a half integer unit.
<pq>
Do integer coordinates coincide with the pixel top-left corner or the center? (or the 1/(256×256)th or a pixel)
<pq>
all these questions stem from Weston migrating from integer to floating-point coordinate systems while still using Pixman regions.
<pq>
and turns out clamping wl_fixed_t coordinate values has been... not exactly non-decreasing
<pq>
in Weston, that is
<pq>
also, wl_fixed_to_int(wl_fixed_from_double(xd)) is different from just casting to int, because there is the rounding to wl_fixed_t in between.
Szadek has quit [charon.oftc.net kinetic.oftc.net]
d_ed has quit [charon.oftc.net kinetic.oftc.net]
nnm has quit [charon.oftc.net kinetic.oftc.net]
DodoGTA has quit [charon.oftc.net kinetic.oftc.net]
dcz has quit [charon.oftc.net kinetic.oftc.net]
mooff has quit [charon.oftc.net kinetic.oftc.net]
pochu has quit [charon.oftc.net kinetic.oftc.net]
glennk has quit [charon.oftc.net kinetic.oftc.net]
paulk has quit [charon.oftc.net kinetic.oftc.net]
benbrown has quit [charon.oftc.net kinetic.oftc.net]
DemiMarie has quit [charon.oftc.net kinetic.oftc.net]
Ryhon[m] has quit [charon.oftc.net kinetic.oftc.net]
Poly[m]1 has quit [charon.oftc.net kinetic.oftc.net]
ElyusiKei[m] has quit [charon.oftc.net kinetic.oftc.net]
yshui` has quit [charon.oftc.net kinetic.oftc.net]
DrNick has quit [charon.oftc.net kinetic.oftc.net]
modin has quit [charon.oftc.net kinetic.oftc.net]
ii8 has quit [charon.oftc.net kinetic.oftc.net]
pH5 has quit [charon.oftc.net kinetic.oftc.net]
abeltramo has quit [charon.oftc.net kinetic.oftc.net]
Lumpio- has quit [charon.oftc.net kinetic.oftc.net]
toggleton[m] has quit [charon.oftc.net kinetic.oftc.net]
heftig has quit [charon.oftc.net kinetic.oftc.net]
GrahamPerrin[m] has quit [charon.oftc.net kinetic.oftc.net]
smasher_tati[m] has quit [charon.oftc.net kinetic.oftc.net]
Bran[m] has quit [charon.oftc.net kinetic.oftc.net]
tleydxdy has quit [charon.oftc.net kinetic.oftc.net]
rails[m] has quit [charon.oftc.net kinetic.oftc.net]
tzx[m] has quit [charon.oftc.net kinetic.oftc.net]
heeen[m] has quit [charon.oftc.net kinetic.oftc.net]
davidre has quit [charon.oftc.net kinetic.oftc.net]
zamundaaa[m] has quit [charon.oftc.net kinetic.oftc.net]
pitsch[m] has quit [charon.oftc.net kinetic.oftc.net]
joantorres[m] has quit [charon.oftc.net kinetic.oftc.net]
zubzub has quit [charon.oftc.net kinetic.oftc.net]
mstoeckl has quit [charon.oftc.net kinetic.oftc.net]
macc24 has quit [charon.oftc.net kinetic.oftc.net]
romangg has quit [charon.oftc.net kinetic.oftc.net]
whot has quit [charon.oftc.net kinetic.oftc.net]
occivink has quit [charon.oftc.net kinetic.oftc.net]
pac85[m] has quit [charon.oftc.net kinetic.oftc.net]
phryk has quit [charon.oftc.net kinetic.oftc.net]
xerpi[m] has quit [charon.oftc.net kinetic.oftc.net]
robertmader[m] has quit [charon.oftc.net kinetic.oftc.net]
YaLTeR[m] has quit [charon.oftc.net kinetic.oftc.net]
Max1 has quit [charon.oftc.net kinetic.oftc.net]
jpnurmi has quit [charon.oftc.net kinetic.oftc.net]
swick[m] has quit [charon.oftc.net kinetic.oftc.net]
teh1[m]1 has quit [charon.oftc.net kinetic.oftc.net]
xantoz has quit [charon.oftc.net kinetic.oftc.net]
RAOF has quit [charon.oftc.net kinetic.oftc.net]
[m]peeweep[m] has quit [charon.oftc.net kinetic.oftc.net]
| has quit [charon.oftc.net kinetic.oftc.net]
lanodan has quit [charon.oftc.net kinetic.oftc.net]
heeen has quit [charon.oftc.net kinetic.oftc.net]
ujineli[m] has quit [charon.oftc.net kinetic.oftc.net]
FellFromTheSky[m] has quit [charon.oftc.net kinetic.oftc.net]
al has quit [charon.oftc.net kinetic.oftc.net]
Naruto[m] has quit [charon.oftc.net kinetic.oftc.net]
NepNepdmsalwaysopen[m] has quit [charon.oftc.net kinetic.oftc.net]
cb5r[m] has quit [charon.oftc.net kinetic.oftc.net]
doras has quit [charon.oftc.net kinetic.oftc.net]
Arsen has quit [charon.oftc.net kinetic.oftc.net]
puck_ has quit [charon.oftc.net kinetic.oftc.net]
deknos82[m] has quit [charon.oftc.net kinetic.oftc.net]
Szadek has joined #wayland
mooff has joined #wayland
nullpointer128 has joined #wayland
Lumpio- has joined #wayland
Ryhon[m] has joined #wayland
ElyusiKei[m] has joined #wayland
nnm has joined #wayland
paulk has joined #wayland
Poly[m]1 has joined #wayland
DrNick has joined #wayland
yshui` has joined #wayland
pH5 has joined #wayland
modin has joined #wayland
joantorres[m] has joined #wayland
toggleton[m] has joined #wayland
GrahamPerrin[m] has joined #wayland
heftig has joined #wayland
rails[m] has joined #wayland
Bran[m] has joined #wayland
tzx[m] has joined #wayland
tleydxdy has joined #wayland
heeen[m] has joined #wayland
davidre has joined #wayland
zamundaaa[m] has joined #wayland
pitsch[m] has joined #wayland
teh1[m]1 has joined #wayland
lanodan has joined #wayland
cb5r[m] has joined #wayland
ujineli[m] has joined #wayland
jpnurmi has joined #wayland
Max1 has joined #wayland
NepNepdmsalwaysopen[m] has joined #wayland
swick[m] has joined #wayland
pac85[m] has joined #wayland
doras has joined #wayland
DemiMarie has joined #wayland
deknos82[m] has joined #wayland
xerpi[m] has joined #wayland
RAOF has joined #wayland
robertmader[m] has joined #wayland
Arsen has joined #wayland
[m]peeweep[m] has joined #wayland
Naruto[m] has joined #wayland
romangg has joined #wayland
phryk has joined #wayland
FellFromTheSky[m] has joined #wayland
occivink has joined #wayland
puck_ has joined #wayland
whot has joined #wayland
smasher_tati[m] has joined #wayland
al has joined #wayland
YaLTeR[m] has joined #wayland
glennk has joined #wayland
heeen has joined #wayland
nullpointer128 has quit []
nullpointer128 has joined #wayland
nullpointer128 has quit []
nullpointer128 has joined #wayland
nullpointer128 has quit [Remote host closed the connection]
rv1sr has quit []
Paul33 has quit []
fmuellner has quit [Ping timeout: 480 seconds]
mvlad has quit [Quit: Leaving]
russm has left #wayland [#wayland]
danvet has quit [Ping timeout: 480 seconds]
Consolatis_ has joined #wayland
Consolatis is now known as Guest4775
Consolatis_ is now known as Consolatis
Guest4775 has quit [Ping timeout: 480 seconds]
nullpointer128 has joined #wayland
nullpointer128 has quit []
fmuellner has joined #wayland
Gue___________________________ has joined #wayland
Gue___________________________ has quit []
Gue___________________________ has joined #wayland
Gue___________________________ has quit []
nullpointer128 has joined #wayland
<nullpointer128>
Hey all, I'm thinking about making a new protocol and I was wondering if there is any standard for a sort of "wl_mask" style data type?
<nullpointer128>
I was thinking of using a wl_buffer the same width and height of the wl_surface's buffer, but it only has one channel
<nullpointer128>
Something like wl_surface_get_mask(id: new_id<wl_surface>, surface: object<wl_surface>)?
rasterman has quit [Quit: Gettin' stinky!]
nullpointer128 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has joined #wayland
nullpointer128 has joined #wayland
d__ed has quit [Ping timeout: 480 seconds]
nullpointer128 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]