projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: implement glGet for AMD_framebuffer_multisample_advanced
[mesa.git]
/
src
/
mesa
/
main
/
image.h
diff --git
a/src/mesa/main/image.h
b/src/mesa/main/image.h
index 7e92790b7df05f8a723b411bec04dff54f66ee0e..7955bbb7ca665f9043c4f988cc2c1a5d6a21e41c 100644
(file)
--- a/
src/mesa/main/image.h
+++ b/
src/mesa/main/image.h
@@
-1,6
+1,5
@@
/*
* Mesa 3-D graphics library
/*
* Mesa 3-D graphics library
- * Version: 7.1
*
* Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
*
*
* Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
*
@@
-17,9
+16,10
@@
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
- * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
*/
*/
@@
-31,12
+31,14
@@
struct gl_context;
struct gl_pixelstore_attrib;
struct gl_context;
struct gl_pixelstore_attrib;
+struct gl_framebuffer;
extern void
extern void
-_mesa_swap2(
GLushort *p, GLuint n
);
+_mesa_swap2(
GLushort *p, GLuint n
);
extern void
extern void
-_mesa_swap4( GLuint *p, GLuint n );
+_mesa_swap4(GLuint *p, GLuint n);
+
extern GLintptr
_mesa_image_offset( GLuint dimensions,
extern GLintptr
_mesa_image_offset( GLuint dimensions,
@@
-127,8
+129,15
@@
_mesa_clip_to_region(GLint xmin, GLint ymin,
extern GLboolean
_mesa_clip_blit(struct gl_context *ctx,
extern GLboolean
_mesa_clip_blit(struct gl_context *ctx,
+ const struct gl_framebuffer *readFb,
+ const struct gl_framebuffer *drawFb,
GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1,
GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1);
GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1,
GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1);
+void
+_mesa_swap_bytes_2d_image(GLenum format, GLenum type,
+ const struct gl_pixelstore_attrib *packing,
+ GLsizei width, GLsizei height,
+ GLvoid *dst, const GLvoid *src);
#endif
#endif