Home | History | Annotate | Download | only in jni

Lines Matching defs:working

461     for (Pictures* working = mPictures.begin(); working != mPictures.end(); working++) {
462 SkIRect currentArea = working->mArea.getBounds();
464 working - first,
467 working->mArea.isRect() ? 'Y' : 'N',
468 working->mBase ? 'Y' : 'N');
476 for (Pictures* working = first; working != last; working++) {
479 if (!working->mBase && working->mArea.intersects(inval))
481 if (working->mBase) {
482 SkIRect baseArea = working->mArea.getBounds();
490 SkIRect currentArea = working->mArea.getBounds();
491 if (working->mBase)
498 working - first,
501 working->mArea.isRect() ? 'Y' : 'N',
505 working->mArea.setEmpty();
506 SkSafeUnref(working->mPicture);
507 working->mPicture = 0;
545 for (Pictures* working = mPictures.begin(); working != mPictures.end(); working++) {
546 if (!working->mBase)
547 working->mArea.setEmpty();
548 SkSafeUnref(working->mPicture);
549 working->mPicture = 0;
555 for (Pictures* working = mPictures.begin(); working != mPictures.end(); working++) {
556 SkIRect currentArea = working->mArea.getBounds();
558 working - first,
561 working->mArea.isRect() ? 'Y' : 'N',
562 working->mBase ? 'Y' : 'N');
570 for (Pictures* working = first; working != last; working++) {
571 if (working && working->mArea.isEmpty())
573 *writer++ = *working;
580 for (Pictures* working = mPictures.begin(); working != mPictures.end(); working++) {
581 SkIRect currentArea = working->mArea.getBounds();
583 working - first,
586 working->mArea.isRect() ? 'Y' : 'N',
587 working->mBase ? 'Y' : 'N', working->mPicture);
598 for (Pictures* working = mPictures.begin(); working != last; working++) {
599 SkRegion& area = working->mArea;
601 if (drawn.contains(working->mArea) == false) {
602 working->mBase = true;
607 drawn.op(working->mArea, SkRegion::kUnion_Op);
687 for (Pictures* working = mPictures.begin(); working != last; working++) {
688 working->mArea.setEmpty();
689 SkSafeUnref(working->mPicture);
742 Pictures* working;
748 for (working = last; working != first; ) {
749 --working;
750 if (working->mArea.contains(irect)) {
752 const SkIRect& b = working->mArea.getBounds();
753 DBG_SET_LOGD("contains working->mArea={%d,%d,%d,%d}"
757 first = working;
764 for (working = first; working != last; working++) {
765 const SkRegion& area = working->mArea;
769 DBG_SET_LOGD("[%d] %p quickReject working->mArea={%d,%d,%d,%d}"
770 " irect={%d,%d,%d,%d}", working - first, working,
774 working->mElapsed = 0;
791 canvas->drawPicture(*working->mPicture);
792 size_t elapsed = working->mElapsed = getThreadMsec() - startTime;
793 working->mWroteElapsed = true;
800 SkColor color = 0x3f000000 | (0xffffff & (unsigned) working);
815 DBG_SET_LOGD("[%d] %p working->mArea={%d,%d,%d,%d} elapsed=%d base=%s",
816 working - first, working,
819 working->mElapsed, working->mBase ? "true" : "false");
832 for (const Pictures* working = mPictures.begin(); working != last; working++) {
833 const SkIRect& bounds = working->mArea.getBounds();
834 const SkIRect& unsplit = working->mUnsplit;
836 if (working->mPicture != NULL)
837 working->mPicture->serialize(&measure);
847 working - mPictures.begin(),
849 working->mPicture,
851 working->mElapsed, working->mSplit ? "true" : "false",
852 working->mWroteElapsed ? "true" : "false",
853 working->mBase ? "true" : "false",
972 for (const Pictures* working = mPictures.begin(); working != last; working++) {
973 if (!working->mEmpty)
1008 for (const Pictures* working = src.mPictures.begin(); working != last; working++)
1009 add(working);
1025 Pictures* working, * last = mPictures.end();
1028 for (working = mPictures.begin(); working != last; working++) {
1029 if (working->mSplit && invalBounds == working->mUnsplit) {
1036 temp.op(working->mArea, SkRegion::kIntersect_Op);
1037 if (temp.isEmpty() || temp == working->mArea)
1043 for (working = mPictures.begin(); working != last; working++) {
1044 if ((working->mSplit == false || invalBounds != working->mUnsplit) &&
1045 inval.contains(working->mArea) == false)
1047 SkSafeUnref(working->mPicture);
1048 working->mPicture = NULL;
1059 Pictures* working = mPictures.begin();
1060 if (working == last)
1067 while ((srcWorking->mArea != working->mArea ||
1068 srcWorking->mPicture != working->mPicture)) {
1069 if (++working == last)
1072 DBG_SET_LOGD("%p [%d] [%d] {%d,%d,r=%d,b=%d} working->mElapsed=%d <- %d",
1073 this, working - mPictures.begin(), srcWorking - src.mPictures.begin(),
1074 working->mArea.getBounds().fLeft, working->mArea.getBounds().fTop,
1075 working->mArea.getBounds().fRight, working->mArea.getBounds().fBottom,
1076 working->mElapsed, srcWorking->mElapsed);
1077 working->mElapsed = srcWorking->mElapsed;
1098 const Pictures* working;
1101 for (working = mPictures.begin(); working != last; working++) {
1102 if (working->mElapsed >= MAX_DRAW_TIME || working->mSplit)
1107 for (working = mPictures.begin(); working != last; working++) {
1108 uint32_t elapsed = working->mElapsed;
1110 bool split = working->mSplit;
1111 DBG_SET_LOGD("elapsed=%d working=%p total->getBounds()="
1112 "{%d,%d,r=%d,b=%d} split=%s", elapsed, working,
1117 total->op(working->mArea, SkRegion::kDifference_Op);
1118 out->add(working->mArea, working->mPicture, elapsed, split,
1119 working->mEmpty);
1124 total->op(working->mArea, SkRegion::kDifference_Op);
1125 const SkIRect& bounds = working->mArea.getBounds();
1152 working->mPicture, elapsed, true,
1153 (across | down) != 1 ? false : working->mEmpty);
1180 for (const Pictures* working = mPictures.end(); working != first; ) {
1181 --working;
1182 const SkPicture* pict = working->mPicture;
1183 const SkRegion& area = working->mArea;
1186 if (working->mUnsplit.isEmpty())
1187 LOGD("%s working->mUnsplit.isEmpty()", funct);
1188 else if (working->mUnsplit.contains(bounds) == false)
1189 LOGD("%s working->mUnsplit.contains(bounds) == false", funct);
1190 else if (working->mElapsed >= 1000)
1191 LOGD("%s working->mElapsed >= 1000", funct);
1192 else if ((working->mSplit & 0xfe) != 0)
1193 LOGD("%s (working->mSplit & 0xfe) != 0", funct);
1194 else if ((working->mWroteElapsed & 0xfe) != 0)
1195 LOGD("%s (working->mWroteElapsed & 0xfe) != 0", funct);
1203 else if (working->mArea.isEmpty())
1204 LOGD("%s working->mArea.isEmpty()", funct);
1209 working->mArea.validate();