[MPlayer-dev-eng] [PATCH] ASS - detect changes to speed up -vo gl

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Oct 29 10:30:34 CET 2006


Hello,
On Sun, Oct 29, 2006 at 10:06:24AM +0100, Jindrich Makovicka wrote:
> On Sun, 29 Oct 2006 09:42:47 +0100
> Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> > you could simply do without the check.
> > Also, I'd prefer !imgs->changed instead of imgs->changed == 0.
> 
> I used == 0 because imgs->changed is 3-state (I thought about

Well, I think !imgs->changed still transports the right semantics.

> reusing the textures for titles that are only moving, but I don't know
> the vo_gl code and opengl itself enough to actually implement it).

No idea if it would help much, but just skip everything (including
clearEOSD) and go directly to glNewList(eosdDispList, GL_COMPILE);
Much better would be a way to mark the glyphs that are already uploaded
somewhere (colour changes would still allow them to be reused btw), but
that would probably be much more work.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list