| 661 | } |
| 662 | |
| 663 | void GfxRenderer::fillRect(const int x, const int y, const int width, const int height, const bool state) const { |
| 664 | if (state) { |
| 665 | fillRectImpl<Color::Black>(x, y, width, height); |
| 666 | } else { |
| 667 | fillRectImpl<Color::White>(x, y, width, height); |
| 668 | } |
| 669 | } |
| 670 | |
| 671 | // NOTE: Those are in critical path, and need to be templated to avoid runtime checks for every pixel. |
| 672 | // Any branching must be done outside the loops to avoid performance degradation. |
no outgoing calls
no test coverage detected