51 uint32_t wasSemiTrans = command & 0x02000000;
52 command =
BASE | (
c.packed & 0xffffff) | wasSemiTrans;
56 command &= ~0x02000000;
60 command |= 0x02000000;
71static_assert(
sizeof(
Rectangle) == (
sizeof(
uint32_t) * 3),
"Rectangle is not 3 words");
86 uint32_t wasSemiTrans = command & 0x02000000;
87 command =
BASE | (
c.packed & 0xffffff) | wasSemiTrans;
91 command &= ~0x02000000;
95 command |= 0x02000000;
105static_assert(
sizeof(
Pixel) == (
sizeof(uint64_t)),
"Pixel is not 64 bits");
120 uint32_t wasSemiTrans = command & 0x02000000;
121 command =
BASE | (
c.packed & 0xffffff) | wasSemiTrans;
125 command &= ~0x02000000;
129 command |= 0x02000000;
139static_assert(
sizeof(
Rectangle8x8) == (
sizeof(uint64_t)),
"Rectangle8x8 is not 64 bits");
154 uint32_t wasSemiTrans = command & 0x02000000;
155 command =
BASE | (
c.packed & 0xffffff) | wasSemiTrans;
159 command &= ~0x02000000;
163 command |= 0x02000000;
173static_assert(
sizeof(
Rectangle16x16) == (
sizeof(uint64_t)),
"Rectangle16x16 is not 64 bits");
Definition cdrom-loader.hh:39
The Pixel primitive.
Definition rectangles.hh:81
Pixel & setSemiTrans()
Definition rectangles.hh:94
Pixel()
Definition rectangles.hh:83
Pixel & setOpaque()
Definition rectangles.hh:90
Pixel(Color c)
Definition rectangles.hh:84
static constexpr uint32_t BASE
Definition rectangles.hh:82
Vertex position
Definition rectangles.hh:103
Pixel & setColor(Color c)
Definition rectangles.hh:85
The 16x16 Rectangle primitive.
Definition rectangles.hh:149
Rectangle16x16 & setSemiTrans()
Definition rectangles.hh:162
Rectangle16x16()
Definition rectangles.hh:151
Rectangle16x16 & setOpaque()
Definition rectangles.hh:158
Rectangle16x16(Color c)
Definition rectangles.hh:152
static constexpr uint32_t BASE
Definition rectangles.hh:150
Vertex position
Definition rectangles.hh:171
Rectangle16x16 & setColor(Color c)
Definition rectangles.hh:153
The 8x8 Rectangle primitive.
Definition rectangles.hh:115
Rectangle8x8(Color c)
Definition rectangles.hh:118
static constexpr uint32_t BASE
Definition rectangles.hh:116
Rectangle8x8 & setSemiTrans()
Definition rectangles.hh:128
Rectangle8x8 & setOpaque()
Definition rectangles.hh:124
Rectangle8x8()
Definition rectangles.hh:117
Rectangle8x8 & setColor(Color c)
Definition rectangles.hh:119
Vertex position
Definition rectangles.hh:137
The Rectangle primitive.
Definition rectangles.hh:46
Rectangle & setColor(Color c)
Definition rectangles.hh:50
Rectangle(Color c)
Definition rectangles.hh:49
Vertex size
Definition rectangles.hh:69
static constexpr uint32_t BASE
Definition rectangles.hh:47
Rectangle & setSemiTrans()
Definition rectangles.hh:59
Rectangle()
Definition rectangles.hh:48
Vertex position
Definition rectangles.hh:68
Rectangle & setOpaque()
Definition rectangles.hh:55
static int c
Definition syscalls.h:121
void uint32_t(classId, spec)
The Color struct.
Definition common.hh:91
The Vertex struct.
Definition common.hh:47