r600g: implement the pipe_screen fence functions
authorFredrik Höglund <fredrik@kde.org>
Tue, 29 Mar 2011 17:43:59 +0000 (19:43 +0200)
committerJerome Glisse <jglisse@redhat.com>
Tue, 29 Mar 2011 20:37:04 +0000 (16:37 -0400)
commit948e1eb8e9c166ad5b74abc630d0760768ce78c9
tree147111549a95b7406919945ec34546980e99b887
parenta99e80d795f7c6aec0e73369a31d1728577b9727
r600g: implement the pipe_screen fence functions

v2: Allocate the fences from a single shared buffer object.
v3: Allocate the r600_fence structs in blocks of 16.
    Spin a few times before calling sched_yield in r600_fence_finish().
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/winsys/r600/drm/r600_hw_context.c