[Xcb] util/image and xcb_image_put() sub-regions

Vincent Torri vtorri at univ-evry.fr
Sat Oct 21 11:00:15 PDT 2006



On Sat, 21 Oct 2006, Barton C Massey wrote:

> There are are clearly some interesting architectural
> questions for a proper get/putimage utility library for XCB.
>
> I think that a good way to go is to look at what Cairo
> requires (via completing your port), look at what some other
> toolkit-level uses require, and then design from scratch a
> proper library.  I suspect that many of the features of Xlib
> PutSubImage() are of questionable generality, utility, or
> implementation from an XCB perspective; let's find out and
> then build the right thing.

for evas, I've never used PutSubImage. But maybe its design make is 
useless (and that's why I've not tried to implement that function)

Also, I'm sorry for the ugly code in xcb_image. It was my first use of 
xcb.

Vincent

>
> Of course, that's asking a lot of you.  Feel free to ask us
> to help. :-)
>
> 	Bart
>
> In message <8ED0E84C-ED4C-425B-B5B6-93B46E66B303 at quirkster.com> you wrote:
>>  From what I can tell, the vast tracts of code under libX11/src/
>> PutImage.c:PutSubImage() have been replaced in xcb_image_put() with a
>> call to the core protocol xcb_put_image(). This bypasses
>> [many things]
> [...]
>> For now, I'm going to code the sub-region logic directly into cairo,
>> but we should also continue porting PutImage.c to xcb_image.c.
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> Message délivré par le serveur de messagerie de l'Université d'Evry.
>
>


More information about the Xcb mailing list