[mythtv-commits] mythtv/master commit: 786a95fd9 by mark-kendall (mark-kendall)

MythTV noreply at mythtv.org
Mon Mar 28 14:36:18 UTC 2011


      Author:  mark-kendall <mkendall at mythtv.org>
 Change Date:  2011-03-28T07:36:00-07:00
   Push Date:  2011/03/28 07:36:16 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  786a95fd93a77862a2a8a0be74d3bc399c40ecde
   Changeset:  https://github.com/MythTV/mythtv/commit/786a95fd9

Log:

windows: Rework MythRenderD3D9 initialisation (again)

This has only been tested on vista and via wine - so may need further tweaking.

- get the default adaptor format, use it for the backbuffer, check if it is reasonable and warn if not.

- we can fix non 'reasonable' formats if and when someone actually sees one.

- choose a surface (and texture) format from a limited selection of formats and fallback to the default adaptor format if none of these is found.

- test whether hardware conversion from YV12 to the chosen surface format is supported.

- only support conversion from YV12 as we don't actually support any other format internally within MythTV.

- add a small extra test to workaround the broken wine implementation which reports YV12 conversion as supported when in fact it isn't.

Modified:

   mythtv/libs/libmythui/mythrender_d3d9.cpp
   mythtv/libs/libmythui/mythrender_d3d9.h



More information about the mythtv-commits mailing list