src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
changeset 7 f7bc934e204c
parent 0 1918ee327afb
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 plugins of the Qt Toolkit.
     7 ** This file is part of the plugins of the Qt Toolkit.
     8 **
     8 **
    95     IDirectFBSurface *directFBSurface() const;
    95     IDirectFBSurface *directFBSurface() const;
    96 #ifdef QT_DIRECTFB_WM
    96 #ifdef QT_DIRECTFB_WM
    97     IDirectFBWindow *directFBWindow() const;
    97     IDirectFBWindow *directFBWindow() const;
    98 #endif
    98 #endif
    99 private:
    99 private:
       
   100     void updateIsOpaque();
   100     void setOpaque(bool opaque);
   101     void setOpaque(bool opaque);
   101     void updateFormat();
       
   102     void releaseSurface();
   102     void releaseSurface();
   103     QDirectFBWindowSurface *sibling;
   103     QDirectFBWindowSurface *sibling;
   104 
   104 
   105 #ifdef QT_DIRECTFB_WM
   105 #ifdef QT_DIRECTFB_WM
   106     void createWindow(const QRect &rect);
   106     void createWindow(const QRect &rect);
   111         Offscreen
   111         Offscreen
   112     } mode;
   112     } mode;
   113 #endif
   113 #endif
   114 
   114 
   115     DFBSurfaceFlipFlags flipFlags;
   115     DFBSurfaceFlipFlags flipFlags;
   116     bool noSystemBackground;
       
   117     bool boundingRectFlip;
   116     bool boundingRectFlip;
       
   117     bool flushPending;
   118 #ifdef QT_DIRECTFB_TIMING
   118 #ifdef QT_DIRECTFB_TIMING
   119     int frames;
   119     int frames;
   120     QTime timer;
   120     QTime timer;
   121 #endif
   121 #endif
   122 };
   122 };