OSDN Git Service

Add OverlayLayer to NativeSurface.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 14 Feb 2017 08:14:13 +0000 (00:14 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 14 Feb 2017 23:16:06 +0000 (15:16 -0800)
commitdf0be37329eef4df89203f148e08ea46a4ef7544
treeb917e43876d13a53f823c91d820b6a69f700066a
parentd0863a43def465dd1ce146a0b3ca3986e5a5f341
Add OverlayLayer to NativeSurface.

Everytime we need to use NativeSurface as RenderTarget, we create
an OverlayLayer for it. Instead the surface can just initialize
one and layer can be queried from it.

Jira: None.
Test: No graphics regressions on Linux and Android.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
common/compositor/compositor.cpp
common/compositor/compositor.h
common/compositor/nativesurface.cpp
common/compositor/nativesurface.h