fb_accel: add accelerated framebuffer for Nevis GXA chips

Signed-off-by: M. Liebmann <git@tuxcode.de>
This commit is contained in:
Stefan Seyfried
2017-02-05 23:03:22 +01:00
committed by M. Liebmann
parent ecb6531fd7
commit 0e63e5df3d
5 changed files with 445 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ class CFrameBuffer : public sigc::trackable
int kd_mode;
struct vt_mode vt_mode;
bool active;
bool fb_no_check;
static void switch_signal (int);
fb_fix_screeninfo fix;
bool locked;
@@ -183,6 +184,10 @@ class CFrameBuffer : public sigc::trackable
bool getActive() const; // is framebuffer active?
void setActive(bool enable); // is framebuffer active?
#ifdef USE_NEVIS_GXA
virtual void setupGXA() {};
virtual void add_gxa_sync_marker() {};
#endif
void setTransparency( int tr = 0 );
virtual void setBlendMode(uint8_t mode = 1);
@@ -296,7 +301,6 @@ class CFrameBuffer : public sigc::trackable
typedef std::vector<fb_area_t> v_fbarea_t;
typedef v_fbarea_t::iterator fbarea_iterator_t;
v_fbarea_t v_fbarea;
bool fb_no_check;
bool do_paint_mute_icon;
bool _checkFbArea(int _x, int _y, int _dx, int _dy, bool prev);