fb_generic: add stuff needed for compilation

This commit is contained in:
Stefan Seyfried
2017-02-05 15:02:20 +01:00
committed by M. Liebmann
parent 5c2ee5e137
commit 3c381cd53b
3 changed files with 32 additions and 20 deletions

View File

@@ -168,6 +168,10 @@ void CFrameBuffer::waitForIdle(const char* func)
fprintf(stderr, "CFrameBuffer::waitForIdle: count is big (%u)!\n", count);
}
}
#else
void CFrameBuffer::waitForIdle(const char *)
{
}
#endif /* USE_NEVIS_GXA */
/*******************************************************************************/
@@ -485,6 +489,12 @@ fb_pixel_t * CFrameBuffer::getFrameBufferPointer() const
return (fb_pixel_t *) virtual_fb;
}
/* dummy if not implemented in CFbAccel */
fb_pixel_t * CFrameBuffer::getBackBufferPointer() const
{
return getFrameBufferPointer();
}
bool CFrameBuffer::getActive() const
{
return (active || (virtual_fb != NULL));
@@ -2198,3 +2208,8 @@ bool CFrameBuffer::_checkFbArea(int _x, int _y, int _dx, int _dy, bool prev)
return true;
}
/* dummy, can be implemented in CFbAccel */
void CFrameBuffer::mark(int , int , int , int )
{
}