mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
implement getWidth4FB_HW_ACC in fb_accel class
This helper to determine alignment for hardware blitting is now in
system/helpers.h, where it does not really belong. Put it into the
framebuffer class instead. Framebuffers that don't need it will just
get a dummy function, the cs_hd2 framebuffer gets the real thing.
Also add a bool function that indicates the need for alignment.
Origin commit data
------------------
Branch: ni/coolstream
Commit: b6909fb815
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-14 (Tue, 14 Feb 2017)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
248fd86b6a
commit
ddb457bc90
@@ -127,6 +127,8 @@ class CFbAccelCSHD2
|
||||
void blitBox2FB(const fb_pixel_t* boxBuf, uint32_t width, uint32_t height, uint32_t xoff, uint32_t yoff);
|
||||
void setBlendMode(uint8_t);
|
||||
void setBlendLevel(int);
|
||||
uint32_t getWidth4FB_HW_ACC(const uint32_t x, const uint32_t w, const bool max=true);
|
||||
bool needAlign4Blit() { return true; };
|
||||
};
|
||||
|
||||
class CFbAccelGLFB
|
||||
|
Reference in New Issue
Block a user