summaryrefslogtreecommitdiff
path: root/intel
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-11-25 16:59:20 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-11-25 16:59:20 +0000
commit1443bea488f6ad47cb4469c01b35aea0377822c0 (patch)
tree40897400bc389e495c1ca7ff095ca50fe54de4b2 /intel
parent51b895041c65f7ec9ecda48e79279dde29258b07 (diff)
intel: Add a forward declaration of struct drm_clip_rect
... so that intel_bufmgr.h can be compiled standalone. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'intel')
-rw-r--r--intel/intel_bufmgr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/intel/intel_bufmgr.h b/intel/intel_bufmgr.h
index 9df51686..e1b4c454 100644
--- a/intel/intel_bufmgr.h
+++ b/intel/intel_bufmgr.h
@@ -36,6 +36,8 @@
#include <stdint.h>
+struct drm_clip_rect;
+
typedef struct _drm_intel_bufmgr drm_intel_bufmgr;
typedef struct _drm_intel_bo drm_intel_bo;
@@ -109,9 +111,9 @@ void drm_intel_bo_wait_rendering(drm_intel_bo *bo);
void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug);
void drm_intel_bufmgr_destroy(drm_intel_bufmgr *bufmgr);
int drm_intel_bo_exec(drm_intel_bo *bo, int used,
- drm_clip_rect_t * cliprects, int num_cliprects, int DR4);
+ struct drm_clip_rect *cliprects, int num_cliprects, int DR4);
int drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used,
- drm_clip_rect_t *cliprects, int num_cliprects, int DR4,
+ struct drm_clip_rect *cliprects, int num_cliprects, int DR4,
int ring_flag);
int drm_intel_bufmgr_check_aperture_space(drm_intel_bo ** bo_array, int count);