Skip to content
  • Michel Dänzer's avatar
    present: Move present_wnmd.c contents to hw/xwayland/xwayland-present.c · b6419359
    Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
    
    
    This will allow eliminating indirections and making the Xwayland Present
    code more efficient and easier to follow.
    
    While this technically changes the Xorg video driver ABI, I don't know
    of any drivers using the dropped present_wnmd_* symbols, and I doubt a
    Xorg driver could make use of them as is anyway.
    
    (As a bonus, Xorg no longer links any Xwayland specific Present code)
    
    v2:
    * Wrap DestroyWindow before initializing Present, so that
      present_destroy_window runs before xwl_present_cleanup. Avoids crash
      due to present_destroy_window calling xwl_present_* functions when
      xwl_present_window was already freed. (Olivier Fourdan)
    
    Acked-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    b6419359