Fix EGLConfig for shared video platform surface 19/3319/1
authorZhao Halley <halley.zhao@intel.com>
Thu, 11 Apr 2013 07:26:18 +0000 (15:26 +0800)
committerZhao Halley <halley.zhao@intel.com>
Fri, 12 Apr 2013 10:00:58 +0000 (18:00 +0800)
commit95bb99ece15d624ddb797cd12e2cea4bb0eeaf4d
tree46fca909e5e5fbc85725d6285bf30be1e1306825
parent8ce868535c3bb3f83cf0bec21aec03b6d1a7a228
Fix EGLConfig for shared video platform surface

[Title] Fix EGLConfig for shared video platform surface
[Issue#] https://bugs.tizen.org/jira/browse/TIVI-436
[Problem] EGLConfig fails on MESA egl
[Cause] Strict EGLConfig isn't necessary for video Pixmap surface
[Solution] drop unnecessary EGLConfig:
    remove EGL_MATCH_FORMAT_KHR/EGL_FORMAT_RGBA_8888_EXACT_KHR
        MESA egl doesn't implement EGL_MATCH_FORMAT_KHR feature.
        Anyway, I don't think it's important for video case;
        because Pixmap is native content, its format depends on
        gfx driver and matches with gfx driver.
    remove EGL_SURFACE_TYPE/EGL_LOCK_SURFACE_BIT_KHR
        EGL_LOCK_SURFACE_BIT_KHR is not necessary.
        since video has dedicate graphics layer, there is no
        CPU operation on it in hw accelerated video path
Source/WebCore/platform/graphics/gstreamer/SharedVideoPlatformSurfaceTizen.cpp