[Tizen-submit] 6729: Changes to Tizen/webkit2-efl

noreply at tizen.org noreply at tizen.org
Tue Jun 18 07:27:07 GMT 2013


Hi,
Rusty Lynch have made the following changes to webkit2-efl in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #6729

  submit:       Tizen:build/webkit2-efl(cleanup) -> Tizen


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: fix a webgl crasher
Git project: platform/framework/web/webkit-efl
Tag: submit/tizen/20130618.072753
Commit: 236a55b Update changelog

State:   new        2013-06-18T00:26:27 tizenrobot
Comment: <no comment>
changes files:
--------------
--- webkit2-efl.changes
+++ webkit2-efl.changes
@@ -0,0 +1,6 @@
+* Tue Jun 18 2013 Rusty Lynch <rusty.lynch at intel.com> accepted/tizen/20130615.025406 at 2ffb322
+- Fix crash with WebGL demos.
+- Fix enum values
+- Create Lock Surface only if supported.
+- Add Wayland dependencies.
+

spec files:
-----------
--- webkit2-efl.spec
+++ webkit2-efl.spec
@@ -4,7 +4,7 @@
 Summary: Webkit2 EFL
 Version: 123997_0.11.47
 Release: 1
-VCS:     platform/framework/web/webkit-efl#submit/tizen/20130614.221918-0-g8efc7da4e417ff23c56337846bcc543df87d4909
+VCS:     platform/framework/web/webkit-efl#submit/tizen/20130618.072753-0-g236a55b24c66c0d1185b59f4face00df9b40d025
 Group: Applications/Internet
 License: LGPLv2.1 or BSD
 Source0: %{name}-%{version}.tar.gz
@@ -75,6 +75,10 @@
 BuildRequires: pkgconfig(glesv20)
 %endif
 
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-client)
+BuildRequires: pkgconfig(wayland-egl)
+%endif
 
 %description
 Browser Engine based on Webkit2 EFL (Shared Library)

other changes:
--------------

++++++ webkit2-efl-123997_0.11.47.tar.gz
--- Source/WebCore/PlatformTizen.cmake
+++ Source/WebCore/PlatformTizen.cmake
@@ -38,6 +38,7 @@
 ELSEIF (WTF_PLATFORM_WAYLAND)
     LIST(APPEND WebCore_INCLUDE_DIRECTORIES
         "${WEBCORE_DIR}/platform/graphics/surfaces/wayland"
+        ${WAYLAND_INCLUDE_DIRS}
     )
 ENDIF ()
 
@@ -61,6 +62,12 @@
     ${feedback_LIBRARY}
 )
 
+IF (WTF_PLATFORM_WAYLAND)
+    LIST(APPEND WebCore_LIBRARIES
+        ${WAYLAND_LIBRARIES}
+   )
+ENDIF()
+
 LIST(APPEND WebCore_USER_AGENT_STYLE_SHEETS
     ${WEBCORE_DIR}/css/mediaControlsTizen.css
     ${WEBCORE_DIR}/css/mediaControlsTizenFullscreenHorizontal.css
--- Source/WebCore/platform/graphics/efl/tizen/GraphicsContext3DOffscreen.cpp
+++ Source/WebCore/platform/graphics/efl/tizen/GraphicsContext3DOffscreen.cpp
@@ -167,6 +167,9 @@
 #if ENABLE(TIZEN_WEBKIT2)
 #if ENABLE(TIZEN_WEBKIT2_TILED_AC_SHARED_PLATFORM_SURFACE)
     RefPtr<PlatformSurfaceInfo> newSurface = adoptRef(new PlatformSurfaceInfo(IntSize(1, 1), m_attributes.alpha, m_attributes.depth, m_attributes.stencil));
+    if (!newSurface->m_platformSurface)
+        return false;
+
     m_platformSurfaces.add(newSurface->m_platformSurface->id(), newSurface);
     m_currentPlatformSurface = newSurface->m_platformSurface.get();
 #else
@@ -460,8 +463,10 @@
     if (!newPlatformSurface) {
         if (m_platformSurfaces.size() < m_maxPlatformSurface) {
             RefPtr<PlatformSurfaceInfo> newSurface = adoptRef(new PlatformSurfaceInfo(IntSize(m_width, m_height), m_attributes.alpha, m_attributes.depth, m_attributes.stencil));
-            m_platformSurfaces.add(newSurface->m_platformSurface->id(), newSurface);
             newPlatformSurface = newSurface->m_platformSurface.get();
+
+            if (newPlatformSurface)
+                m_platformSurfaces.add(newSurface->m_platformSurface->id(), newSurface);
         }

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list