FS#11520 - Problems with overlaying viewports

Attached to Project: Rockbox
Opened by Carsten Eckartsberg (AsusFreak) - Wednesday, 04 August 2010, 19:06 GMT
Last edited by Michael Chicoine (mc2739) - Thursday, 05 August 2010, 23:40 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I've a problem with my AF-Black theme for the D2. It's based on overlaying viewports.
In the past it was no problem to draw the cover art and overwrite some parts of the cover arts with other viewports like this:

# Album Art
# Artist

Now with r27685 the overlaying information are covered by the cover art. This was already an issue some times ago (V3.4 ?) and then it was fixed.

Please correct it, it seems to be a timing problem...
Thanks in advance.
This task depends upon

Closed by  Michael Chicoine (mc2739)
Thursday, 05 August 2010, 23:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Closed by request - fixed with r27719
Comment by Jonathan Gordon (jdgordon) - Thursday, 05 August 2010, 05:58 GMT
well what is the problem you are seeing? AA drawn over the text? or text clearing the line in the AA?
Comment by Carsten Eckartsberg (AsusFreak) - Thursday, 05 August 2010, 18:53 GMT
First I draw the AA then a new viewport draws text over the AA.
In the past you see the AA with some text information as overlay over the AA.
Now you only see the AA - the text viewport is covered by the AA.

It seems to be that the AA is drawn more often than the text viewport - so the text viewport can't be shown anymore.
Before - my last working release was one of 3rd week in July 2010 - a WPS shows the viewports in the order of their appearance: if I first draw the AA and then I draw the text viewport, I got an AA with the text showing in the front. Now the AA stays in front regardless of the drawing order.

So regarding your question: now it's AA drawn over the text and in the past I saw the text clearing the line in the AA.

I'm sorry but I will not be able to respond to this the next 10 days so I will come back after this time.
Thanks JdGordon.
Comment by Carsten Eckartsberg (AsusFreak) - Thursday, 05 August 2010, 19:22 GMT
I just saw that you did a change in r27719 by decreasing the drawing times of the AA. Now everything's working like a charm. Thanks for your quick response and perfect change of the code. Now I'm able to reload the theme to the theme site. Great thanks - the task can be closed now.