src/gui/egl/qeglproperties_stub.cpp
changeset 30 5dc02b23752f
parent 23 89e065397ea6
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    41 
    41 
    42 #include <QtCore/qdebug.h>
    42 #include <QtCore/qdebug.h>
    43 #include <QtCore/qstringlist.h>
    43 #include <QtCore/qstringlist.h>
    44 
    44 
    45 #include "qeglproperties_p.h"
    45 #include "qeglproperties_p.h"
       
    46 #include "qeglcontext_p.h"
    46 
    47 
    47 QT_BEGIN_NAMESPACE
    48 QT_BEGIN_NAMESPACE
    48 
    49 
    49 static void noegl(const char *fn)
    50 static void noegl(const char *fn)
    50 {
    51 {
    88     Q_UNUSED(name)
    89     Q_UNUSED(name)
    89     NOEGL
    90     NOEGL
    90     return false;
    91     return false;
    91 }
    92 }
    92 
    93 
       
    94 void QEglProperties::setDeviceType(int devType)
       
    95 {
       
    96     Q_UNUSED(devType)
       
    97     NOEGL
       
    98 }
       
    99 
       
   100 
    93 // Sets the red, green, blue, and alpha sizes based on a pixel format.
   101 // Sets the red, green, blue, and alpha sizes based on a pixel format.
    94 // Normally used to match a configuration request to the screen format.
   102 // Normally used to match a configuration request to the screen format.
    95 void QEglProperties::setPixelFormat(QImage::Format pixelFormat)
   103 void QEglProperties::setPixelFormat(QImage::Format pixelFormat)
    96 {
   104 {
    97     Q_UNUSED(pixelFormat)
   105     Q_UNUSED(pixelFormat)
   113 {
   121 {
   114     NOEGL
   122     NOEGL
   115     return false;
   123     return false;
   116 }
   124 }
   117 
   125 
       
   126 static void addTag(QString& str, const QString& tag)
       
   127 {
       
   128     Q_UNUSED(str)
       
   129     Q_UNUSED(tag)
       
   130     NOEGL
       
   131 }
       
   132 
   118 // Convert a property list to a string suitable for debug output.
   133 // Convert a property list to a string suitable for debug output.
   119 QString QEglProperties::toString() const
   134 QString QEglProperties::toString() const
   120 {
   135 {
   121     NOEGL
   136     NOEGL
   122     return QString();
   137     return QString();
   126 {
   141 {
   127     Q_UNUSED(dev)
   142     Q_UNUSED(dev)
   128     NOEGL
   143     NOEGL
   129 }
   144 }
   130 
   145 
   131 void QEglProperties::dumpAllConfigs()
       
   132 {
       
   133     NOEGL
       
   134 }
       
   135 
       
   136 QT_END_NAMESPACE
   146 QT_END_NAMESPACE
   137 
   147 
   138 
   148