mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fb_accel: add backend for GL framebuffer
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2498ebb314
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
6aef723484
commit
a553cc417a
@@ -134,4 +134,25 @@ class CFbAccelCSApollo
|
||||
void setBlendLevel(int);
|
||||
};
|
||||
|
||||
class CFbAccelGLFB
|
||||
: public OpenThreads::Thread, public CFbAccel
|
||||
{
|
||||
private:
|
||||
void run(void);
|
||||
void blit(void);
|
||||
void _blit(void);
|
||||
bool blit_thread;
|
||||
bool blit_pending;
|
||||
OpenThreads::Condition blit_cond;
|
||||
OpenThreads::Mutex blit_mutex;
|
||||
fb_pixel_t *backbuffer;
|
||||
public:
|
||||
CFbAccelGLFB();
|
||||
~CFbAccelGLFB();
|
||||
void init(const char * const);
|
||||
int setMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
|
||||
void blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff, uint32_t xp, uint32_t yp, bool transp);
|
||||
fb_pixel_t * getBackBufferPointer() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user