OSDN Git Service

Release GLRenderer when Display is disconnected.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 26 Feb 2017 03:24:12 +0000 (19:24 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 26 Feb 2017 04:32:36 +0000 (20:32 -0800)
commit9aceb73682048276fbdb014105c606177db1855e
tree2ab5a829e1c74d6b8d488c68fd20b7683b795ab3
parentcdddaa28980d8f7e8ae8edbab68a9721ca3399b9
Release GLRenderer when Display is disconnected.

We release all resources when display is disconnected but not
Renderer. This was causing EGL failures when display was connected
again.

Jira: None.
Test: Reconnecting monitor should not show errors like
      "libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in _eglCreateSync"

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