diff options
author | Marek Olšák <[email protected]> | 2011-02-15 01:41:16 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-15 04:00:46 +0100 |
commit | 18b4978ac8d2fb9b4f0830f33267e36ffc67b89c (patch) | |
tree | 7b35ed68236ce9b3b5e1f2a7bb7cab8f13d12720 /src/gallium/drivers/r300/r300_context.h | |
parent | 4faf11ad6c44902e17c648c28d40e10067f83612 (diff) |
r300g: implement fences using dummy relocations
So finally we have them.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 58a7129849c..883b5f99c07 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -284,22 +284,6 @@ struct r300_query { struct r300_query* next; }; -/* Fence object. - * - * This is a fake fence. Instead of syncing with the fence, we sync - * with the context, which is inefficient but compliant. - * - * This is not a subclass of pipe_fence_handle because pipe_fence_handle is - * never actually fully defined. So, rather than have it as a member, and do - * subclass-style casting, we treat pipe_fence_handle as an opaque, and just - * trust that our state tracker does not ever mess up fence objects. - */ -struct r300_fence { - struct pipe_reference reference; - struct r300_context *ctx; - boolean signalled; -}; - struct r300_surface { struct pipe_surface base; @@ -651,7 +635,6 @@ static INLINE void r300_mark_atom_dirty(struct r300_context *r300, struct pipe_context* r300_create_context(struct pipe_screen* screen, void *priv); -void r300_finish(struct r300_context *r300); void r300_flush_cb(void *data); /* Context initialization. */ |