diff options
author | Keith Packard <keithp@keithp.com> | 2008-12-15 15:35:35 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-01-06 09:31:39 -0800 |
commit | 8237faf8f3ca73ecdf0ef009a7d361b318726f6f (patch) | |
tree | 3331e4118b7ef6cc10247a2baf6fa8837b692cf8 /src/i830.h | |
parent | 21bd4e8974e4c0e83f5f95adb0fc17290444caf5 (diff) |
Resize framebuffer on screen size change (requires UXA and DRI2)
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -95,6 +95,7 @@ void i830_uxa_block_handler (ScreenPtr pScreen); #if defined(I830_USE_UXA) || defined(I830_USE_EXA) dri_bo *i830_get_pixmap_bo (PixmapPtr pixmap); +void i830_set_pixmap_bo(PixmapPtr pixmap, dri_bo *bo); #endif #ifdef I830_USE_XAA @@ -267,6 +268,8 @@ typedef struct _I830CrtcPrivateRec { int dpms_mode; + int x, y; + /* Lookup table values to be set when the CRTC is enabled */ uint8_t lut_r[256], lut_g[256], lut_b[256]; @@ -468,6 +471,8 @@ typedef struct _I830Rec { int drmMinor; Bool allocate_classic_textures; + Bool can_resize; + Bool want_vblank_interrupts; #ifdef DAMAGE DamagePtr pDamage; @@ -907,6 +912,10 @@ Bool i830_unbind_all_memory(ScrnInfoPtr pScrn); Bool I830BindAGPMemory(ScrnInfoPtr pScrn); Bool I830UnbindAGPMemory(ScrnInfoPtr pScrn); +i830_memory * +i830_allocate_framebuffer(ScrnInfoPtr pScrn, I830Ptr pI830, BoxPtr FbMemBox, + Bool secondary); + /* i830_modes.c */ DisplayModePtr i830_ddc_get_modes(xf86OutputPtr output); |