i965: Fix the file comment for intel_image.h
authorEric Anholt <eric@anholt.net>
Tue, 29 Apr 2014 22:31:16 +0000 (15:31 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 May 2014 22:12:28 +0000 (15:12 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/intel_image.h

index ba3ed27..0cae711 100644 (file)
  *
  **************************************************************************/
 
-#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>