Search
Thursday, 14th of January 2021, 0:36:06 UTC
4:04:10
loke[m]
jackdaniel: I'm back working on CLIM again. I want to make the fix to the Freetype engine. You mentioned I should be using a different XRENDER picture. Can you give me the details again?
4:05:24
loke[m]
A second question: In the recent updates, PORT-REGISTER-MIRROR is gone, as you said it was going to be. What is the proper way to handle the sheet→mirror mapping?
4:12:22
beach
Good morning everyone!
6:49:00
jackdaniel
loke[m]: as of sheet->mirror mapping, the mirror is stored in the mirrored-sheet-mixin's slot
6:49:31
jackdaniel
if you need mirror->sheet mapping, then it is backend dependent (i.e clx now stores sheet in the window's xlib:window-plist)
6:50:23
loke[m]
It's the former I need. For the reverse, I already store it in the GTK-MIRROR object.
6:50:31
jackdaniel
regarding using a separate picture, you may take a peek what's going on in a branch backend-manual
6:50:45
jackdaniel
basically you *will* need to call clim-clx:medium-target-drawable
6:50:54
jackdaniel
but it is still wip, so it may change
6:51:08
loke[m]
Does that return a drawable?
6:51:19
loke[m]
How do I get the picture from the drawable?
6:51:23
jackdaniel
bleh, medium-target-picture !
6:51:28
loke[m]
Perhaps naming it drawable isn't ideal?
6:51:28
jackdaniel
not medium-target-drawable, sorry
6:51:58
jackdaniel
you may access a drawable with xlib:picture-drawable
12:30:57
jackdaniel
should we premultiply 32bit vals for rgba patterns?
12:33:24
pjb
jackdaniel: I'm not sure what you mean, but to build a rgba from r, g, b and a, you should need only shifting, not multiplication.
12:34:15
jackdaniel
premultiplied alpha channel means, that rgb components are already multiplied by alpha
12:34:39
jackdaniel
that makes blending easier from the computational point of view, so that could improve the raster image performance
12:34:49
jackdaniel
(McCLIM's raster image extension that is)
Thursday, 14th of January 2021, 12:36:06 UTC