Changeset 220396 in webkit
- Timestamp:
- Aug 8, 2017 2:03:40 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r220395 r220396 1 2017-08-08 Zan Dobersek <zdobersek@igalia.com> 2 3 Unreviewed. Follow-up to r220392 that fixes build on configurations 4 that disable USE(GSTREAMER_GL). 5 6 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: 7 (WebCore::MediaPlayerPrivateGStreamerBase::pushTextureToCompositor): 8 When creating the BitmapTextureGL object, also provide an initialized 9 TextureMapperContextAttributes object. 10 1 11 2017-08-08 Zan Dobersek <zdobersek@igalia.com> 2 12 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
r220058 r220396 102 102 #include "BitmapTextureGL.h" 103 103 #include "BitmapTexturePool.h" 104 #include "TextureMapperContextAttributes.h" 104 105 #include "TextureMapperGL.h" 105 106 #include "TextureMapperPlatformLayerBuffer.h" … … 612 613 m_context3D = GraphicsContext3D::create(GraphicsContext3DAttributes(), nullptr, GraphicsContext3D::RenderToCurrentGLContext); 613 614 614 auto texture = BitmapTextureGL::create(*m_context3D); 615 TextureMapperContextAttributes contextAttributes; 616 contextAttributes.initialize(); 617 618 auto texture = BitmapTextureGL::create(contextAttributes, *m_context3D); 615 619 texture->reset(size, GST_VIDEO_INFO_HAS_ALPHA(&videoInfo) ? BitmapTexture::SupportsAlpha : BitmapTexture::NoFlag); 616 620 buffer = std::make_unique<TextureMapperPlatformLayerBuffer>(WTFMove(texture));
Note: See TracChangeset
for help on using the changeset viewer.