CFrameBuffer::waitForIdle: Added a parameter

to identify the execution at Debug Output
- For example: name of the calling function


Origin commit data
------------------
Commit: d460c50bd5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-17 (Fri, 17 May 2013)

Origin message was:
------------------
* CFrameBuffer::waitForIdle: Added a parameter

 to identify the execution at Debug Output
- For example: name of the calling function
This commit is contained in:
Michael Liebmann
2013-05-17 19:44:16 +02:00
parent ef1cb49866
commit f72058e32e
3 changed files with 10 additions and 6 deletions

View File

@@ -443,7 +443,7 @@ void Font::RenderString(int x, int y, const int width, const char *text, const u
/* the GXA seems to do it's job asynchonously, so we need to wait until
it's ready, otherwise the font will sometimes "be overwritten" with
background color or bgcolor will be wrong */
frameBuffer->waitForIdle();
frameBuffer->waitForIdle("Font::RenderString");
#endif
/* fetch bgcolor from framebuffer, using lower left edge of the font... */
fb_pixel_t bgcolor = *(frameBuffer->getFrameBufferPointer() + x +