[mythtv-commits] [MythTV/mythtv] c6af3b: VDPAU: Log when GL_NV_vdpau_interop is not available

Mark Kendall noreply at github.com
Fri Aug 28 16:48:39 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c6af3b74d256d10bae6d40322529eee544e5b033
      https://github.com/MythTV/mythtv/commit/c6af3b74d256d10bae6d40322529eee544e5b033
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M mythtv/libs/libmythtv/opengl/mythvdpauinterop.cpp

  Log Message:
  -----------
  VDPAU: Log when GL_NV_vdpau_interop is not available


  Commit: ccf15e76b0e462f62418d50561948e5c64433fbb
      https://github.com/MythTV/mythtv/commit/ccf15e76b0e462f62418d50561948e5c64433fbb
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythpainterwindow.cpp
    M mythtv/libs/libmythui/mythpainterwindow.h
    M mythtv/libs/libmythui/opengl/mythpainterwindowopengl.h
    M mythtv/libs/libmythui/vulkan/mythpainterwindowvulkan.h
    M mythtv/programs/mythfrontend/globalsettings.cpp

  Log Message:
  -----------
  globalsettings: Add back a 'Paint engine' setting

- needed again to select Vulkan or OpenGL
- the Qt painter is never presented as an option but can be selected via
the command line again to try and get an app working (e.g. mythfrontend
-O PaintEngine=Qt) when there are OpenGL/Vulkan problems
- the setting is not displayed if there is no choice to be made (i.e.
vulkan support is not currently compiled in by default - so only OpenGL
will be available - so no setting is presented)
- the setting name is PaintEngine (the old ThemePainter setting will
likely have a value of 'auto' which is no longer supported) and avoids
hardcoded a workaround or performing a DB updateButton
- the code now builds a list of possible painters to try - with Qt as
the last option (unless overriden). This allows for better future
expansion.


Compare: https://github.com/MythTV/mythtv/compare/6ae4586724c3...ccf15e76b0e4


More information about the mythtv-commits mailing list