mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
fb_generic: add swidth variable, "stride in fb_pixel_t units"
this should allow to use fb_pixel_t pointer arithmetics more often
instead of byte pointers
Origin commit data
------------------
Commit: a6fc59ad6c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-15 (Wed, 15 Feb 2017)
This commit is contained in:
@@ -112,7 +112,7 @@ class CFrameBuffer : public sigc::trackable
|
||||
fb_pixel_t backgroundColor;
|
||||
std::string backgroundFilename;
|
||||
bool useBackgroundPaint;
|
||||
unsigned int xRes, yRes, stride, bpp;
|
||||
unsigned int xRes, yRes, stride, swidth, bpp;
|
||||
t_fb_var_screeninfo screeninfo;
|
||||
fb_cmap cmap;
|
||||
__u16 red[256], green[256], blue[256], trans[256];
|
||||
|
Reference in New Issue
Block a user