intel / IA-Hardware-Composer

35 stars 81 forks source link

Force to create GL surface for ForceGpuForAllLayers #662

Closed Shao-Feng closed 4 years ago

Shao-Feng commented 5 years ago

If the first layer is video, a nativesurface will be created during ForceGpuForAllLayers. In ForceGpuForAllLayers, all surface should be GL surface.

Change-Id: I0cd48ee863329e64afab4c6497fd2f3d52485f50 Tests: Work well on LH 8 video case Tracked-On: None Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com

Shao-Feng commented 5 years ago

If we can use VPP for force-composing, this patch is not needed. Because we will not use ForceGpuForAllLayers when video layer is included