[Webkit-unassigned] [Bug 142345] REGRESSION(r180924): ASSERTION FAILED: !from.isEmpty() in WebCore::TransformationMatrix::rectToRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 10:42:32 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=142345

--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #4)
> Comment on attachment 247954 [details]
> Patch
> 
> Okay. This is my suggestion for how to make this order independent:
> 
> 1. In LayerTreeHostGtk::initialize, exit early if there is no contextID yet,
> but set a new boolean m_needsLazyInitialization to true.
> 2. In LayerTreeHostGtk::setNativeSurfaceHandleForCompositing, if
> m_needsLazyInitialization is true, call ::initialize.
> 3. Keep the rest of the code in the same position.
> 
> Hopefully, the issue with LayerTreeHostGtk::compositeLayersToContext will
> disappear because the first call to scheduleLayerFlush won't happen until
> ::initialize doesn't return early.

This is not possible, when the drawing area creates the LayerTreeHost it expects it to be initialized, because the initialize method is called from the ::create(). What would be do in LayerTreeHostGtk::setRootCompositingLayer() for example if we are not initialized yet? Do we need to check it on every single method?.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150305/2f2bbde0/attachment-0002.html>


More information about the webkit-unassigned mailing list