12013-06-07 Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
2
3 [GStreamer] [texmap] upload a video buffer into the video texture
4 https://bugs.webkit.org/show_bug.cgi?id=116042
5
6 Reviewed by NOBODY (OOPS!).
7
8 Handle the new buffer's metadata available in GStreamer 1.2 for
9 uploading buffers into a texture.
10
11 If the decoder provides buffers with this metadata, the buffer will be
12 uploaded into the texture used for the video display and it will be
13 rendered, avoiding a expensive mem copies. This is particularly useful
14 for Full HD videos, where all the processing and display will be done
15 in the GPU.
16
17 No new tests, covered by existing tests.
18
19 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
20 (WebCore::MediaPlayerPrivateGStreamerBase::MediaPlayerPrivateGStreamerBase):
21 (WebCore::MediaPlayerPrivateGStreamerBase::updateTexture):
22 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.h:
23 * platform/graphics/gstreamer/VideoSinkGStreamer.cpp:
24 (webkitVideoSinkProposeAllocation):
25