2010-12-17, 16:19
phusho Wrote:Yes I am CPU bound. Optimizations are made for ARM 1176 with VFP unit, not NEON. I have tried all solvers result was more or less same. Black screen with moving RSS control . On animation all is OK. Do you have some suggestions about event rendering system?
Ah, well considering that your CPU bound I wouldn't touch dirty region for now, even if it _might_ help its probably better to focus on getting CPU load down. Event rendering is a really big thing to tackle tbh.
As you said, the transformations is where we spend quite a bit of CPU so thats a good place to start, another is font rendering which is one of the biggest loads in XBMC currently, the idea that have been discussed to lower it is by creating either a VBO per text and transform it instead of generating it all the time. i.e. somthing along the lines like int bar = CFont::GenerateText("foo", colour, ...); and CFone:rawText(bar); instead of building and drawing it on glyph basis per frame. Could also use draw to texture instead of VBO but if your not GPU bound (polygon bound) you gain quite a bit by going VBO (memory mostly).
So I'd try commenting out font rendering and see how that helps.