From: Jie Chen Date: Fri, 3 May 2013 07:33:06 +0000 (+0800) Subject: Fix the EGL_NON_CONFORMANT_CONFIG issue X-Git-Tag: submit/tizen_2.1/20130514.045449~52^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=667689b7c56563c986d251e214823a1d0a244162;p=framework%2Fweb%2Fwebkit-efl.git Fix the EGL_NON_CONFORMANT_CONFIG issue [Title] Fix the EGL_NON_CONFORMANT_CONFIG issue [Issue#] TDIS-5594 [Problem] webprocess crashes for some webgl test cases [Cause] EGL_NON_CONFORMANT_CONFIG is not available [Solution] use EGL_NONE instead --- diff --git a/Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp b/Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp index 054facd..5e76b59 100755 --- a/Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp +++ b/Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp @@ -192,7 +192,10 @@ bool PixmapContextTizen::initialize() else { configAttribs[i++] = 0; configAttribs[i++] = EGL_CONFIG_CAVEAT; - configAttribs[i++] = EGL_NON_CONFORMANT_CONFIG; + if (!strcmp(eglQueryString (m_display, EGL_VENDOR), "Imagination Technologies")) + configAttribs[i++] = EGL_NONE; + else + configAttribs[i++] = EGL_NON_CONFORMANT_CONFIG; } if (m_isLockable) {