Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 1282:9f445c5e252b
prev1256:a9d29fe74bf3
author nkeynes
date Wed May 27 08:46:29 2015 +1000 (8 years ago)
permissions -rw-r--r--
last change Add support for extracting the ELF symbol table and printing symbol names
alongside the SH4 disassembly
file annotate diff log raw
1.1 --- a/src/display.h Sun Mar 04 21:10:12 2012 +1000
1.2 +++ b/src/display.h Wed May 27 08:46:29 2015 +1000
1.3 @@ -101,7 +101,7 @@
1.4 uint32_t width;
1.5 uint32_t height;
1.6 uint32_t rowstride;
1.7 - uint32_t colour_format;
1.8 + uint32_t colour_format; /* Colour format that the dreamcast expects the data to be in */
1.9 sh4addr_t address;
1.10 uint32_t size; /* Size of buffer in bytes, must be width*height*bpp */
1.11 gboolean inverted;/* True if the buffer is upside down */
1.12 @@ -111,6 +111,7 @@
1.13 struct display_capabilities {
1.14 gboolean has_gl;
1.15 gboolean has_sl;
1.16 + gboolean has_bgra;
1.17 int depth_bits;
1.18 int stencil_bits; /* 0 = no stencil buffer */
1.19 };
.