[mythtv-commits] mythtv commit: r25223 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jun 30 11:39:37 UTC 2010


      Author: markk
        Date: 2010-06-30 11:39:37 +0000 (Wed, 30 Jun 2010)
New Revision: 25223
   Changeset: http://svn.mythtv.org/trac/changeset/25223

Modified:

   trunk/mythtv/libs/libmythui/mythpainter_d3d9.cpp
   trunk/mythtv/libs/libmythui/mythpainter_d3d9.h

Log:

Improved rendering control in MythPainterD3D9.

Only clear the framebuffer if it is offscreen and only begin/end the
D3D9 scene and swap the buffers if the painter has overall control of
rendering. Otherwise the owner of the painter object is responsible for
beginning and ending the scene (to better manage performance) and to
swap the buffers.

These changes are required for upcoming Direct3D osd rendering fixes.





More information about the mythtv-commits mailing list