[Webkit-unassigned] [Bug 90019] [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 19 16:54:21 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=90019
--- Comment #14 from Dana Jansens <danakj at chromium.org> 2012-07-19 16:54:19 PST ---
(From update of attachment 152358)
View in context: https://bugs.webkit.org/attachment.cgi?id=152358&action=review
>>> Source/WebCore/platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:-98
>>> - SkPictureCanvasLayerTextureUpdater::prepareToUpdate(contentRect, tileSize, contentsWidthScale, contentsHeightScale, resultingOpaqueRect);
>>
>> I think this class' prepareRect time spent in updater->paintContentsRect should increment timePainting. While you're at it, add a timeSpentRasterizing property to the stats that is separate that we bump when this class does drawPicture, lower in the file.
>
> Done. When I tested this, it doesn't go through BitmapSkPictureCanvasLayerTextureUpdater::prepareToUpdate at all. Are there chrome://flags that I should enable? And what should timeSpentRasterizing do when it's not enabled? Right now it just says 0.
--enable-per-tile-painting
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list