[MESA]
[reactos.git] / reactos / dll / opengl / mesa / main / texstorage.h
1 /*
2 * Mesa 3-D graphics library
3 *
4 * Copyright (C) 2011 VMware, Inc. All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included
14 * in all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */
23
24
25 #ifndef TEXSTORAGE_H
26 #define TEXSTORAGE_H
27
28
29 extern void GLAPIENTRY
30 _mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
31 GLsizei width);
32
33
34 extern void GLAPIENTRY
35 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat,
36 GLsizei width, GLsizei height);
37
38
39 extern void GLAPIENTRY
40 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
41 GLsizei width, GLsizei height, GLsizei depth);
42
43
44
45 extern void GLAPIENTRY
46 _mesa_TextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels,
47 GLenum internalformat,
48 GLsizei width);
49
50 extern void GLAPIENTRY
51 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels,
52 GLenum internalformat,
53 GLsizei width, GLsizei height);
54
55 extern void GLAPIENTRY
56 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels,
57 GLenum internalformat,
58 GLsizei width, GLsizei height, GLsizei depth);
59
60
61 #endif /* TEXSTORAGE_H */