Title: [220396] trunk/Source/WebCore
- Revision
- 220396
- Author
- zandober...@gmail.com
- Date
- 2017-08-08 02:03:40 -0700 (Tue, 08 Aug 2017)
Log Message
Unreviewed. Follow-up to r220392 that fixes build on configurations
that disable USE(GSTREAMER_GL).
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::pushTextureToCompositor):
When creating the BitmapTextureGL object, also provide an initialized
TextureMapperContextAttributes object.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (220395 => 220396)
--- trunk/Source/WebCore/ChangeLog 2017-08-08 08:36:38 UTC (rev 220395)
+++ trunk/Source/WebCore/ChangeLog 2017-08-08 09:03:40 UTC (rev 220396)
@@ -1,5 +1,15 @@
2017-08-08 Zan Dobersek <zdober...@igalia.com>
+ Unreviewed. Follow-up to r220392 that fixes build on configurations
+ that disable USE(GSTREAMER_GL).
+
+ * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
+ (WebCore::MediaPlayerPrivateGStreamerBase::pushTextureToCompositor):
+ When creating the BitmapTextureGL object, also provide an initialized
+ TextureMapperContextAttributes object.
+
+2017-08-08 Zan Dobersek <zdober...@igalia.com>
+
[TexMap] Group GL header file inclusions in a single header file
https://bugs.webkit.org/show_bug.cgi?id=175313
Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (220395 => 220396)
--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2017-08-08 08:36:38 UTC (rev 220395)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp 2017-08-08 09:03:40 UTC (rev 220396)
@@ -101,6 +101,7 @@
#if USE(TEXTURE_MAPPER_GL)
#include "BitmapTextureGL.h"
#include "BitmapTexturePool.h"
+#include "TextureMapperContextAttributes.h"
#include "TextureMapperGL.h"
#include "TextureMapperPlatformLayerBuffer.h"
#if USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS)
@@ -611,7 +612,10 @@
if (UNLIKELY(!m_context3D))
m_context3D = GraphicsContext3D::create(GraphicsContext3DAttributes(), nullptr, GraphicsContext3D::RenderToCurrentGLContext);
- auto texture = BitmapTextureGL::create(*m_context3D);
+ TextureMapperContextAttributes contextAttributes;
+ contextAttributes.initialize();
+
+ auto texture = BitmapTextureGL::create(contextAttributes, *m_context3D);
texture->reset(size, GST_VIDEO_INFO_HAS_ALPHA(&videoInfo) ? BitmapTexture::SupportsAlpha : BitmapTexture::NoFlag);
buffer = std::make_unique<TextureMapperPlatformLayerBuffer>(WTFMove(texture));
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes