[Webkit-unassigned] [Bug 86410] [texmap][GStreamer] Composited Video support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 02:27:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86410


Zhao, Halley <halley.zhao at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |halley.zhao at intel.com




--- Comment #46 from Zhao, Halley <halley.zhao at intel.com>  2012-10-26 02:28:13 PST ---
I just start to look at webkit, please correct me if there is any misunderstanding.
here are some concern from me for the patch:

1. paint video to graphics layer by drawTexture() is heavy
I expect (and think it is) that video is the only RenderObject in a graphics layer, even NOT share the same graphics layer with player controls; otherwise we composite each video frame twice. one is in the backing surface of graphics layer, another is for final compositing of each graphics layer.
compositing includes glClear/drawTexture/swapBuffer, it is really heavy.
how about the following suggestion:
set video texture to graphics layer by bindSurface() and skip (or do nothing) in beginPainting/endPainting/drawTexture
I had thought to use cairo gl surface for video before, since sw path of gtk/efl uses cairo. do you think it is possible to create a simple graphics layer with one texture only(without the complexity of TextureMapper)?

2. There is both ::paint and ::paintToTextureMapper in MediaPlayerPrivateGStreamer, they may conflict
I don’t know where ::paint inherits from, but when TextureMapperPlatformLayer is used, should we avoid inherit the interface introduce ::paint function.
should we only use ::paint in sw path and ::paintToTextureMapper in ACCELERATED_COMPOSITING path?

3. Create an empty video texture (m_texture), then upload video data to this texture introduce data copy
I’d like create texture from existing native image like: glEGLImageTargetTexture2DOES() from an existing EGLImage
how could I configure webkit to use EGL/GLES instead of GLX/GL? for Qt port, it may decided inside qt. I cares more for gtk/efl port.

thanks

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list