fb_accel_td: add missing getBackBufferPointer()

this fixes tuxtxt rendering problems


Origin commit data
------------------
Branch: ni/coolstream
Commit: 20a85c3874
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-15 (Wed, 15 Feb 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-02-15 00:10:59 +01:00
committed by Michael Liebmann
parent c940801136
commit 22d123dd40
2 changed files with 6 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ class CFbAccelTD
void paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t col); void paintLine(int xa, int ya, int xb, int yb, const fb_pixel_t col);
void blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff, uint32_t xp, uint32_t yp, bool transp); void blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff, uint32_t xp, uint32_t yp, bool transp);
void waitForIdle(const char *func = NULL); void waitForIdle(const char *func = NULL);
fb_pixel_t * getBackBufferPointer() const;
void setBlendMode(uint8_t); void setBlendMode(uint8_t);
void setBlendLevel(int); void setBlendLevel(int);
}; };

View File

@@ -202,3 +202,8 @@ void CFbAccelTD::setBlendLevel(int level)
if (level == 100) // sucks if (level == 100) // sucks
usleep(20000); usleep(20000);
} }
fb_pixel_t *CFbAccelTD::getBackBufferPointer() const
{
return backbuffer;
}