Lines Matching refs:doWrite
307 bool doWrite = (damage.size() <= kMaxLength / 4);
308 size_t length = (doWrite) ? damage.size() * 4 : 0;
311 // When there are too many rectangles in the damage region and doWrite
314 if (doWrite) {
385 bool doWrite = (visible.size() <= kMaxLength / 4);
386 size_t length = (doWrite) ? visible.size() * 4 : 0;
390 // doWrite is false, we write no rectangle at all which means the
392 if (doWrite) {
409 bool doWrite = (damage.size() <= (kMaxLength - 4) / 4);
410 size_t length = 4 + ((doWrite) ? damage.size() * 4 : 0);
417 // When there are too many rectangles in the damage region and doWrite
420 if (doWrite) {