Mesa (master): i965: Fix the file comment for intel_image.h

Eric Anholt anholt at kemper.freedesktop.org
Thu May 1 22:16:54 UTC 2014


Module: Mesa
Branch: master
Commit: d55e5a323b81af1020104df1ccc1ddfe31b78b83
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d55e5a323b81af1020104df1ccc1ddfe31b78b83

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Apr 29 15:31:16 2014 -0700

i965: Fix the file comment for intel_image.h

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

---

 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>




More information about the mesa-commit mailing list