[haiku-development] Re: Caya Replicant is not working on gcc2 based builds (BRemoteView !?)

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 29 Feb 2012 17:53:32 +0100

Am 29.02.2012 16:36, schrieb Barrett:
Hello,
Basically RenderBoy is the rendering process and the main browser
process has a ProxyView which forwards mouse moves and clicks to the
render process. The render process draws into a bitmap and sends the
bitmap data to the browser process which displays it in the ProxyView.

very cool, this is basically how i planned to implement it, but in my
idea, i've imagined the app_server that does the drawing operations
instead of sending bitmaps, just because i see it non-efficent.

The app_server doesn't have to be involved either way. It doesn't need a single change to support this. The simplest way to implement it would be to create a BPicture in your GCC4 app, archive it and send it to the GCC2 replicant embedded in the GCC2 Deskbar, and have it draw it. Whenever you want the view contents to be different, just send it a new BPicture.

Anything you do on top of that would mean to replicate what BPicture already does.

Best regards,
-Stephan


Other related posts: