ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_tile_rect_t Struct Reference

An inclusive rectangle of tile grid coordinates (the visible tiles). More...

#include <ra8_tile_cache.h>

Data Fields

uint16_t tx0
 Leftmost visible tile column (inclusive).
uint16_t ty0
 Topmost visible tile row (inclusive).
uint16_t tx1
 Rightmost visible tile column (inclusive).
uint16_t ty1
 Bottommost visible tile row (inclusive).

Detailed Description

An inclusive rectangle of tile grid coordinates (the visible tiles).

All four bounds are tile indices, inclusive. tx0 <= tx1 and ty0 <= ty1 describe the tiles the current viewport straddles; the prefetch reads the edge just beyond this rectangle.

Invariant
tx0 <= tx1 and ty0 <= ty1.
Since
0.1.0

Definition at line 199 of file ra8_tile_cache.h.

Field Documentation

◆ tx0

uint16_t ra8_tile_rect_t::tx0

Leftmost visible tile column (inclusive).

Definition at line 200 of file ra8_tile_cache.h.

Referenced by internal_pan_line(), internal_validate_req(), and ra8_tile_rect_of_pixels().

◆ tx1

uint16_t ra8_tile_rect_t::tx1

Rightmost visible tile column (inclusive).

Definition at line 202 of file ra8_tile_cache.h.

Referenced by internal_pan_line(), internal_validate_req(), and ra8_tile_rect_of_pixels().

◆ ty0

uint16_t ra8_tile_rect_t::ty0

Topmost visible tile row (inclusive).

Definition at line 201 of file ra8_tile_cache.h.

Referenced by internal_pan_line(), internal_validate_req(), and ra8_tile_rect_of_pixels().

◆ ty1

uint16_t ra8_tile_rect_t::ty1

Bottommost visible tile row (inclusive).

Definition at line 203 of file ra8_tile_cache.h.

Referenced by internal_pan_line(), internal_validate_req(), and ra8_tile_rect_of_pixels().


The documentation for this struct was generated from the following file: