diff options
author | Brian <brian@yutani.localnet.net> | 2007-05-19 08:28:07 -0600 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-05-19 08:30:31 -0600 |
commit | 7ace7cfba43427fc09dec23ac94b5c2b663d58ff (patch) | |
tree | 371555f72a690048457d261f05907831800cf0d9 /include/GL | |
parent | fd54564f78d4aeae2c39ada7502ec659c14b3eca (diff) |
added texture_from_pixmap functions
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/xmesa.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/include/GL/xmesa.h b/include/GL/xmesa.h index f185a15cdb8..2199b08cf0f 100644 --- a/include/GL/xmesa.h +++ b/include/GL/xmesa.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 7.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -397,6 +397,25 @@ extern XMesaBuffer XMesaCreatePBuffer(XMesaVisual v, XMesaColormap cmap, +/* + * Texture from Pixmap + * New in Mesa 7.1 + */ +extern void +XMesaBindTexImage(Display *dpy, XMesaBuffer drawable, int buffer, + const int *attrib_list); + +extern void +XMesaReleaseTexImage(Display *dpy, XMesaBuffer drawable, int buffer); + + +extern XMesaBuffer +XMesaCreatePixmapTextureBuffer(XMesaVisual v, XMesaPixmap p, + XMesaColormap cmap, + int format, int target, int mipmap); + + + #ifdef __cplusplus } #endif |