diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-07-26 03:25:40 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-07-26 03:25:40 +0000 |
commit | aaf2105be967ad7f99c643b4be09cf6d3d063b65 (patch) | |
tree | 31226a19a8db37d2fd0e65c8be1e7df86a49c35e /shared-core/r128_drm.h | |
parent | 983db58a26c37237acf54af60f28a4243467079a (diff) |
Add Rage 128 pageflipping support, defaults to off. DRM version bump to
2.5.0. It still has some issues, including a flicker in the fps meter
in tuxracer and I've seen garbage left behind after moving/closing
windows. However, it's usable. Add the Option "EnablePageFlip" "YES" to
use it.
Diffstat (limited to 'shared-core/r128_drm.h')
-rw-r--r-- | shared-core/r128_drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/r128_drm.h b/shared-core/r128_drm.h index 61f51e93..5da219e5 100644 --- a/shared-core/r128_drm.h +++ b/shared-core/r128_drm.h @@ -164,6 +164,8 @@ typedef struct drm_r128_sarea { drm_tex_region_t tex_list[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS+1]; unsigned int tex_age[R128_NR_TEX_HEAPS]; int ctx_owner; + int pfAllowPageFlip; /* number of 3d windows (0,1,2 or more) */ + int pfCurrentPage; /* which buffer is being displayed? */ } drm_r128_sarea_t; @@ -191,6 +193,7 @@ typedef struct drm_r128_sarea { #define DRM_IOCTL_R128_FULLSCREEN DRM_IOW( 0x50, drm_r128_fullscreen_t) #define DRM_IOCTL_R128_CLEAR2 DRM_IOW( 0x51, drm_r128_clear2_t) #define DRM_IOCTL_R128_GETPARAM DRM_IOW( 0x52, drm_r128_getparam_t) +#define DRM_IOCTL_R128_FLIP DRM_IO( 0x53) typedef struct drm_r128_init { enum { |