Lines Matching refs:dirty
434 SkRect dirty; in draw() local
435 mDamageAccumulator.finish(&dirty); in draw()
437 if (dirty.isEmpty() && Properties::skipEmptyFrames && !surfaceRequiresRedraw()) { in draw()
447 SkRect windowDirty = computeDirtyRect(frame, &dirty); in draw()
449 bool drew = mRenderPipeline->draw(frame, windowDirty, dirty, mLightGeometry, &mLayerUpdateQueue, in draw()
689 SkRect CanvasContext::computeDirtyRect(const Frame& frame, SkRect* dirty) { in computeDirtyRect() argument
692 dirty->setEmpty(); in computeDirtyRect()
697 dirty->setEmpty(); in computeDirtyRect()
699 if (!dirty->isEmpty() && !dirty->intersect(0, 0, frame.width(), frame.height())) { in computeDirtyRect()
700 ALOGW("Dirty " RECT_STRING " doesn't intersect with 0 0 %d %d ?", SK_RECT_ARGS(*dirty), in computeDirtyRect()
702 dirty->setEmpty(); in computeDirtyRect()
704 profiler().unionDirty(dirty); in computeDirtyRect()
707 if (dirty->isEmpty()) { in computeDirtyRect()
708 dirty->set(0, 0, frame.width(), frame.height()); in computeDirtyRect()
714 SkRect windowDirty(*dirty); in computeDirtyRect()
724 dirty->set(0, 0, frame.width(), frame.height()); in computeDirtyRect()
731 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()