src/gui/embedded/qscreen_qws.cpp
changeset 7 f7bc934e204c
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
  2737                 spanData.rasterBuffer->compositionMode = QPainter::CompositionMode_Source;
  2737                 spanData.rasterBuffer->compositionMode = QPainter::CompositionMode_Source;
  2738                 break;
  2738                 break;
  2739             default:
  2739             default:
  2740                 break;
  2740                 break;
  2741             }
  2741             }
  2742             spanData.setup(qwsServer->backgroundBrush(), 256, QPainter::CompositionMode_SourceOver);
  2742             spanData.setup(qwsServer->backgroundBrush(), 256, QPainter::CompositionMode_Source);
  2743             spanData.dx = off.x();
  2743             spanData.dx = off.x();
  2744             spanData.dy = off.y();
  2744             spanData.dy = off.y();
  2745         } else if (!surface->isBuffered()) {
  2745         } else if (!surface->isBuffered()) {
  2746                 return;
  2746                 return;
  2747         } else {
  2747         } else {
  3148     return -1;
  3148     return -1;
  3149 }
  3149 }
  3150 
  3150 
  3151 #if 0
  3151 #if 0
  3152 #ifdef QT_LOADABLE_MODULES
  3152 #ifdef QT_LOADABLE_MODULES
       
  3153 #include <dlfcn.h>
  3153 
  3154 
  3154 // ### needs update after driver init changes
  3155 // ### needs update after driver init changes
  3155 
  3156 
  3156 static QScreen * qt_dodriver(char * driver,char * a,unsigned char * b)
  3157 static QScreen * qt_dodriver(char * driver,char * a,unsigned char * b)
  3157 
  3158