mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
fb_accel_td: add missing getBackBufferPointer()
this fixes tuxtxt rendering problems
This commit is contained in:
committed by
M. Liebmann
parent
e8ec4540ca
commit
20a85c3874
@@ -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);
|
||||||
};
|
};
|
||||||
|
@@ -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;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user