DevTools: Utilize WebGL to draw flamechart bars.
This speeds up bars drawing by an order of magnitude as all the work is delegated to the GPU. Vertex layout is performed once when model is loaded or when groups are expanded/collapsed. The actual drawing caused by zooming and panning the flamechart just modifies the transformation matrices. Titles and custom decorations are still drawn on the overlay 2D canvas. The WebGL mode is currently put behind an experiment. BUG=874116 Change-Id: I5984db2769d8ed5317b630bd705ab8447baa9358 Reviewed-on: https://chromium-review.googlesource.com/1174861 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by:Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#583025}
Showing
This diff is collapsed.
Please register or sign in to comment