Very slow play with gl default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Sat, Feb 27, 2010 at 06:31:51PM +0100, Marcin 'Rambo' Roguski wrote:
> > But if it is CPU only, how can the performance be so different between
> > x11 (mplayer taking around 20% CPU) and gl/gl2 (mplayer's CPU use >90%)?
> 
> Basically with gl you're doing the same thing twice, first on GL level, 
> then doing it on X protocol level.

That's not quite right, first gl needs to also do stuff related to 3D rendering.
But the real problem is that the software rasterizer nowadays supports fragment
shaders, and MPlayer uses then those software-emulated fragment shaders to do
YUV->RGB conversion.
-vo gl:yuv=0 will probably closer to usable performance, but there's no point
in using OpenGL in that case.


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux