[Mesa-dev] [PATCH 18/18] i965: Fix the file comment for intel_image.h
Eric Anholt
eric at anholt.net
Tue Apr 29 16:34:43 PDT 2014
---
src/mesa/drivers/dri/i965/intel_image.h | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_image.h b/src/mesa/drivers/dri/i965/intel_image.h
index ba3ed27..0cae711 100644
--- a/src/mesa/drivers/dri/i965/intel_image.h
+++ b/src/mesa/drivers/dri/i965/intel_image.h
@@ -25,14 +25,17 @@
*
**************************************************************************/
-#ifndef INTEL_REGIONS_H
-#define INTEL_REGIONS_H
+#ifndef INTEL_IMAGE_H
+#define INTEL_IMAGE_H
/** @file intel_image.h
*
- * Structure definitions and prototypes for intel_region handling,
- * which is the basic structure for rectangular collections of pixels
- * stored in a drm_intel_bo.
+ * Structure definitions and prototypes for __DRIimage, the driver-private
+ * structure backing EGLImage or a drawable in DRI3.
+ *
+ * The __DRIimage is passed around the loader code (src/glx and src/egl), but
+ * it's opaque to that code and may only be accessed by loader extensions
+ * (mostly located in intel_screen.c).
*/
#include <stdbool.h>
--
1.9.2
More information about the mesa-dev
mailing list