Merge "Add damage rect trace point"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c6efb5d143
@@ -510,6 +510,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()));
|
||||
|
||||
Reference in New Issue
Block a user