Skip to content
  • Daniel Stone's avatar
    libweston: Expose weston_renderer_type as ABI · ca4bdae0
    Daniel Stone authored and Marius Vlad's avatar Marius Vlad committed
    
    
    Similar to the backend type, also expose the renderer type enum as ABI.
    This makes it possible to implement a more consistent config API, as
    opposed to every backend hand-rolling its own use-the-other-one bool.
    
    The enums are explicitly numbered to avoid 0, so 0 can be used as a
    'not-specified' sentinel value to allow backwards compatibility with the
    old config interfaces.
    
    Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
    ca4bdae0
Loading