From df89849c75a43c46e87e0533f10f12efb8a7ce0d Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 18 Nov 2009 10:06:25 +0800 Subject: cleanup vaCreateImage, make it possible to add formats later --- i965_drv_video.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'i965_drv_video.h') diff --git a/i965_drv_video.h b/i965_drv_video.h index 0b7ee33..855e6b9 100644 --- a/i965_drv_video.h +++ b/i965_drv_video.h @@ -106,13 +106,11 @@ struct object_buffer int size_element; VABufferType type; }; + struct object_image { struct object_base base; - VABufferID buf; - int width; - int height; - int size; + VAImage image; dri_bo *bo; }; -- cgit v1.2.3