Lines Matching refs:dirty
585 SkRect dirty; in draw() local
586 mDamageAccumulator.finish(&dirty); in draw()
599 if (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw()) { in draw()
634 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
636 ATRACE_FORMAT("Drawing " RECT_STRING, SK_RECT_ARGS(dirty)); in draw()
643 frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, mContentDrawBounds, in draw()
1074 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
1077 dirty->setEmpty(); in computeDirtyRect()
1082 dirty->setEmpty(); in computeDirtyRect()
1084 … if (!dirty->isEmpty() && !dirty->intersect(SkRect::MakeIWH(frame.width(), frame.height()))) { in computeDirtyRect()
1085 ALOGW("Dirty " RECT_STRING " doesn't intersect with 0 0 %d %d ?", SK_RECT_ARGS(*dirty), in computeDirtyRect()
1087 dirty->setEmpty(); in computeDirtyRect()
1089 profiler().unionDirty(dirty); in computeDirtyRect()
1092 if (dirty->isEmpty()) { in computeDirtyRect()
1093 dirty->setIWH(frame.width(), frame.height()); in computeDirtyRect()
1094 return *dirty; in computeDirtyRect()
1100 SkRect windowDirty(*dirty); in computeDirtyRect()
1110 dirty->setIWH(frame.width(), frame.height()); in computeDirtyRect()
1117 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()