mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
fix annoying gui flickering when fading is activated on nevis
Origin commit data
------------------
Branch: ni/coolstream
Commit: 80fbe7db4c
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2013-10-20 (Sun, 20 Oct 2013)
Origin message was:
------------------
- fix annoying gui flickering when fading is activated on nevis
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -89,8 +89,8 @@ void COSDFader::Stop()
|
|||||||
{
|
{
|
||||||
if ( fadeIn || fadeOut ) {
|
if ( fadeIn || fadeOut ) {
|
||||||
g_RCInput->killTimer(fadeTimer);
|
g_RCInput->killTimer(fadeTimer);
|
||||||
usleep(40000);
|
|
||||||
#ifdef BOXMODEL_APOLLO
|
#ifdef BOXMODEL_APOLLO
|
||||||
|
usleep(40000);
|
||||||
frameBuffer->setBlendMode(CNXTFB_BLEND_MODE_PER_PIXEL); // Global alpha multiplied with pixel alpha
|
frameBuffer->setBlendMode(CNXTFB_BLEND_MODE_PER_PIXEL); // Global alpha multiplied with pixel alpha
|
||||||
#else
|
#else
|
||||||
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
|
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
|
||||||
|
@@ -583,7 +583,7 @@ void CFrameBuffer::setBlendLevel(int level)
|
|||||||
|
|
||||||
if (ioctl(fd, FBIO_SETOPACITY, value))
|
if (ioctl(fd, FBIO_SETOPACITY, value))
|
||||||
printf("FBIO_SETOPACITY failed.\n");
|
printf("FBIO_SETOPACITY failed.\n");
|
||||||
#if 0
|
#ifndef ISAPOLLO
|
||||||
if(level == 100) // TODO: sucks.
|
if(level == 100) // TODO: sucks.
|
||||||
usleep(20000);
|
usleep(20000);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user