|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "context.h"#include "image.h"#include "macros.h"#include "pixel.h"#include "types.h"
Go to the source code of this file.
Functions | |
| void | gl_flip_bytes (GLubyte *p, GLuint n) |
| void | gl_swap2 (GLushort *p, GLuint n) |
| void | gl_swap4 (GLuint *p, GLuint n) |
| GLint | gl_sizeof_type (GLenum type) |
| GLint | gl_components_in_format (GLenum format) |
| GLvoid * | gl_pixel_addr_in_image (struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint row) |
| struct gl_image * | gl_unpack_image (GLcontext *ctx, GLint width, GLint height, GLenum srcFormat, GLenum srcType, const GLvoid *pixels) |
| void | gl_free_image (struct gl_image *image) |
Definition at line 193 of file image.c.
Referenced by gl_pixel_addr_in_image(), gl_TexSubImage2D(), gl_unpack_image(), and gl_unpack_pixels().
Definition at line 105 of file image.c.
Referenced by gl_unpack_image(), and gl_unpack_pixels().
Definition at line 661 of file image.c.
Referenced by _mesa_Bitmap(), _mesa_ColorSubTableEXT(), _mesa_ColorTableEXT(), gl_destroy_list(), gl_TexImage1D(), gl_TexImage2D(), gl_TexSubImage1D(), and gl_TexSubImage2D().
| GLvoid * gl_pixel_addr_in_image | ( | struct gl_pixelstore_attrib * | packing, |
| const GLvoid * | image, | ||
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | format, | ||
| GLenum | type, | ||
| GLint | row | ||
| ) |
Definition at line 232 of file image.c.
Referenced by gl_unpack_image(), and gl_unpack_pixels().
Definition at line 163 of file image.c.
Referenced by gl_pixel_addr_in_image(), gl_TexSubImage1D(), gl_TexSubImage2D(), gl_unpack_pixels(), gl_unpack_texsubimage(), read_color_pixels(), read_depth_pixels(), read_index_pixels(), and read_stencil_pixels().
Definition at line 127 of file image.c.
Referenced by gl_unpack_pixels(), read_color_pixels(), read_depth_pixels(), read_index_pixels(), and read_stencil_pixels().
Definition at line 141 of file image.c.
Referenced by gl_unpack_pixels(), read_color_pixels(), read_depth_pixels(), read_index_pixels(), and read_stencil_pixels().
| struct gl_image * gl_unpack_image | ( | GLcontext * | ctx, |
| GLint | width, | ||
| GLint | height, | ||
| GLenum | srcFormat, | ||
| GLenum | srcType, | ||
| const GLvoid * | pixels | ||
| ) |
img_pixels= pixels;
Definition at line 314 of file image.c.
Referenced by _mesa_ColorSubTableEXT(), _mesa_ColorTableEXT(), _mesa_TexImage1D(), _mesa_TexImage2D(), gl_unpack_bitmap(), and gl_unpack_texsubimage().