diff options
author | Stéphane Marchesin <[email protected]> | 2013-03-08 13:32:55 -0800 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2013-03-08 19:34:50 -0800 |
commit | 1662178863d7b715530274148aa57e6494f935a8 (patch) | |
tree | 810394ad935a02c5605ec549da922cdd45f5097b /src/gallium/winsys/i915/sw | |
parent | d815e8af3944bca5eac7a0638da5529596735aef (diff) |
i915g: Use PIPE_FLUSH_END_OF_FRAME to trigger throttling
This helps with jittering, instead of throttling at every command
buffer we only throttle once a frame.
Diffstat (limited to 'src/gallium/winsys/i915/sw')
-rw-r--r-- | src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c b/src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c index 3bf54011d9e..b52bbaa5077 100644 --- a/src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c +++ b/src/gallium/winsys/i915/sw/i915_sw_batchbuffer.c @@ -100,7 +100,8 @@ i915_sw_batchbuffer_reloc(struct i915_winsys_batchbuffer *ibatch, static void i915_sw_batchbuffer_flush(struct i915_winsys_batchbuffer *ibatch, - struct pipe_fence_handle **fence) + struct pipe_fence_handle **fence, + enum i915_winsys_flush_flags flags) { struct i915_sw_batchbuffer *batch = i915_sw_batchbuffer(ibatch); unsigned used = 0; |