Changeset 206863 in webkit
- Timestamp:
- Oct 6, 2016 6:07:56 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206862 r206863 1 2016-10-06 Miguel Gomez <magomez@igalia.com> 2 3 [GTK] Fix build with GSTREAMER_GL enabled and ACCELERATED_2D_CANVAS disabled 4 https://bugs.webkit.org/show_bug.cgi?id=163008 5 6 Reviewed by Carlos Garcia Campos. 7 8 Put functions using cairo-gl behind appropriate guards. 9 10 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: 11 (WebCore::MediaPlayerPrivateGStreamerBase::paintToCairoSurface): Deleted. 12 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h: 13 1 14 2016-10-06 Miguel Gomez <magomez@igalia.com> 2 15 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
r206862 r206863 714 714 715 715 #if USE(GSTREAMER_GL) 716 #if USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) 716 717 // This should be called with the sample mutex locked. 717 718 GLContext* MediaPlayerPrivateGStreamerBase::prepareContextForCairoPaint(GstVideoInfo& videoInfo, IntSize& size, IntSize& rotatedSize) … … 780 781 return true; 781 782 } 783 #endif // USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) 782 784 783 785 bool MediaPlayerPrivateGStreamerBase::copyVideoTextureToPlatformTexture(GraphicsContext3D* context, Platform3DObject outputTexture, GC3Denum outputTarget, GC3Dint level, GC3Denum internalFormat, GC3Denum format, GC3Denum type, bool premultiplyAlpha, bool flipY) -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h
r206862 r206863 134 134 GstElement* createGLAppSink(); 135 135 GstElement* createVideoSinkGL(); 136 #if USE(CAIRO) && ENABLE(ACCELERATED_2D_CANVAS) 136 137 GLContext* prepareContextForCairoPaint(GstVideoInfo&, IntSize&, IntSize&); 137 138 bool paintToCairoSurface(cairo_surface_t*, cairo_device_t*, GstVideoInfo&, const IntSize&, const IntSize&, bool); 139 #endif 138 140 #endif 139 141
Note: See TracChangeset
for help on using the changeset viewer.