#include "Teddy/Graphics/Device.h"#include "Teddy/SysSupport/StdMaths.h"#include <cassert>#include <cstdio>#include <cstdlib>Include dependency graph for glu_mipmap.cpp:

Go to the source code of this file.
Defines | |
| #define | GLU_ERROR 100103 |
| #define | GLU_INVALID_ENUM 100900 |
| #define | GLU_INVALID_VALUE 100901 |
| #define | GLU_OUT_OF_MEMORY 100902 |
| #define | GLU_INVALID_OPERATION 100904 |
| #define | CEILING(A, B) ( (A) % (B) == 0 ? (A)/(B) : (A)/(B)+1 ) |
| #define | EPSILON 0.001 |
| #define | dummy(J, K) |
Functions | |
| GLint | glu_ScaleImage (GLenum format, GLsizei widthin, GLsizei heightin, GLenum typein, const void *datain, GLsizei widthout, GLsizei heightout, GLenum typeout, void **dataoutp) |
| GLint | ilog2 (GLint n) |
| GLint | round2 (GLint n) |
| GLint | bytes_per_pixel (GLenum format, GLenum type) |
| GLint | glu_Build1DMipmaps (GLenum target, GLint components, GLsizei width, GLenum format, GLenum type, const void *data) |
| GLint | glu_Build2DMipmaps (GLenum target, GLint components, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data) |
|
|
Definition at line 47 of file glu_mipmap.cpp. Referenced by glu_ScaleImage. |
|
|
Definition at line 64 of file glu_mipmap.cpp. Referenced by glu_ScaleImage. |
|
|
Definition at line 54 of file glu_mipmap.cpp. |
|
|
Definition at line 27 of file glu_mipmap.cpp. Referenced by glu_Build1DMipmaps. |
|
|
Definition at line 28 of file glu_mipmap.cpp. Referenced by glu_Build2DMipmaps, and glu_ScaleImage. |
|
|
Definition at line 31 of file glu_mipmap.cpp. |
|
|
Definition at line 29 of file glu_mipmap.cpp. Referenced by glu_Build1DMipmaps, and glu_Build2DMipmaps. |
|
|
Definition at line 30 of file glu_mipmap.cpp. Referenced by glu_Build1DMipmaps, and glu_ScaleImage. |
|
||||||||||||
|
Definition at line 640 of file glu_mipmap.cpp. Referenced by glu_Build2DMipmaps. |
|
||||||||||||||||||||||||||||
|
Definition at line 715 of file glu_mipmap.cpp. References GLU_ERROR, GLU_INVALID_VALUE, GLU_OUT_OF_MEMORY, and ilog2. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 791 of file glu_mipmap.cpp. References bytes_per_pixel, GLU_INVALID_ENUM, GLU_INVALID_VALUE, glu_ScaleImage, and round2. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 69 of file glu_mipmap.cpp. References CEILING, dummy, GLU_INVALID_ENUM, and GLU_OUT_OF_MEMORY. |
|
|
Definition at line 603 of file glu_mipmap.cpp. Referenced by glu_Build1DMipmaps. |
|
|
Definition at line 619 of file glu_mipmap.cpp. Referenced by glu_Build2DMipmaps. |