Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

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

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/qgl_p.h

    r651 r769  
    8181#endif //QT_OPENGL_ES_1_CL
    8282
    83 #ifdef QT_OPENGL_ES
     83#if defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2)
    8484QT_BEGIN_INCLUDE_NAMESPACE
     85
    8586#if defined(QT_OPENGL_ES_2)
    86 #include <EGL/egl.h>
     87#   include <GLES2/gl2.h>
     88#endif
     89
     90#if defined(QT_GLES_EGL)
     91#   include <GLES/egl.h>
    8792#else
    88 #include <GLES/egl.h>
    89 #endif
     93#   include <EGL/egl.h>
     94#endif
     95
    9096QT_END_INCLUDE_NAMESPACE
    9197#endif
     
    180186                       , eglSurfaceWindowId(0)
    181187#endif
    182         {}
     188    {
     189        isGLWidget = 1;
     190    }
    183191
    184192    ~QGLWidgetPrivate() {}
     
    539547    static QGLTextureCache *instance();
    540548    static void deleteIfEmpty();
    541     static void imageCleanupHook(qint64 cacheKey);
    542     static void cleanupTextures(QPixmapData* pixmap);
     549    static void cleanupTexturesForCacheKey(qint64 cacheKey);
     550    static void cleanupTexturesForPixampData(QPixmapData* pixmap);
    543551    static void cleanupBeforePixmapDestruction(QPixmapData* pixmap);
    544552
     
    571579
    572580// One resource per group of shared contexts.
    573 class Q_AUTOTEST_EXPORT QGLContextResource
     581class Q_OPENGL_EXPORT QGLContextResource
    574582{
    575583public:
Note: See TracChangeset for help on using the changeset viewer.