ecore-drm: Create drmEventContext Once during device open
authorChris Michael <cp.michael@samsung.com>
Tue, 7 Apr 2015 18:30:43 +0000 (14:30 -0400)
committerStefan Schmidt <s.schmidt@samsung.com>
Fri, 10 Apr 2015 09:09:50 +0000 (11:09 +0200)
commit3832cd59b8102b063fe65c7f0fe81626da285455
tree3b297abbdb1b8a35e4c8951b9f1941d7a2c4d73a
parente3440c4683143011f52e092eb722f4a8cabd454e
ecore-drm: Create drmEventContext Once during device open

Summary: This changes allows us to reuse the same drmEventContext once
so that when we get drm events, we are not constantly recreating the
drmEventContext.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/Ecore_Drm.h
src/lib/ecore_drm/ecore_drm_device.c