| 74 | }; |
| 75 | |
| 76 | DVL_ALWAYS_INLINE DVL_ATTRIBUTE_HOT const uint8_t *SkipRestOfLineWithOverrun( |
| 77 | const uint8_t *src, int_fast16_t srcWidth, SkipSize &skipSize) |
| 78 | { |
| 79 | int_fast16_t remainingWidth = srcWidth - skipSize.xOffset; |
| 80 | while (remainingWidth > 0) { |
| 81 | const auto [srcEnd, length] = ClxBlitInfo(src); |
| 82 | src = srcEnd; |
| 83 | remainingWidth -= length; |
| 84 | } |
| 85 | skipSize = GetSkipSize(remainingWidth, srcWidth); |
| 86 | return src; |
| 87 | } |
| 88 | |
| 89 | // Returns the horizontal overrun. |
| 90 | DVL_ALWAYS_INLINE DVL_ATTRIBUTE_HOT int_fast16_t SkipLinesForRenderBackwardsWithOverrun( |
no test coverage detected