[mythtv-commits] [MythTV/mythtv] 48f080: OpenGLVideo: Remove GLSL conditionals

Mark Kendall noreply at github.com
Mon Jul 1 19:41:47 UTC 2019


  Branch: refs/heads/devel/2019-render
  Home:   https://github.com/MythTV/mythtv
  Commit: 48f08081b14bd6814cc0118c7b24732802803896
      https://github.com/MythTV/mythtv/commit/48f08081b14bd6814cc0118c7b24732802803896
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M mythtv/libs/libmythtv/openglvideoshaders.h

  Log Message:
  -----------
  OpenGLVideo: Remove GLSL conditionals


  Commit: 1b438521219cd623eb195ba7aa211b3af9954345
      https://github.com/MythTV/mythtv/commit/1b438521219cd623eb195ba7aa211b3af9954345
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M mythtv/libs/libmythtv/videocolourspace.cpp
    M mythtv/libs/libmythtv/videocolourspace.h

  Log Message:
  -----------
  VideoColourSpace: Track transfer characteristics


  Commit: 5b752e44e69bca8a320258e27811610f93358920
      https://github.com/MythTV/mythtv/commit/5b752e44e69bca8a320258e27811610f93358920
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/mythframe.h
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/openglvideo.cpp
    M mythtv/libs/libmythtv/videobuffers.cpp
    M mythtv/libs/libmythtv/videobuffers.h
    M mythtv/libs/libmythtv/videooutbase.cpp
    M mythtv/libs/libmythtv/videooutbase.h

  Log Message:
  -----------
  VideoFrame: Default to the reported video height

- rather than always forcing a 16pixel height alignment, use the
reported height but allocate the frame buffers with the extra alignment
to minimise any subsequent re-allocations and ensure FFmeg does not
overrun
- make VideoBuffers::ReinitBuffer static to avoid a round trip of calls
from the decoder. There should be no need for locking as the frame is
held by the decoder.
- the only complication is that FFmpeg seems to require 1088 type
heights for some (most) codecs - so adjust the frame allocation as
necessary

- fixes a few unnecessary scaling rendering issues - notably 1080 HEVC
software decode


  Commit: d652f7bb5e5f0b87242e583fe22906351cb2ef58
      https://github.com/MythTV/mythtv/commit/d652f7bb5e5f0b87242e583fe22906351cb2ef58
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideotexture.cpp
    M mythtv/libs/libmythtv/mythvtbinterop.cpp
    M mythtv/libs/libmythui/mythrender_opengl.cpp
    M mythtv/libs/libmythui/mythrender_opengl.h

  Log Message:
  -----------
  MythRenderOpenGL: Initial core profile support

- preparatory work for compute shader support
- no need to enable textures for GLSL (compatiblity or core profiles)
- add an environment var to force a core profile that should ensure
compute shader availability
- create a 'global' vertex array object that is a requirement for core
profiles. This should/will be extended to full VAO support at some point
but this ensures rendering works for now


Compare: https://github.com/MythTV/mythtv/compare/90389021cefb...d652f7bb5e5f


More information about the mythtv-commits mailing list