Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

[WIP] Renderer v6 #1355

Closed
wants to merge 23 commits into from
Closed

[WIP] Renderer v6 #1355

wants to merge 23 commits into from

Commits on Jan 24, 2019

  1. render/allocator: Add wlr_allocator

    This is a largely boilerplate type, so that the swapchain we're going to
    add isn't tied to a specific allocator.
    
    This type only very loosely wraps over allocators, only exposing a
    alloc/dealloc function. Renderers using specific allocators are expected
    to use those types directly.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    d07dde6 View commit details
    Browse the repository at this point in the history
  2. render/swapchain: Add wlr_swapchain

    This types gives a queue of wlr_images that are suitable to be presented
    to the backend.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    fe0f427 View commit details
    Browse the repository at this point in the history
  3. render/allocator/gbm: Add wlr_gbm_allocator

    This is an instance of wlr_allocator for hardware rendering via OpenGL
    or Vulkan. This also adds the appropriate interfaces to wlr_backend for
    this to work.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    362c88d View commit details
    Browse the repository at this point in the history
  4. backend/multi: Add new GBM functions

    We use minor numbers to detect if backend's renderers are compatible.
    It also doesn't make sense to call attach_gbm or detach_gbm on a
    multi-backend, as it has no idea which subbackend its supposed to pass
    it to. Instead wlr_output.backend should be used.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    9a17c08 View commit details
    Browse the repository at this point in the history
  5. render/format_set: Add wlr_format_set

    This types adds a container for formats + modifiers.
    
    A list that is of [format [modifier]] was chosen instead of
    [format modifer] because that is how GBM accepts them.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    c8ea15a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a40824 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b18cfd9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e54d1c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d852bc1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    622a94b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b640216 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3c065b7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e6a10f7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0f5225a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    500c571 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d545731 View commit details
    Browse the repository at this point in the history
  17. render/egl: Add new egl API

    This has a _2 suffix to not conflict with the current API, which can be
    removed later.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    66cce89 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    786e3e1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    165253c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    513e2f8 View commit details
    Browse the repository at this point in the history
  21. Only use device minor numbers on Linux

    This fixes the build on FreeBSD, which does not have these.
    ascent12 committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    d355eab View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2019

  1. render/shm: Add shm interface

    This just contains a couple of utility functions for interacting with
    wlroots' types.
    ascent12 committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    8ebc579 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19bb46a View commit details
    Browse the repository at this point in the history