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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Cairo Bindings now added to Gnoga Date: Tue, 28 Oct 2014 22:07:20 +0100 Organization: cbb software GmbH Message-ID: References: <2afaef11-daa3-4c44-bcd4-fb8f3ca19ac6@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: Xn+ybM2JynFOXdIT5N5zBw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:22872 Date: 2014-10-28T22:07:20+01:00 List-Id: On Tue, 28 Oct 2014 12:08:02 -0700 (PDT), David Botton wrote: >> Gnoga rather usee browser for rendering. > > Correct and browsers have both bitmap surfaces and SVG surfaces. > > Currently with Cairo I am just outputting directly to files for the > browser to load up, however at a later point, I'll add code to have cairo > output directly over the websocket. I see. Thanks for the explanation. Even with websockets that would be awfully slow and lose nice doubly buffering Cairo has to prevent flickering. I wonder if the browser could have a proper context over websocket rather than SVG surface. I am no expert in the matter. What is your take on this: https://gramps-project.org/wiki/index.php?title=Broadway_Gtk3_backend Broadway looks like a proper GTK (and thus Cairo) backend. However, the use-case scenario for Broadway is unclear to me. It looks like GTK would run on the server side doing much low-level rendering remotely in the browser. Is that correct? This does not look good in the case when a single server works with many clients. It is fine when the server and one client are on the same host. But why not to use the native backend then? Although it might be an interesting option for embedded applications running under VxWorks (no GTK at all) or under Linux without X11 support. >> Making it a bit more concrete, can you use this: >> >> http://www.dmitry-kazakov.de/ada/aicwl.htm > > Actually your controls were what gave me the idea of doing the Cairo > bindings. At some point when I can take the time I want to attempt to > adopt them to Gnoga. Let me know if you find bugs or need changes. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de