Add multiple texture rendering in TextureMapperGL 34/9034/1
authorZhao Halley <halley.zhao@intel.com>
Mon, 12 Aug 2013 03:18:12 +0000 (11:18 +0800)
committerZhao Halley <halley.zhao@intel.com>
Mon, 2 Sep 2013 02:39:37 +0000 (10:39 +0800)
commit43254009e0e5bc426c81149a2b1a46da3255a5a3
tree285ef05462f6b1f8fe0133f57ad906c8362352cd
parent2623999b75f01c0c34e8ab06d8ad8189bdb78075
Add multiple texture rendering in TextureMapperGL

wayland buffer (from video frame) can be respresented by multiple texture,
then RGB pixel value can be calcuated from YUV data on the fly by GL shader.
- add multiple texture rendering in TextureMapperGL
- add shader support to support NV12/Y_UV video format in TextureMapperShaderManager

Change-Id: I4a373e6e1c3f484c35cb01411a8edca5e9f39f10
Source/WebCore/platform/graphics/surfaces/wayland/GraphicsSurfaceWayland.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperGL.h
Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp
Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.h