Resolve some TODOs

This commit is contained in:
2024-02-08 21:29:18 -05:00
parent e5f8a18acb
commit 97b3de834f
4 changed files with 9 additions and 13 deletions

View File

@@ -6,8 +6,6 @@
namespace ScreenCenter {
using namespace JabyEngine;
// TODO: Fit these pieces into 16Word buffers (sizeof(T) >> 2 == words)
// TODO: Can we DMA all of this?
class Frame {
private:
struct TopBorder : public GPU::internal::LinkedElementCreator<TopBorder> {
@@ -90,10 +88,7 @@ namespace ScreenCenter {
}
void setup() {
// TODO: I want this in one line
this->top_border.concat(this->bottom_border);
this->bottom_border.concat(this->line_border);
this->line_border.concat(this->line_cross);
this->top_border.concat(this->bottom_border.concat(this->line_border.concat(this->line_cross)));
}
void render() const {