From: Kristian Høgsberg Date: Thu, 11 Feb 2010 21:38:23 +0000 (-0500) Subject: i915: Remove unused intelRegion struct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbfd4147ca5dea70a225f3b53629c270508ed2f6;p=mesa.git i915: Remove unused intelRegion struct Phew, sure is nice to only have one struct called intel region. --- diff --git a/src/mesa/drivers/dri/intel/intel_screen.h b/src/mesa/drivers/dri/intel/intel_screen.h index e87e306d86b..861599202cf 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.h +++ b/src/mesa/drivers/dri/intel/intel_screen.h @@ -34,31 +34,8 @@ #include "i915_drm.h" #include "xmlconfig.h" -/* XXX: change name or eliminate to avoid conflict with "struct - * intel_region"!!! - */ typedef struct { - drm_handle_t handle; - drmSize size; /* region size in bytes */ - char *map; /* memory map */ - int offset; /* from start of video mem, in bytes */ - unsigned int bo_handle; /* buffer object id if available, or -1 */ - /** - * Flags if the region is tiled. - * - * Not included is Y versus X tiling. - */ - GLboolean tiled; -} intelRegion; - -typedef struct -{ - intelRegion front; - intelRegion back; - intelRegion depth; - intelRegion tex; - int deviceID; int width; int height;