Use byte operations

This commit is contained in:
jpirnay
2026-02-21 00:07:39 +01:00
parent e59f3de141
commit 2b0d071217
2 changed files with 109 additions and 6 deletions
+3
View File
@@ -45,6 +45,9 @@ class GfxRenderer {
void drawPixelDither(int x, int y) const;
template <Color color>
void fillArc(int maxRadius, int cx, int cy, int xDir, int yDir) const;
// Write a solid horizontal span directly to the physical framebuffer using byte-level operations.
// phyY: physical row; phyX_start/phyX_end: inclusive physical column range; state: true=dark.
void fillPhysicalHSpan(int phyY, int phyX_start, int phyX_end, bool state) const;
public:
explicit GfxRenderer(HalDisplay& halDisplay)