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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.68.247.138 with SMTP id ye10mr4137510pbc.6.1414534711962; Tue, 28 Oct 2014 15:18:31 -0700 (PDT) X-Received: by 10.140.20.108 with SMTP id 99mr56776qgi.15.1414534711700; Tue, 28 Oct 2014 15:18:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h15no1076407igd.0!news-out.google.com!u5ni10qab.1!nntp.google.com!s7no1246922qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 28 Oct 2014 15:18:31 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=73.46.72.234; posting-account=yiWntAoAAAC1KqC_shmxJYv07B9l6LNU NNTP-Posting-Host: 73.46.72.234 References: <2afaef11-daa3-4c44-bcd4-fb8f3ca19ac6@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <556c5230-9fb4-45f8-8bce-c925c3bdd9d2@googlegroups.com> Subject: Re: Cairo Bindings now added to Gnoga From: David Botton Injection-Date: Tue, 28 Oct 2014 22:18:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:22879 Date: 2014-10-28T15:18:31-07:00 List-Id: > I am no expert in the matter. What is your take on this: That is actually a much slower way of doing things than I am using with Gno= ga It is using websockets for a VNC like environment. > Broadway looks like a proper GTK (and thus Cairo) backend. Not at all, it is just broadcasting images. Even in GTK most of cairo's wor= k is _not_ being done using the "native" backend as you are calling it but = rather on an image surface (png) that is then transferred to the X11 contex= t. That is no different then in Gnoga, render the image to a png and transf= er to browser for render. Except that I can also transfer SVG (which intere= stingly enough on most browsers use Cairo to display :) > But why not to use the native backend then? When running a Gnoga app local it will be possible to transfer the entire i= mage in memory to the browser and so as fast as in Gtk. Keep in mind that e= ven over websockets you can achieve easily 20-30fps second in many situatio= ns and if transfering SVG even faster. In summary the only difference in Cairo between GTK and Gnoga, is that in G= noga the "buffered" image has to be transferred across the network. Once I = have the webkit local app portion ready, that will also not be a factor for= local apps. > Although it might be an interesting option for embedded applications > running under VxWorks (no GTK at all) or under Linux without X11 support. Gnoga would be, but Broadway is slow and very intense on the processor. In fact one area I think that Gnoga will shine in the long term is its use = in embedded systems to provide a remote GUI. David Botton