Lines Matching refs:dirty
482 SkRect dirty; in draw() local
483 mDamageAccumulator.finish(&dirty); in draw()
486 (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw())) { in draw()
511 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
513 ATRACE_FORMAT("Drawing " RECT_STRING, SK_RECT_ARGS(dirty)); in draw()
524 drawResult = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, in draw()
937 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
940 dirty->setEmpty(); in computeDirtyRect()
945 dirty->setEmpty(); in computeDirtyRect()
947 … if (!dirty->isEmpty() && !dirty->intersect(SkRect::MakeIWH(frame.width(), frame.height()))) { in computeDirtyRect()
948 ALOGW("Dirty " RECT_STRING " doesn't intersect with 0 0 %d %d ?", SK_RECT_ARGS(*dirty), in computeDirtyRect()
950 dirty->setEmpty(); in computeDirtyRect()
952 profiler().unionDirty(dirty); in computeDirtyRect()
955 if (dirty->isEmpty()) { in computeDirtyRect()
956 dirty->setIWH(frame.width(), frame.height()); in computeDirtyRect()
962 SkRect windowDirty(*dirty); in computeDirtyRect()
972 dirty->setIWH(frame.width(), frame.height()); in computeDirtyRect()
979 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()