[MPlayer-dev-eng] [PATCH] Fix GL_SDL detection on OS X

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 30 20:52:51 CEST 2010


On Wed, Jun 30, 2010 at 08:36:17PM +0200, Reimar Döffinger wrote:
> On Wed, Jun 30, 2010 at 11:29:47AM -0700, Alexander Strange wrote:
> > Also gl and corevideo both do unnecessary picture copies on OS X -
> > gl's is due to not using EXT_client_storage
> 
> I don't think it is possible to use EXT_client_storage, the image
> is not necessarily available when we draw the frame, and we must keep
> the buffer available even beyond that.
> -dr somewhat avoids this issue, but honestly I haven't seen it make
> that much of a difference either, though I realize I haven't tested
> on OSX.

Also I wonder if you misunderstood the description of this, I think
it avoids having an extra _copy_ around, but I doubt it will avoid any
copy _operations_, so it is a memory usage, not speed optimization
(and even that I expect only if using a GPU with shared memory).
The only thing it might do speedwise is that the TexImage2D call might
return before the texture DMA is completed.



More information about the MPlayer-dev-eng mailing list