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: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Cairo Bindings now added to Gnoga Date: Wed, 29 Oct 2014 10:06:49 +0100 Organization: cbb software GmbH Message-ID: <1vtot1p96jn3i$.jlvtp5udpdxj$.dlg@40tude.net> References: <2afaef11-daa3-4c44-bcd4-fb8f3ca19ac6@googlegroups.com> <556c5230-9fb4-45f8-8bce-c925c3bdd9d2@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: kY8ce/EaDhBBDBrOS7FbFg.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: number.nntp.giganews.com comp.lang.ada:190199 Date: 2014-10-29T10:06:49+01:00 List-Id: On Tue, 28 Oct 2014 15:18:31 -0700 (PDT), David Botton wrote: >> But why not to use the native backend then? > > When running a Gnoga app local it will be possible to transfer the entire > image in memory to the browser and so as fast as in Gtk. So the procedure is that at the refresh rate you create a new surface, do all drawing into its context, get the image bits, send them out, destroy the surface. Is it so? > Keep in mind that > even over websockets you can achieve easily 20-30fps second in many > situations and if transfering SVG even faster. You need 10ms (100Hz) for things like running waveforms and very stable latencies (magnitude is unimportant). Otherwise the output would look jerky. > 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. Yes, that's the idea. Somehow to work around porting all non-portable GTK stuff. I thought that GTK with the Broadway backend would become portable and small, because all the mess with themes etc would move to the remote host. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de