Skip to content
Snippets Groups Projects
  1. Jul 15, 2020
  2. Jul 14, 2020
  3. Jul 08, 2020
  4. Jul 07, 2020
  5. Jul 05, 2020
  6. Jul 04, 2020
  7. Jul 03, 2020
  8. Jul 02, 2020
  9. Jul 01, 2020
  10. Jun 30, 2020
  11. Jun 26, 2020
  12. Jun 25, 2020
  13. Jun 24, 2020
  14. Jun 20, 2020
  15. Jun 19, 2020
    • Simon Ser's avatar
      backend/noop: add missing rollback_render output impl · c9301602
      Simon Ser authored
      3c5dbfd9 ("output: make rollback_render mandatory") makes a no-op
      output init fail without this function.
      c9301602
    • Simon Ser's avatar
      output: fix dangling renderer context after wlr_output_preferred_read_format · 155d57b0
      Simon Ser authored
      attach_render was called without un-setting the current rendering
      context afterwards.
      
      Closes: https://github.com/swaywm/wlroots/issues/2164
      155d57b0
    • Simon Ser's avatar
      output: make rollback_render mandatory · 3c5dbfd9
      Simon Ser authored
      If the output backend provides attach_render, assert it also provides a
      way to revert it via rollback_render.
      3c5dbfd9
    • Simon Ser's avatar
      output: rename impl->rollback to rollback_render · bf93d2e6
      Simon Ser authored
      The output backend API is now mostly state-less thanks to the atomic
      hooks (commit and test). There is one exception though: attach_render.
      This function makes the rendering context current. However sometimes the
      compositor might decide not to render after attach_render (e.g. when
      there's nothing new to render to the back buffer). Thus
      wlr_output_rollback has been introduced to revert the pending state.
      
      Because the output backend API is mostly state-less, the only thing
      wlr_output_impl.rollback needs to do is revert the current rendering
      context. Rename the function to rollback_render to make this clear. Add
      a check in the common wlr_output code to only call rollback_render when
      attach_buffer has been previously called.
      
      On the long term, we'll be able to remove attach_render and
      rollback_render together.
      bf93d2e6
  16. Jun 18, 2020
  17. Jun 17, 2020
Loading