comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <david@botton.com>
Subject: Re: Cairo Bindings now added to Gnoga
Date: Tue, 28 Oct 2014 15:18:31 -0700 (PDT)
Date: 2014-10-28T15:18:31-07:00	[thread overview]
Message-ID: <556c5230-9fb4-45f8-8bce-c925c3bdd9d2@googlegroups.com> (raw)
In-Reply-To: <lh70gheq87w.ym8gxivr1u2i$.dlg@40tude.net>

> 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 Gnoga 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 work 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 context. That is no different then in Gnoga, render the image to a png and transfer to browser for render. Except that I can also transfer SVG (which interestingly 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 image in memory to the browser and so as fast as in Gtk. Keep in mind that even over websockets you can achieve easily 20-30fps second in many situations and if transfering SVG even faster.

In summary the only difference in Cairo between GTK and Gnoga, is that in Gnoga 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

  reply	other threads:[~2014-10-28 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24  6:07 Cairo Bindings now added to Gnoga David Botton
2014-10-28 16:18 ` Dmitry A. Kazakov
2014-10-28 19:08   ` David Botton
2014-10-28 21:07     ` Dmitry A. Kazakov
2014-10-28 22:18       ` David Botton [this message]
2014-10-29  9:06         ` Dmitry A. Kazakov
2014-10-29 15:11           ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox