fix the render part

Change-Id: I92f60d706408acefd763f0f80af5fa3398e667d4
fix wrong access to array

Change-Id: I3298bd15260b2cbfd9a74024504d982dc00f4137
add reverse image shader

Change-Id: Ibd3aff8aeb71626dada762b53cde8f50f7fbf812
add include guards

Change-Id: I42ba4a97de241637b36704958fcf7b32d308a8a1