| 78 | } |
| 79 | |
| 80 | u32 RectangularDrawBuffer::getMaxBytesInStrip() const { |
| 81 | u32 max_bytes = 0; |
| 82 | for (auto it = mDrawList.begin(); it != mDrawList.end(); ++it) { |
| 83 | max_bytes = fl::max(max_bytes, it->mNumBytes); |
| 84 | } |
| 85 | return max_bytes; |
| 86 | } |
| 87 | |
| 88 | u32 RectangularDrawBuffer::getTotalBytes() const { |
| 89 | u32 num_strips = mDrawList.size(); |
no test coverage detected