Search
lxdream.org :: lxdream/src/display.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.c
changeset 477:9a373f2ff009
prev451:50622730f226
next531:f0fee3ba71d1
author nkeynes
date Wed Oct 31 09:10:23 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add save/restore of render buffers in save states
Gzip memory blocks in save states
Move front-buffer management back to pvr2
Add screenshot preview when loading save states
Various minor fixes and cleanups
file annotate diff log raw
1.1 --- a/src/display.c Sun Oct 21 05:15:56 2007 +0000
1.2 +++ b/src/display.c Wed Oct 31 09:10:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: display.c,v 1.11 2007-10-21 05:15:56 nkeynes Exp $
1.6 + * $Id: display.c,v 1.12 2007-10-31 09:10:23 nkeynes Exp $
1.7 *
1.8 * Generic support for keyboard and other input sources. The active display
1.9 * driver is expected to deliver events here, where they're translated and
1.10 @@ -41,6 +41,10 @@
1.11 { GL_UNSIGNED_BYTE, GL_BGRA, GL_RGBA8, 4 }, /* YUV decoded to ARGB8888 */
1.12 { GL_UNSIGNED_BYTE, GL_BGR, GL_RGB, 3 },
1.13 { GL_UNSIGNED_BYTE, GL_BGRA, GL_RGBA8, 4 },
1.14 + { GL_UNSIGNED_BYTE, GL_BGRA, GL_RGBA8, 4 }, /* Index4 decoded */
1.15 + { GL_UNSIGNED_BYTE, GL_BGRA, GL_RGBA8, 4 }, /* Index8 decoded */
1.16 + { GL_UNSIGNED_BYTE, GL_BGRA, GL_RGBA8, 4 },
1.17 + { GL_UNSIGNED_BYTE, GL_RGB, GL_RGB, 3 },
1.18
1.19 };
1.20
.