summaryrefslogtreecommitdiff
path: root/src/i830_common.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-01-24 15:20:34 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-01-24 15:20:34 +0000
commitd8d749080923e88376db1aa18ae2ad722d5113d9 (patch)
treeb2c2e948e6c075762417045a7fbc8928cbaf4c65 /src/i830_common.h
parent919d36b6717e9a7d930c5120309778da7b0fe16c (diff)
Bump version to 1.5.0.0
Add Intel 945GM support Add RandR rotation support (full 3D acceleration, HWcursor & Xvideo rotated too) Remove shadow framebuffer rotation code Add a new LinearAlloc option to allow more offscreen memory to be allocated for XVideo applications. This allows HDTV movies to be played via Xvideo.
Diffstat (limited to 'src/i830_common.h')
-rw-r--r--src/i830_common.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/i830_common.h b/src/i830_common.h
index a0a00ff4..41b5cc3c 100644
--- a/src/i830_common.h
+++ b/src/i830_common.h
@@ -51,6 +51,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define DRM_I830_FREE 0x09
#define DRM_I830_INIT_HEAP 0x0a
#define DRM_I830_CMDBUFFER 0x0b
+#define DRM_I830_DESTROY_HEAP 0x0c
typedef struct {
enum {
@@ -87,6 +88,30 @@ typedef struct {
int pf_active;
int pf_current_page; /* which buffer is being displayed? */
int perf_boxes; /* performance boxes to be displayed */
+ int width, height; /* screen size in pixels */
+
+ drm_handle_t front_handle;
+ int front_offset;
+ int front_size;
+
+ drm_handle_t back_handle;
+ int back_offset;
+ int back_size;
+
+ drm_handle_t depth_handle;
+ int depth_offset;
+ int depth_size;
+
+ drm_handle_t tex_handle;
+ int tex_offset;
+ int tex_size;
+ int log_tex_granularity;
+ int pitch;
+ int rotation; /* 0, 90, 180 or 270 */
+ int rotated_offset;
+ int rotated_size;
+ int rotated_pitch;
+ int virtualX, virtualY;
} drmI830Sarea;
/* Flags for perf_boxes
@@ -164,5 +189,9 @@ typedef struct {
int start;
} drmI830MemInitHeap;
+typedef struct {
+ int region;
+} drmI830MemDestroyHeap;
+
#endif /* _I830_DRM_H_ */