freenode/#clim - IRC Chatlog
Search
7:31:23
jackdaniel
but today I'll focus on squashing GC clip issue and optimizing clipping to a polygon
7:32:38
jackdaniel
I think that they should be added lazily (i.e in slot-unbound method when accessed)
7:32:44
slyrus
OK, I think I agree, but I have more vague feelings than principled complaints at the moment.
7:33:30
slyrus
It's good that you're focusing on the GC clip and poly clipping, but I wouldn't necessarily let those hold up landing the xrender-migration branch! I've been using it and there's a lot of good stuff in there.
7:33:33
jackdaniel
it doesn't bother me much right now, but if you care about that think it over and create an issue so it won't get lost
7:34:02
slyrus
My other big annoyance, at the moment, is the flickery nature of the CLX backend, but that's, again, a problem for another day. Will definitely need to get solved though.
7:34:14
jackdaniel
I know there is a lot of good stuff, but I'm not very eager to merge branch which may land programmer in a debugger when they scroll the pane with polygonous clipping area
7:35:25
jackdaniel
preveiously we didn't create such clipping regions in any demo (and even if we did, we didn't scroll them)
7:36:14
jackdaniel
(nb: it is another defect I plan to squash: output records always have clipping region, even if the initial drawing operation didn't)
7:36:33
slyrus
Did you see my workaround for the other flicker issue? Where I make the panes up in the :panes section and then switch between layouts? Not optimal, but functional, at least, and allows for editing of various parameters of the shapes in my clim-paint app.
7:40:39
jackdaniel
please make an issue about panes, I belive this will be part of a task I've mentioned to scymtym yesterday (with frame managers)
7:41:01
slyrus
OK. Busy with real work at the moment, but I'll get to it in the next couple of days.
7:41:20
jackdaniel
I'll let myself to post offtopic link (sorry upfront!): https://blog.mozilla.org/blog/2018/12/06/goodbye-edge/
7:42:03
jackdaniel
how do you distinguish real work from imaginary work? ;-) I'm off too, squashing bugs
12:05:45
jackdaniel
(decode-type (or (member :none) pixmap) clip-mask) ; ← seemingly innocent, but apparently if clip-mask is not of type (member :none) we have an unmet assertion
12:07:20
jackdaniel
problem remained unnoticed for a big part, because setting pixmap works OK(!), debugger pops when we try to query the clip region from gcontext
12:10:30
jackdaniel
(down the rabbit hole problems is caused by a macro expansion which puts a wrong type declaration, so it may work on implementations which do not expand declarations into type checks)