summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJulien Cristau <[email protected]>2007-08-09 11:25:42 +0200
committerJulien Cristau <[email protected]>2007-08-09 11:25:42 +0200
commit43e6260ed061f915b2c631643c2a303015f2f044 (patch)
treeb34d680b6850bafeabc57a688413cb8bbee34c32 /include
parentc6728df4a3d8d5bc04626e57f6c0ec40d60ab1c7 (diff)
parentae16a51e95f8d0e4e354f28885c13a3bbe66b270 (diff)
Merge tag 'mesa_7_0_1' into debian-experimental
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index a3de2c6aab3..8d24e311f84 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -361,6 +361,18 @@ struct __DRIscreenRec {
void * (*createNewContext)(__DRInativeDisplay *dpy, const __GLcontextModes *modes,
int render_type,
void *sharedPrivate, __DRIcontext *pctx);
+
+ /**
+ * Method to override base texture image with a driver specific 'offset'.
+ * The depth passed in allows e.g. to ignore the alpha channel of texture
+ * images where the non-alpha components don't occupy a whole texel.
+ *
+ * For GLX_EXT_texture_from_pixmap with AIGLX.
+ *
+ * \since Internal API version 20070121.
+ */
+ void (*setTexOffset)(__DRIcontext *pDRICtx, GLint texname,
+ unsigned long long offset, GLint depth, GLuint pitch);
};
/**