From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ae9:e713:: with SMTP id m19mr5235104qka.39.1589572851465; Fri, 15 May 2020 13:00:51 -0700 (PDT) X-Received: by 2002:aca:b2c4:: with SMTP id b187mr3194408oif.175.1589572851067; Fri, 15 May 2020 13:00:51 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 15 May 2020 13:00:50 -0700 (PDT) In-Reply-To: <13f6fe0c-be41-4937-a877-457e1f8aca18@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=208.114.128.69; posting-account=MRPdDAoAAADUJmZVjnYaoafXFMadSeY1 NNTP-Posting-Host: 208.114.128.69 References: <705052ba-5cff-46af-a28c-1e25e60e2eef@googlegroups.com> <13f6fe0c-be41-4937-a877-457e1f8aca18@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6d6c0f65-35f9-4fcd-8fb2-47dbc560cabc@googlegroups.com> Subject: Re: Xlib, (GLX or EGL), OpenGL. Stuck at double buffering not working properly. From: Olivier Henley Injection-Date: Fri, 15 May 2020 20:00:51 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58698 Date: 2020-05-15T13:00:50-07:00 List-Id: > X11 seems to have a single event queue so event processing can occur on any task. ok. I will investigate the possibilities. > The GLFW maintainer explains a bit how all the platform do their event and window management in #5 at https://discourse.glfw.org/t/multithreading-glfw/573/5 Thank you for this nice discussion. The OP is quite in line with what I was envisioning for an Ada replacement. > I'm not sure how you can get tearing. Do you still get it when you explicitly set swap interval to 1? No, it's not tearing per se. I wanted to picture a frame, rendered, but with different black damaged portions. I either get that of full black frames. > Is there a particular reason you're trying this on X11? - It's still ubiquitous - Ubuntu 18.04 LTS has it by default - Low hanging fruit. Many code examples here and there around the web. > I've been thinking a lot about a GLFW replacement written in Ada, because GLFW tries to maintain too many backends (X11 and macOS are dead platforms for gaming/3D IMO) and development is slow. Not just that, installing for Ada, on Windows is tricky and quite frustrating. > A replacement that just supports WGL+win32 and Wayland+EGL would be nice and feasible. Nice to know you would be satisfied with just that. I was wondering about Apple dropping OpenGL. If you say, we do not care, for now at least, it reassures me. > Also, I would like to have more control over the frame latency via accurate frame presentation feedback (presentation-time Wayland protocol) Could you elaborate? I bought the Wayland online book and I am almost done but never 'touched' any code yet. Do you mean that using Wayland, we can 'drive' precise refresh presentation with guaranteed full-frames? > Have you considered putting your code under some OSS license? Will do. > It would be nice if we could team up to make this happen :) That is perfect because Orka was exactly the client I wanted to fulfill the needs. I'll get in touch then.