Re: [RFC] wl_surface video protocol extension

2013-10-18 Thread James Courtier-Dutton
We would also need the API to be compatible with "G-Sync". http://www.pcper.com/news/Graphics-Cards/NVIDIA-Announces-G-Sync-Variable-Refresh-Rate-Monitor-Technology ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedeskt

Re: input handlig in separate thread

2013-10-18 Thread Bill Spitzak
Giulio Camuffo wrote: And what is it that doesn't work? As a wild bet I'd say you probably want to look at wl_event_queue. See http://wayland.freedesktop.org/docs/html/chap-Library.html#sect-Library-Client This brings up some questions I have had about making a complete wayland client. The do

Re: input handlig in separate thread

2013-10-18 Thread Eugen Friedrich
Hallo Giulio, thanks a lot for the fast replay. if my understanding is correct the frame callbacks and the input handling events are coming from the compositor to the main wayland display queue on the client side. So how i can get the different queues on the client site or is there a possibility t

Re: input handlig in separate thread

2013-10-18 Thread Giulio Camuffo
Oh, I sent my mail before the second one arrived. Yeah, you need to use different wl_event_queues, and the relative functions like wl_display_dispatch_queue. 2013/10/18 Giulio Camuffo : > And what is it that doesn't work? As a wild bet I'd say you probably > want to look at wl_event_queue. > See

Re: input handlig in separate thread

2013-10-18 Thread Giulio Camuffo
And what is it that doesn't work? As a wild bet I'd say you probably want to look at wl_event_queue. See http://wayland.freedesktop.org/docs/html/chap-Library.html#sect-Library-Client Giulio 2013/10/18 Eugen Friedrich : > Hallo dear Wayland developer, > > I thing i have a very common use case an

Fwd: input handlig in separate thread

2013-10-18 Thread Eugen Friedrich
Hallo Dear wayland developers, I thing i have a very common use case and currently i don't now how to get it work in wayland. We have a wayland client application with 2 threads: thread1 - rendering thread - the eglSwapBuffer will call wl_display_dispatch internally: thread2 - input thread - th

input handlig in separate thread

2013-10-18 Thread Eugen Friedrich
Hallo dear Wayland developer, I thing i have a very common use case and currently i don't now how to get it work in wayland. We have a wayland client application with 2 threads: thread1 - rendering thread - the eglSwapbuffer will call wl_display_dispatch internally: thread2 - input thread - thi

Re: [RFC] wl_surface video protocol extension

2013-10-18 Thread James Courtier-Dutton
On 18 October 2013 08:30, Pekka Paalanen wrote: > > > On Thu, 17 Oct 2013 21:34:02 +0100 > James Courtier-Dutton wrote: > > > The key point I was trying to make is that the media player needs to be > > able to predict when frames will be displayed. > > Yes, the *player* needs to be able to predi

Re: [RFC] wl_surface video protocol extension

2013-10-18 Thread Pekka Paalanen
Hi James, I'm not a video expert, so excuse me if my view is too simplistic. What I write is what I'd call common sense, and I'm sure literature would have specialized algorithms for exactly the things we need, like prediction. But, I don't want to tie the protocol into any certain algorithm. The