|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdlib.h>#include <stdio.h>#include <stdint.h>#include <GL/gl.h>#include <GL/glu.h>#include <GL/glkos.h>#include <GL/glext.h>Macros | |
| #define | PVR_HDR_SIZE 0x20 |
| #define | MAX(x, y) |
Functions | |
| static GLuint | PVR_TextureHeight (unsigned char *HDR) |
| static GLuint | PVR_TextureWidth (unsigned char *HDR) |
| static GLuint | PVR_TextureFormat (unsigned char *HDR) |
| static GLuint | _glGetMipmapLevelCount (GLuint width, GLuint height) |
| static GLuint | _glGetMipmapDataSize (GLuint width, GLuint height) |
| GLuint | glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap) |
| #define PVR_HDR_SIZE 0x20 |
|
static |
References _glGetMipmapLevelCount().
|
static |
References MAX.
| GLuint glTextureLoadPVR | ( | char * | fname, |
| unsigned char | isMipMapped, | ||
| unsigned char | glMipMap ) |
References _glGetMipmapDataSize(), free(), malloc(), NULL, printf, PVR_HDR_SIZE, PVR_TextureFormat(), PVR_TextureHeight(), PVR_TextureWidth(), SEEK_END, SEEK_SET, and tex.
|
static |
References color, fprintf, and PVR_HDR_SIZE.
|
static |
References PVR_HDR_SIZE.
|
static |
References PVR_HDR_SIZE.