We're spending too much in BeginDrawing, in some case as much time as we spend drawing. We need to get this call in the sub millisecond range.
(In reply to Benoit Girard (:BenWa) from comment #0) > We're spending too much in BeginDrawing, in some case as much time as we > spend drawing. We need to get this call in the sub millisecond range. FWIW, we only spend a long time some of the time.
https://hg.mozilla.org/projects/maple/rev/ce31a3b140a2 removes the transaction lock from beginDrawing/endDrawing so this should be faster now.
I don't think we should break for a specific performance problem is we think performance is good enough to land. Jeff already has a patch underway to address this.
We're pretty sure this is gone, and we'll reopen if necessary.
This is not yet finished.
Created attachment 605565 [details] [diff] [review] WIP This WIP compiles (last time I checked) but doesn't run yet because the drawBackground() function in LayerRenderer.java calls rootLayer.getBounds which will need to be replaced with a display port coming in from the compositor.