mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
- includes: some manual code nicenings
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -28,15 +28,9 @@ class GLFramebuffer : public OpenThreads::Thread
|
||||
public:
|
||||
GLFramebuffer(int x, int y);
|
||||
~GLFramebuffer();
|
||||
std::vector<unsigned char> *getOSDBuffer()
|
||||
{
|
||||
return &osd_buf; /* pointer to OSD bounce buffer */
|
||||
}
|
||||
std::vector<unsigned char> *getOSDBuffer() { return &osd_buf; } /* pointer to OSD bounce buffer */
|
||||
void blit();
|
||||
fb_var_screeninfo getScreenInfo()
|
||||
{
|
||||
return si;
|
||||
}
|
||||
fb_var_screeninfo getScreenInfo() { return si; }
|
||||
|
||||
private:
|
||||
fb_var_screeninfo si;
|
||||
@@ -44,7 +38,7 @@ class GLFramebuffer : public OpenThreads::Thread
|
||||
void run(); /* for OpenThreads::Thread */
|
||||
void setup();
|
||||
void blit_osd();
|
||||
void *pdata; /* not yet used */
|
||||
void *pdata; /* not yet used */
|
||||
};
|
||||
|
||||
#endif // __GLFB_H__
|
||||
|
Reference in New Issue
Block a user