mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
framebuffer_ng: allow to choose blit mode on azbox
Origin commit data
------------------
Commit: ff46b6906d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-01 (Sun, 01 Sep 2013)
This commit is contained in:
@@ -808,8 +808,11 @@ void CFbAccel::blit()
|
||||
#define FBIO_BLIT 0x22
|
||||
#define FBIO_SET_MANUAL_BLIT _IOW('F', 0x21, __u8)
|
||||
#endif
|
||||
static bool azblit = getenv("AZBOX_MANUAL_BLIT") ? true : false;
|
||||
void CFbAccel::blit()
|
||||
{
|
||||
if (!azblit)
|
||||
return;
|
||||
// blit
|
||||
if (ioctl(fb->fd, FBIO_BLIT) < 0)
|
||||
perror("CFbAccel FBIO_BLIT");
|
||||
|
Reference in New Issue
Block a user