# Rules needed for hardware acceleration/decoding
# Homepage: https://github.com/krathalan/apparmor-profiles
# Copyright 2019 (C) krathalan; Licensed under GPLv3

  # General
  #include <abstractions/dri-common>
  #include <abstractions/dri-enumerate>
  #include <abstractions/mesa>
  #include <abstractions/wayland>
  /etc/vdpau_wrapper.cfg r,
  @{system_share_dirs}/glvnd/** r,

  # Other files in @{sys}/devices/pci[0-9]*/ that aren't part of 
  # abstractions/dri-enumerate don't belong in this abstraction; allow on a
  # per-profile basis. For example: @{sys}/devices/pci[0-9]*/**/config
