Add damage rect trace point

Fixes: 199541917
Test: took a trace
Change-Id: I938f5ce895d8c55ec027606286e8a3989ecc55e6
This commit is contained in:
John Reck
2021-10-19 12:25:24 -04:00
parent b1635458d0
commit 8a1ddd7e75

View File

@@ -509,6 +509,8 @@ nsecs_t CanvasContext::draw() {
Frame frame = mRenderPipeline->getFrame();
SkRect windowDirty = computeDirtyRect(frame, &dirty);
ATRACE_FORMAT("Drawing " RECT_STRING, SK_RECT_ARGS(dirty));
bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue,
mContentDrawBounds, mOpaque, mLightInfo, mRenderNodes,
&(profiler()));