Title: [229022] trunk/Source/WebCore
Revision
229022
Author
[email protected]
Date
2018-02-26 06:34:41 -0800 (Mon, 26 Feb 2018)

Log Message

Unreviewed, manual rollout of r228866 causing EGL_BAD_CONTEXT errors

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::ensureGstGLContext):
Create an EGL display, even in Wayland.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (229021 => 229022)


--- trunk/Source/WebCore/ChangeLog	2018-02-26 14:19:33 UTC (rev 229021)
+++ trunk/Source/WebCore/ChangeLog	2018-02-26 14:34:41 UTC (rev 229022)
@@ -1,3 +1,11 @@
+2018-02-26  Philippe Normand  <[email protected]>
+
+        Unreviewed, manual rollout of r228866 causing EGL_BAD_CONTEXT errors
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+        (WebCore::MediaPlayerPrivateGStreamerBase::ensureGstGLContext):
+        Create an EGL display, even in Wayland.
+
 2018-02-21  Sergio Villar Senin  <[email protected]>
 
         [WebVR][OpenVR] Retrieve displayId and the z-depth of eye view frustum

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (229021 => 229022)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp	2018-02-26 14:19:33 UTC (rev 229021)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp	2018-02-26 14:34:41 UTC (rev 229022)
@@ -468,9 +468,9 @@
         if (is<PlatformDisplayWayland>(sharedDisplay)) {
             GST_DEBUG("Creating Wayland shared display");
             if (shouldAdoptRef)
-                m_glDisplay = adoptGRef(GST_GL_DISPLAY(gst_gl_display_wayland_new_with_display(downcast<PlatformDisplayWayland>(sharedDisplay).native())));
+                m_glDisplay = adoptGRef(GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayWayland>(sharedDisplay).eglDisplay())));
             else
-                m_glDisplay = GST_GL_DISPLAY(gst_gl_display_wayland_new_with_display(downcast<PlatformDisplayWayland>(sharedDisplay).native()));
+                m_glDisplay = GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast<PlatformDisplayWayland>(sharedDisplay).eglDisplay()));
         }
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to