1. 28 Jul, 2020 9 commits
  2. 23 Jul, 2020 4 commits
  3. 16 Jul, 2020 1 commit
  4. 15 Jul, 2020 7 commits
  5. 14 Jul, 2020 6 commits
  6. 13 Jul, 2020 1 commit
  7. 08 Jul, 2020 4 commits
  8. 06 Jul, 2020 1 commit
  9. 30 Jun, 2020 1 commit
    • Vlad Zahorodnii's avatar
      Provide an easy way to monitor buffer size changes · fd995084
      Vlad Zahorodnii authored
      The main purpose behind the kwaylandserver library is to provide a set
      of re-usable wayland compositor extension implementations. However, it's
      worth noting that the design of kwaylandserver is far from perfect at
      the moment.
      
      KWaylandServer tries to hide all low level wayland details from the
      compositor. But it's not the case with buffers, which diminishes the
      whole point behind the library.
      
      Creating OpenGL textures from Wayland buffers is the responsibility of
      the compositor. So, when it comes to client buffers, we are one foot in
      KWaylandServer, and the other foot in the compositor.
      
      Since the surface size is a logical size, the compositor can't use it
      for allocating memory for OpenGL textures. This change adds the buffer
      size property in SurfaceInterface that can be used for allocating memory
      for textures as well as monitoring buffer size changes.
      
      I must say that the introduction of the buffer size property is a crude
      hack because BufferInterface just needs to provide an OpenGL texture for
      each plane. The main blocker for that is that it would involve moving
      the backend, the compositor, and the wayland bits in the same place, for
      example kwayland-server or ultimately kwin.
      fd995084
  10. 24 Jun, 2020 2 commits
    • Vlad Zahorodnii's avatar
      Document the buffer transform property · 39a27ec2
      Vlad Zahorodnii authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      The buffer transform is a pretty confusing thing, so document it in
      order to avoid misleading people.
      39a27ec2
    • Vlad Zahorodnii's avatar
      Rename buffer-specific surface properties · 47f80b99
      Vlad Zahorodnii authored and Vlad Zahorodnii's avatar Vlad Zahorodnii committed
      The buffer scale and the buffer transform property specify transforms
      that had been applied to the buffer's contents. Neither one of those
      properties apply to the surface, in other words the buffer transform
      property doesn't indicate that the surface was rotated or flipped or both.
      
      This change doesn't gain anything in terms of new features, etc. It just
      attempts to make things more clear.
      47f80b99
  11. 23 Jun, 2020 1 commit
  12. 22 Jun, 2020 2 commits
  13. 19 Jun, 2020 1 commit