Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/qglpixelbuffer_p.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    6161#include <private/qglpaintdevice_p.h>
    6262
    63 #if defined(Q_WS_X11) && !defined(QT_OPENGL_ES)
     63#if defined(Q_WS_X11) && defined(QT_NO_EGL)
    6464#include <GL/glx.h>
    6565
     
    128128#elif defined(Q_WS_WIN)
    129129DECLARE_HANDLE(HPBUFFERARB);
    130 #elif defined(QT_OPENGL_ES_2)
    131 #include <EGL/egl.h>
    132 #elif defined(QT_OPENGL_ES)
    133 #include <GLES/egl.h>
     130#elif !defined(QT_NO_EGL)
     131#include <QtGui/private/qegl_p.h>
    134132#endif
    135133QT_END_INCLUDE_NAMESPACE
     
    175173    QSize req_size;
    176174
    177 #if defined(Q_WS_X11) && !defined(QT_OPENGL_ES)
     175#if defined(Q_WS_X11) && defined(QT_NO_EGL)
    178176    GLXPbuffer pbuf;
    179177    GLXContext ctx;
     
    196194#  endif
    197195#endif
    198 #if defined(QT_OPENGL_ES)
     196#ifndef QT_NO_EGL
    199197    EGLSurface pbuf;
    200198    QEglContext *ctx;
Note: See TracChangeset for help on using the changeset viewer.