⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243538 in webkit


Ignore:
Timestamp:
Mar 27, 2019, 5:14:07 AM (7 years ago)
Author:
Philippe Normand
Message:

Build failure with gstreamer 1.12.5 if USE_GSTREAMER_GL is enabled
https://bugs.webkit.org/show_bug.cgi?id=196178

Reviewed by Xabier Rodriguez-Calvar.

The gst/gl/gl.h header needs to be included before
GraphicsContext3D.h to avoid declaration conflicts with
OpenGLShims.

Based on a patch from Mike Gorse <mgorse@suse.com>

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:

(WebCore::GstVideoFrameHolder::GstVideoFrameHolder):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r243537 r243538  
     12019-03-27  Philippe Normand  <pnormand@igalia.com>
     2
     3        Build failure with gstreamer 1.12.5 if USE_GSTREAMER_GL is enabled
     4        https://bugs.webkit.org/show_bug.cgi?id=196178
     5
     6        Reviewed by Xabier Rodriguez-Calvar.
     7
     8        The gst/gl/gl.h header needs to be included before
     9        GraphicsContext3D.h to avoid declaration conflicts with
     10        OpenGLShims.
     11
     12        Based on a patch from Mike Gorse <mgorse@suse.com>
     13
     14        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
     15        (WebCore::GstVideoFrameHolder::GstVideoFrameHolder):
     16
    1172019-03-27  Philippe Normand  <pnormand@igalia.com>
    218
  • trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp

    r243497 r243538  
    3030#include "GStreamerCommon.h"
    3131#include "GraphicsContext.h"
    32 #include "GraphicsContext3D.h"
    3332#include "ImageGStreamer.h"
    3433#include "ImageOrientation.h"
     
    119118#include "BitmapTextureGL.h"
    120119#include "BitmapTexturePool.h"
     120#include "GraphicsContext3D.h"
    121121#include "TextureMapperContextAttributes.h"
    122122#include "TextureMapperGL.h"
     
    193193                m_textureID = *reinterpret_cast<GLuint*>(m_videoFrame.data[0]);
    194194        } else
     195#else
     196        UNUSED_PARAM(flags);
     197        UNUSED_PARAM(gstGLEnabled);
    195198#endif // USE(GSTREAMER_GL)
    196199
Note: See TracChangeset for help on using the changeset viewer.