diff options
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-28 11:23:11 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-04-28 11:25:56 +0200 |
commit | 638261b3530106b70819c2fe0c3cd613c0d85777 (patch) | |
tree | 120e783f5c7402ced10d07b288112c503261c67a /src/gallium/winsys/drm/radeon/core/radeon_drm.h | |
parent | 359a58230e0644a39c1904a74bc25803dc6cab6f (diff) |
gallium: Update the drm_api.
Make it possible to pass state-tracker-specific data to the
init_screen function, and even open the door for device-specific
state-tracker screen initialization.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_drm.h')
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm.h b/src/gallium/winsys/drm/radeon/core/radeon_drm.h index ca2d98ed1a..049f9984db 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_drm.h +++ b/src/gallium/winsys/drm/radeon/core/radeon_drm.h @@ -40,7 +40,8 @@ #include "radeon_r300.h" #include "radeon_winsys_softpipe.h" -struct pipe_screen* radeon_create_screen(int drmFB, int pciID); +struct pipe_screen* radeon_create_screen(int drmFB, + struct drm_create_screen_arg *arg); struct pipe_context* radeon_create_context(struct pipe_screen* screen); |