Add implmentation of chromakey for surface by shader program to LayerMangerPlugin
authorNobuhiko Tanibata <ntanibata@jp.adit-jv.com>
Thu, 26 Jul 2012 00:20:47 +0000 (09:20 +0900)
committerMichael Schuldt <michael.schuldt@bmw.de>
Wed, 12 Sep 2012 09:34:00 +0000 (11:34 +0200)
commit6724d78f8c2974b57b88a0e262788c5624275b38
treeaca292487c548da889f79280366e8052de3eecc8
parent7f6993127fbbcc455dc4b9521d691e326a596466
Add implmentation of chromakey for surface by shader program to LayerMangerPlugin

LayerManagerService:
-Add parameter of chromakey to ShaderProgram in order to set chromakey to shaders

X11GLESRenderer:
-renderer_frag_add_uchromakey. If chromakey and fragment color are same, the pixel is ignored.

GLESGraphicSystem:
-If chromakey is enabled, shader for chromakey is enabled.
LayerManagerPlugins/Renderers/Graphic/include/GraphicSystems/GLESGraphicSystem.h
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLESGraphicSystem.cpp
LayerManagerPlugins/Renderers/Platform/WaylandGLESRenderer/CMakeLists.txt
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/CMakeLists.txt
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/renderer_frag_add_uchromakey.glslf [new file with mode: 0644]
LayerManagerPlugins/Renderers/Platform/X11GLESRenderer/src/ShaderProgramGLES.cpp
LayerManagerService/include/ShaderProgram.h
LayerManagerService/src/shader/ShaderProgram.cpp