Merge branch 'next' of coolstreamtech.de:cst-private-neutrino into next

This commit is contained in:
[CST] Bas
2013-01-29 01:21:50 +08:00
20 changed files with 156 additions and 125 deletions

View File

@@ -88,10 +88,11 @@ void COSDFader::Stop()
{
if ( fadeIn || fadeOut ) {
g_RCInput->killTimer(fadeTimer);
usleep(40000);
#ifdef BOXMODEL_APOLLO
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
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
frameBuffer->setBlendMode(1); // Global alpha multiplied with pixel alpha
#endif
fadeIn = fadeOut = false;
}

View File

@@ -543,7 +543,7 @@ void CFrameBuffer::setBlendLevel(int level)
if (ioctl(fd, FBIO_SETOPACITY, value))
printf("FBIO_SETOPACITY failed.\n");
#ifndef ISAPOLLO
#if 0
if(level == 100) // TODO: sucks.
usleep(20000);
#endif