Backported some patches from refactory branches (3rd Nov)

Submitted by Jonathon Jongsma on Nov. 3, 2015, 10:20 a.m.

Details

Reviewer None
Submitted Nov. 3, 2015, 10:20 a.m.
Last Updated Nov. 4, 2015, 5:18 p.m.
Revision 12

Cover Letter(s)

Revision 1
      This patchset supersed last patchset.

Changes:
- removed merged patches;
- updated patch from Jonathon for "Fix warning due to unexpected pipe
  item type";
- merged later minor changes to "server: move bitmap related to
  red_bitmap_utils" (license header and name);
- added some patches to the set.

I think if we won't receive any comment on Alon Levy's patch
in a week or so (I'll wait till 9th Nov) I'll remove entirely.

Alon Levy (1):
  server/red_worker: red_draw_qxl_drawable: protect from NULL
    dereference in case of buggy driver (or recording)

Jonathon Jongsma (1):
  Palette cache: Use correct marshal function

Marc-André Lureau (13):
  Change some asserts to warnings
  server: move bitmap related to spice-bitmap-utils
  server: move renderer members to DisplayChannel
  worker: minor simplifcation
  worker: misc. set set_client_capabilities_pending in ctor
  server: remove dispatching creation of worker channels
  worker: don't process drawable if it can't be allocated
  s/process_drawable/process_draw
  worker: minor simplification
  worker: don't pass delta around
  worker: move shadow_new() and container_new()
  worker: tried to move dpi functions to display channel, fail
  Move monitors_config to display

 server/Makefile.am          |   2 +
 server/cursor-channel.c     |  28 +-
 server/dispatcher.c         |   6 +-
 server/display-channel.c    |  45 +++
 server/display-channel.h    |  90 +++++
 server/pixmap-cache.h       |   2 -
 server/red_common.h         |  13 -
 server/red_dispatcher.c     |  74 ++--
 server/red_dispatcher.h     |  36 +-
 server/red_parse_qxl.c      |   1 +
 server/red_worker.c         | 841 +++++++++++++++-----------------------------
 server/red_worker.h         |   3 +-
 server/spice-bitmap-utils.c | 119 +++++++
 server/spice-bitmap-utils.h |  91 +++++
 server/spice_server_utils.h |   1 -
 server/tree.c               |  39 ++
 server/tree.h               |  53 +--
 17 files changed, 732 insertions(+), 712 deletions(-)
 create mode 100644 server/spice-bitmap-utils.c
 create mode 100644 server/spice-bitmap-utils.h
    

Revisions