[PATCH] egl: move Null check to eglGetSyncAttribKHR to prevent Segfault

2016-02-02 Thread Dongwon Kim
ttribKHR to avoid any possible segfaults. Signed-off-by: Dongwon Kim --- src/egl/main/eglapi.c | 10 -- src/egl/main/eglsync.c | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 323634e..32f6823 100644 --- a/src/egl/ma

[PATCH] egl, wayland: RGB565 format support on Back-buffer

2015-02-03 Thread Dongwon Kim
dy Signed-off-by: Dongwon Kim --- src/egl/drivers/dri2/platform_wayland.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 3c34e07..78761e2 100644 --- a/src/egl/dr

[PATCH] Wrong bo handles can be referenced in func call, drmModeAddFB2 due to uninitialized array elements in handles[4]

2014-04-28 Thread Dongwon Kim
rror saying "invalid bo from userspace" if the handle doesn't exist or returns wrong resource if it exists but is not for the current task. Signed-off-by: Dongwon Kim --- src/compositor-drm.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compositor