Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotplugging, buffer scaling and general improvements #25

Merged
merged 22 commits into from
Jun 23, 2017
Merged

Commits on Jun 15, 2017

  1. Make COutput unmovable

    Using the default move constructor does not it work since it does
    not re-register the event handlers with the new this-pointer. Instead
    of implementing a custom move constructor, using std::unique_ptr<> is
    the easier solution.
    pkerling committed Jun 15, 2017
    Configuration menu
    Copy the full SHA
    0f607f1 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. Try to switch resolution on output hotplug

    Closes #8
    pkerling committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    85c9432 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53443e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3820cd7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2017

  1. Rework Wayland resolution handling

    Closes #23
    pkerling committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    652f33a View commit details
    Browse the repository at this point in the history
  2. Make GraphicContext interpret the SetFullScreen() return value

    It is near impossible to implement the Wayland windowing system
    reliably otherwise since the resolution is not changed immediately,
    leading to a size mismatch between Kodi state and the windowing surface.
    pkerling committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    628d90b View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2017

  1. Make access to COutput geometry and mode data thread-safe

    so it can safely be accessed from the main thread even when modes change
    pkerling committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    5406e0e View commit details
    Browse the repository at this point in the history
  2. Implement pointer coordinate scaling for SeatInputProcessor

    Needed when surface and buffer sizes are different on HiDPI displays
    pkerling committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    0c19625 View commit details
    Browse the repository at this point in the history
  3. Ack compositor configure() only when next buffer matches configuration

    After calling ack_configure(), the compositor will assume that our
    next attached buffer adheres to the size it requested (at least for
    fullscreen surfaces). So we must make sure that this assumption holds,
    or bad things will happen. Fix by delaying ack_configure() until
    the egl context is reconfigured.
    pkerling committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    b1dcdce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8954ef5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa566e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    daf39a1 View commit details
    Browse the repository at this point in the history
  7. Move opaque region setting to SetFullScreen

    so that the opaque region matches the surface size that gets attached
    pkerling committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    e869fb6 View commit details
    Browse the repository at this point in the history
  8. Update log messages

    pkerling committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    f864935 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f6e132d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    639932b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0272164 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9c09f70 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    af6abf2 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2017

  1. Remove display_t error checking

    which should be done in waylandpp
    pkerling committed Jun 22, 2017
    Configuration menu
    Copy the full SHA
    9753b4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09e7d21 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2017

  1. Configuration menu
    Copy the full SHA
    8fdbc62 View commit details
    Browse the repository at this point in the history