[mythtv-commits] mythtv commit: r25644 - in trunk/mythtv/libs by markk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sat Aug 14 09:18:03 UTC 2010
Author: markk
Date: 2010-08-14 09:18:03 +0000 (Sat, 14 Aug 2010)
New Revision: 25644
Changeset: http://svn.mythtv.org/trac/changeset/25644
Modified:
trunk/mythtv/libs/libmythtv/videoout_d3d.cpp
trunk/mythtv/libs/libmythtv/videoout_vdpau.cpp
trunk/mythtv/libs/libmythui/mythpainter.h
trunk/mythtv/libs/libmythui/mythpainter_d3d9.cpp
trunk/mythtv/libs/libmythui/mythpainter_d3d9.h
trunk/mythtv/libs/libmythui/mythpainter_ogl.cpp
trunk/mythtv/libs/libmythui/mythpainter_ogl.h
trunk/mythtv/libs/libmythui/mythpainter_vdpau.cpp
trunk/mythtv/libs/libmythui/mythpainter_vdpau.h
Log:
Improved GPU memory management.
This expands some pre-existing cache clearing code in the D3D9 and VDPAU
painters to include the OpenGL painter and adds a public method to clear
the GPU memory cache on request. The D3D9 and VDPAU renderers then ask
the main UI painter to clear its cache before initialisation.
This allows video cards with only 256Mb of memory to work when using
VDPAU rendering - BUT only when using the VDPAU painter.
Unfortunately, while profiling clearly shows the OpenGL painter clears
large chunks of video memory, that memory is not made available to VDPAU
and hence there is no real benefit.
The painter caches could also be managed more effectively by tracking
estimated memory consumption.
Refs #7570
More information about the mythtv-commits
mailing list