1. 16 1月, 2009 2 次提交
    • A
      exploiting the new interface in vnc.c (Stefano Stabellini) · 6cec5487
      aliguori 提交于
      This patch exploits the new DisplaySurface and PixelFormat structures in
      vnc, making the code easier to read allowing further improvements.
      
      Compared to the last version I fixed a bug that prevented the hextile
      encoding from working properly.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6337 c046a42c-6fe2-441c-8c8c-71466251a162
      6cec5487
    • A
      DisplayState interface change (Stefano Stabellini) · 7d957bd8
      aliguori 提交于
      This patch changes the DisplayState interface adding support for
      multiple frontends at the same time (sdl and vnc) and implements most
      of the benefit of the shared_buf patch without the added complexity.
      
      Currently DisplayState is managed by sdl (or vnc) and sdl (or vnc) is
      also responsible for allocating the data and setting the depth.
      Vga.c (or another backend) will do any necessary conversion.
      
      The idea is to change it so that is vga.c (or another backend) together
      with console.c that fully manage the DisplayState interface allocating
      data and setting the depth (either 16 or 32 bit, if the guest uses a
      different resolution or is in text mode, vga.c (or another backend) is
      in charge of doing the conversion seamlessly).
      
      The other idea is that DisplayState supports *multiple* frontends
      like sdl and vnc; each of them can register some callbacks to be called
      when a display event occurs.
      
      The interesting changes are:
      
      - the new structures and related functions in console.h and console.c
      
      in particular the following functions are very helpful to manage a
      DisplaySurface:
      
      qemu_create_displaysurface
      qemu_resize_displaysurface
      qemu_create_displaysurface_from
      qemu_free_displaysurface
      
      - console_select and qemu_console_resize in console.c
      this two functions manage multiple consoles on a single host display
      
      - moving code around in hw/vga.c
      as for the shared_buf patch this is necessary to be able to handle a dynamic
      DisplaySurface bpp
      
      - changes to vga_draw_graphic in hw/vga.c
      this is the place where the DisplaySurface buffer is shared with the
      videoram, when possible;
      
      
      Compared to the last version the only changes are:
      
      - do not remove support to dpy_copy in cirrus_vga
      - change the name of the displaysurface handling functions
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6336 c046a42c-6fe2-441c-8c8c-71466251a162
      7d957bd8
  2. 15 1月, 2009 1 次提交
  3. 23 12月, 2008 1 次提交
  4. 14 12月, 2008 1 次提交
  5. 04 12月, 2008 1 次提交
  6. 03 12月, 2008 1 次提交
  7. 02 12月, 2008 2 次提交
  8. 01 12月, 2008 1 次提交
  9. 25 11月, 2008 1 次提交
  10. 13 11月, 2008 1 次提交
  11. 12 11月, 2008 1 次提交
  12. 25 10月, 2008 1 次提交
  13. 24 9月, 2008 1 次提交
  14. 16 9月, 2008 2 次提交
  15. 07 9月, 2008 2 次提交
  16. 24 8月, 2008 1 次提交
  17. 22 8月, 2008 1 次提交
  18. 06 8月, 2008 1 次提交
  19. 02 6月, 2008 1 次提交
  20. 25 5月, 2008 2 次提交
    • B
      Fix VNC update regoin height. · 731dd637
      balrog 提交于
      'h' actually is the coordinate of bottom of the rectangle and not height.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4571 c046a42c-6fe2-441c-8c8c-71466251a162
      731dd637
    • B
      Invalidate VNC framebuffer on every resize. · 8bba5c81
      balrog 提交于
      On a resize, vncviewer keeps the image in the upper-left part of the screen
      unmodified and fills the right end of the lines with black colour.  vnc.c       keeps the first n bytes of the framebuffer unmodified instead - meaning that
      the client's image doesn't match the image in framebuffer and checking
      for dirty rows gives wrong results.  We can either invalidate the whole
      buffer or implement the same transformation as the client.
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4569 c046a42c-6fe2-441c-8c8c-71466251a162
      8bba5c81
  21. 20 5月, 2008 1 次提交
  22. 25 4月, 2008 1 次提交
  23. 11 3月, 2008 1 次提交
  24. 11 2月, 2008 1 次提交
  25. 03 2月, 2008 1 次提交
  26. 15 1月, 2008 1 次提交
  27. 14 1月, 2008 1 次提交
  28. 16 12月, 2007 1 次提交
  29. 12 12月, 2007 1 次提交
  30. 18 11月, 2007 2 次提交
  31. 31 10月, 2007 2 次提交
  32. 30 9月, 2007 1 次提交
  33. 17 9月, 2007 1 次提交