[MPlayer-users] ssa/ass rendering uses lots of cpu with -vo gl

Nicolas George nicolas.george at normalesup.org
Sat Jan 22 21:58:07 CET 2011


Le tridi 3 pluviôse, an CCXIX, Reimar Döffinger a écrit :
> The OpenGL drivers tend to be very inefficient at uploading lots (160 in
> this case) tiny objects.
> I tried using PBOs, but unfortunately as usually with ATI drivers this
> makes things even worse.

My OpenGL is not very fluent, but as far as I understand it, the ASS texture
uploading works that way:

for aeach EOSD image element
  find some room for it in one of the textures
  upload the bitmap to that texture

If the problem is what you think it is, maybe changing it to:

for each EOSD image element
  find some room for it in one of the textures
  copy the bitmap to a memory buffer associated to that texture
upload the necessary parts of the memory buffers

Or maybe you already tried that.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20110122/f4e46b5f/attachment-0001.pgp>


More information about the MPlayer-users mailing list