mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CFrameBuffer::waitForIdle: Added a parameter
to identify the execution at Debug Output
- For example: name of the calling function
Origin commit data
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
@@ -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 +
|
||||
|
Reference in New Issue
Block a user