m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/private_data.h
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-05-23 21:24:03 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-05-24 21:34:12 +0200
commita2d05131f0515e5c53c12c26549f5be2ef7777e7 (patch)
tree99975f24a558e336fc627c66477754ec8f8adfe2 /private_data.h
parente743a0a252f46dc2e19102b39d3058750a0b1bdb (diff)
Implement draw columns
Diffstat (limited to 'private_data.h')
-rw-r--r--private_data.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/private_data.h b/private_data.h
index 0325b93..ae1bf3e 100644
--- a/private_data.h
+++ b/private_data.h
@@ -29,4 +29,17 @@ struct surface_data {
dma_addr_t page_table_dev;
};
+struct texture_data {
+ struct doom_data *doom_data;
+
+ uint32_t size;
+ uint16_t height;
+ int pages;
+
+ uint8_t *texture_cpu;
+ uint32_t *page_table_cpu;
+ dma_addr_t texture_dev;
+ dma_addr_t page_table_dev;
+};
+
#endif