Title: [203727] trunk/Source/WebKit2
Revision
203727
Author
[email protected]
Date
2016-07-26 10:26:28 -0700 (Tue, 26 Jul 2016)

Log Message

[Threaded Compositor] ASSERTION FAILED: canAccessThreadLocalDataForThread(m_thread) after r203718
https://bugs.webkit.org/show_bug.cgi?id=160201

Reviewed by Michael Catanzaro.

I forgot to call purgeGLResources() before invalidating the scene in the compositing thread.

* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::invalidate):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (203726 => 203727)


--- trunk/Source/WebKit2/ChangeLog	2016-07-26 17:13:38 UTC (rev 203726)
+++ trunk/Source/WebKit2/ChangeLog	2016-07-26 17:26:28 UTC (rev 203727)
@@ -1,3 +1,15 @@
+2016-07-26  Carlos Garcia Campos  <[email protected]>
+
+        [Threaded Compositor] ASSERTION FAILED: canAccessThreadLocalDataForThread(m_thread) after r203718
+        https://bugs.webkit.org/show_bug.cgi?id=160201
+
+        Reviewed by Michael Catanzaro.
+
+        I forgot to call purgeGLResources() before invalidating the scene in the compositing thread.
+
+        * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
+        (WebKit::ThreadedCompositor::invalidate):
+
 2016-07-26  Enrica Casucci  <[email protected]>
 
         Support configurable autocapitalization.

Modified: trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp (203726 => 203727)


--- trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp	2016-07-26 17:13:38 UTC (rev 203726)
+++ trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp	2016-07-26 17:26:28 UTC (rev 203727)
@@ -66,6 +66,7 @@
     m_scene->detach();
     m_compositingRunLoop->stopUpdateTimer();
     m_compositingRunLoop->performTaskSync([this, protectedThis = makeRef(*this)] {
+        m_scene->purgeGLResources();
         m_context = nullptr;
         m_scene = nullptr;
         m_viewportController = nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to