diff options
author | Corbin Simpson <[email protected]> | 2010-04-09 03:37:53 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-04-09 03:40:11 -0700 |
commit | d2cf1e85c88890b60fdfa1b0236a90bb6916d267 (patch) | |
tree | 392ee9d403faba0b5b7d44f6f4a23560c5a1c7fb /src/gallium/drivers/r300/r300_screen.c | |
parent | 9c2efb071f8b0a377b6a6e713cbae332b64a6705 (diff) |
r300g: Fill out dummy fence functions.
xorg st needs them.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 894a8c28c21..00c16b86623 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -264,6 +264,26 @@ static void r300_destroy_screen(struct pipe_screen* pscreen) FREE(r300screen); } +static void r300_fence_reference(struct pipe_screen *screen, + struct pipe_fence_handle **ptr, + struct pipe_fence_handle *fence) +{ +} + +static int r300_fence_signalled(struct pipe_screen *screen, + struct pipe_fence_handle *fence, + unsigned flags) +{ + return 0; +} + +static int r300_fence_finish(struct pipe_screen *screen, + struct pipe_fence_handle *fence, + unsigned flags) +{ + return 0; +} + struct pipe_screen* r300_create_screen(struct r300_winsys_screen *rws) { struct r300_screen *r300screen = CALLOC_STRUCT(r300_screen); @@ -290,6 +310,10 @@ struct pipe_screen* r300_create_screen(struct r300_winsys_screen *rws) r300screen->screen.is_format_supported = r300_is_format_supported; r300screen->screen.context_create = r300_create_context; + r300screen->screen.fence_reference = r300_fence_reference; + r300screen->screen.fence_signalled = r300_fence_signalled; + r300screen->screen.fence_finish = r300_fence_finish; + r300_init_screen_texture_functions(&r300screen->screen); r300_screen_init_buffer_functions(r300screen); |