Jeroen Janssen wrote:
> 
> > The VM should not waste CPU-ressources on scanning this buffer for
> > changes.
> >
> > There should be an mechanism to tell the host-code which parts of the
> > frame-buffer have to be redrawn.
> 
> I first want to do "worst case scenario" (when all pixels need to be
> drawn)... depending on the guest OS display driver abilities, it might
> also be possible to have a list with "dirty" areas that need to be
> redrawn, but this stands/fails with the ability to detect wich areas are
> "dirty".

The Video-Driver should know which areas to redraw. I would suggest to
forward this knowledge to the host-code. It might be sensible to make
the "framebuffer" read-only for the guest-code and let the guest send
drawing-commands to the host.

Elmar

Reply via email to