[mythtv-commits] [MythTV/mythtv] d7e4aa: MythBinaryPList: Use auto in 2 instances

Mark Kendall noreply at github.com
Sun Dec 13 11:15:47 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: d7e4aafc7177606d04b25c61491e244ae5bd4d76
      https://github.com/MythTV/mythtv/commit/d7e4aafc7177606d04b25c61491e244ae5bd4d76
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythbase/mythbinaryplist.cpp

  Log Message:
  -----------
  MythBinaryPList: Use auto in 2 instances


  Commit: 6b97f024a9cde8edb95e10a6d0cfb96bee19ac1b
      https://github.com/MythTV/mythtv/commit/6b97f024a9cde8edb95e10a6d0cfb96bee19ac1b
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/decoderbase.cpp

  Log Message:
  -----------
  DecoderBase: Squash a clang tidy warning


  Commit: 98f7c6a32f437d1f813bef7eda5c1e5bea7c52e0
      https://github.com/MythTV/mythtv/commit/98f7c6a32f437d1f813bef7eda5c1e5bea7c52e0
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythuitext.cpp

  Log Message:
  -----------
  MythUIText: Avoid integer division warning


  Commit: 390947a1da8e91d281dfcb32d798238f2a0e78f5
      https://github.com/MythTV/mythtv/commit/390947a1da8e91d281dfcb32d798238f2a0e78f5
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/decoderbase.h

  Log Message:
  -----------
  DecoderBase: Remov unused method


  Commit: c8dd2e48baf19b0b00e98508a5c03df0d9d05e44
      https://github.com/MythTV/mythtv/commit/c8dd2e48baf19b0b00e98508a5c03df0d9d05e44
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythui/opengl/mythrenderopengl.cpp

  Log Message:
  -----------
  MythRenderOpenGL: remove superfluous OpenGL call


  Commit: 6b3cfc783a60a037a6e9cca95afd234095aa70c2
      https://github.com/MythTV/mythtv/commit/6b3cfc783a60a037a6e9cca95afd234095aa70c2
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-13 (Sun, 13 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythui/opengl/mythrenderopengl.cpp

  Log Message:
  -----------
  MythRenderOpenGL: Fix drawing of rectangles

- the rectangle shader does not work as intended with a radius which is
less than 1 (due to the antialising bounds in the smoothstep function)
- I suspect the old shaders had the same limitation which is why the
radius of a rectangle was always forced to 1.
- revert to old behaviour of forcing a minimum radius and add an extra
check in MythRenderOpenGL::DrawRoundRect in case a rounded rect is
defined without a radius.

Fixes #291


  Commit: e225cbb4d22653461cabac739719e535d29605cb
      https://github.com/MythTV/mythtv/commit/e225cbb4d22653461cabac739719e535d29605cb
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-13 (Sun, 13 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythui/opengl/mythrenderopengl.cpp

  Log Message:
  -----------
  MythRenderOpenGL: Minor optimisation in DrawRoundRect


  Commit: 333c25a7df2f70fe11cf665635b32e7d3f2e1300
      https://github.com/MythTV/mythtv/commit/333c25a7df2f70fe11cf665635b32e7d3f2e1300
  Author: Mark Kendall <mark.kendall at gmail.com>
  Date:   2020-12-13 (Sun, 13 Dec 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mythvideogpu.cpp
    M mythtv/libs/libmythtv/mythvideogpu.h
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp
    M mythtv/libs/libmythtv/opengl/mythopenglvideo.h
    M mythtv/libs/libmythtv/opengl/mythopenglvideoshaders.h

  Log Message:
  -----------
  MythOpenGLVideo: Add back bicubic scaling functionality

- Note: There isn't yet any UI setting to enable this.
- the old bicubic shader used a lookup texture for the bicubic offsets,
which was a performance optimisation for old hardware. The new shader
calculates these on the fly - which most modern GPUs should handle
without issue, though there are still 4 dependant texture reads for each
sample, so slower GPUs will struggle.
- works nicely on lower resolution material


Compare: https://github.com/MythTV/mythtv/compare/85e2689da6d7...333c25a7df2f


More information about the mythtv-commits mailing list