summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-04-29 15:31:16 -0700
committerEric Anholt <[email protected]>2014-05-01 15:12:28 -0700
commitd55e5a323b81af1020104df1ccc1ddfe31b78b83 (patch)
treead54969102a7f5cd83453cb21ebf33567d85fa6f /src/mesa
parent5566747296f6a0b9dcadd056b0a9743c0fbce147 (diff)
i965: Fix the file comment for intel_image.h
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_image.h13
1 files 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 ba3ed27066c..0cae7119a9a 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>