Changeset 128877 in webkit


Ignore:
Timestamp:
Sep 18, 2012 5:21:44 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix compilation with Qt 5 on MeeGo 1.2 Harmattan
https://bugs.webkit.org/show_bug.cgi?id=96937

Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-09-18
Reviewed by Jocelyn Turcotte.

The gl2ext.h header file on the platform is outdated. Instead use the newer copy from Qt
through implicit inclusion of qopengl.h. Since Qt's declarations are based on newer Khronos
headers, the multi sampling extensions do have the PROC suffix, we need the same workaround
as QNX.

  • platform/graphics/opengl/Extensions3DOpenGLES.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r128875 r128877  
     12012-09-18  Simon Hausmann  <simon.hausmann@digia.com>
     2
     3        Fix compilation with Qt 5 on MeeGo 1.2 Harmattan
     4        https://bugs.webkit.org/show_bug.cgi?id=96937
     5
     6        Reviewed by Jocelyn Turcotte.
     7
     8        The gl2ext.h header file on the platform is outdated. Instead use the newer copy from Qt
     9        through implicit inclusion of qopengl.h. Since Qt's declarations are based on newer Khronos
     10        headers, the multi sampling extensions do have the PROC suffix, we need the same workaround
     11        as QNX.
     12
     13        * platform/graphics/opengl/Extensions3DOpenGLES.h:
     14
    1152012-09-14  Andrey Kosyakov  <caseq@chromium.org>
    216
  • trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h

    r127251 r128877  
    3030#include "Extensions3DOpenGLCommon.h"
    3131
     32#if PLATFORM(QT)
     33// Takes care of declaring the GLES extensions.
     34#include <qopengl.h>
     35#else
    3236#include <GLES2/gl2.h>
    3337#include <GLES2/gl2ext.h>
     38#endif
    3439
    35 #if OS(QNX)
     40#if OS(QNX) || PLATFORM(QT)
    3641// See https://bugs.webkit.org/show_bug.cgi?id=91030.
     42// Newer Khorons headers do define these with a PROC suffix, but older headers don't.
    3743#define PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
    3844#define PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC
Note: See TracChangeset for help on using the changeset viewer.