Skip to content
Permalink
Browse files
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.

Canonical link: https://commits.webkit.org/198845@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
philn committed Feb 26, 2018
1 parent 1a3f965 commit 0b1afee464a18634e24fcb5f9dacacb1f54dc566
Showing with 10 additions and 2 deletions.
  1. +8 −0 Source/WebCore/ChangeLog
  2. +2 −2 Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
@@ -1,3 +1,11 @@
2018-02-26 Philippe Normand <pnormand@igalia.com>

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 <svillar@igalia.com>

[WebVR][OpenVR] Retrieve displayId and the z-depth of eye view frustum
@@ -468,9 +468,9 @@ bool MediaPlayerPrivateGStreamerBase::ensureGstGLContext()
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

0 comments on commit 0b1afee

Please sign in to comment.