XCB non-blocking wait for cookie?

2020-04-01 Thread Egil Möller
Hi! In XCB, is there a way to check if a reply for a reply cookie is available, without blocking? I.e.     xcb_get_geometry_cookie_t  cookie = xcb_get_geometry(conn, win);     ...     xcb_generic_event_t *event;     while (1) {       geom  = xcb_get_geometry_reply (conn, cookie, NULL); // This

Re: Composite redraw speedup?

2020-02-16 Thread Egil Möller
On 12.02.2020 19:18, Alan Coopersmith wrote: > On 2/12/20 1:28 AM, Egil Möller wrote: >> However, for every PropertyNotify event, I still do a full round trip >> with XGetWindowProperty, with every XI_RawMotion I do XQueryPointer and >> with every XDamageNotify I do >>

Re: Composite redraw speedup?

2020-02-12 Thread Egil Möller
> You have some nasties - your input is going to have trouble due to zooming. > the > standard x input will be 1:1 where the windows are relative to the root window > etc. :) Working around this is actually one of the main tasks my WM handles, and why it uses XI_RawMotion/QueryPointer - to be

Re: Composite redraw speedup?

2020-02-12 Thread Egil Möller
> EFL does. Evas (the canvas) does all the rendering (either in software or GL) > and handles "native surfaces" which are its term of adopting things like > pixmaps into the scene graph as objects. It glues in the EGL or GLX pixmaps > for > you, partial update (buffer age...) etc. It may not be

Re: Composite redraw speedup?

2020-02-12 Thread Egil Möller
> hint: don't glXCreatePixmap() every time you render. do it only when you first > start compositing a window (i.e. on map) and if the window resizes. ... I tried this at first, but couldn't get it to work under Xephyr., i.e. the image in the texture didn't update when the window changed. Any

Re: Composite redraw speedup?

2020-02-12 Thread Egil Möller
On 11.02.2020 23:41, Adam Jackson wrote: > On Sat, 2020-02-08 at 15:46 +0100, Egil Möller wrote: >> Hi! >> >> I have for a time now been working on a new composing window manager >> to try >> out a few UX ideas (https://redhog.github.io/InfiniteGlass videos: &

Composite redraw speedup?

2020-02-08 Thread Egil Möller
Hi! I have for a time now been working on a new composing window manager to try out a few UX ideas (https://redhog.github.io/InfiniteGlass videos: https://www.youtube.com/watch?v=vbt7qtwiLiM https://www.youtube.com/watch?v=E8f2KwgvxK4). However, I'm having a performance problem in my redraw

InfiniteGlass - A compositing window manager with infinite zoomable/panable desktop and infinite window resolution

2019-11-09 Thread Egil Möller
Hi! I have for a time now been working on a composing window manager to try out a few new UX ideas, and I thought some of you might be interested as well as hopefully having some feedback on the feature set as well as the design... https://redhog.github.io/InfiniteGlass/ Some of the features:

Re: A question about XCompositeRedirectSubwindows

2018-06-20 Thread Egil Möller
Thank you for helping me figure this out, and I should also add thanks for that article series you created and linked! It's really good, and the interactive examples are really cool. Must have taken forever to build them (and the abstractions on top of the DOM)! Impressive! It's nice to see

Re: A question about XCompositeRedirectSubwindows

2018-06-19 Thread Egil Möller
and a lot of them had a hand in designing > the architecture to begin with. > https://magcius.github.io/xplain/article/composite.html has some ideas > of the broader concepts, but none of the details. > > Good luck. > > On Tue, Jun 19, 2018 at 2:01 AM Egil Möller <

A question about XCompositeRedirectSubwindows

2018-06-17 Thread Egil Möller
is in wm.c; running "make" ahould give you an Xephyr nested X session that shows the problem). Thanks in advance, Egil Möller ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.o