diff options
author | Jakob Bornecrantz <[email protected]> | 2011-02-20 11:46:17 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-02-21 00:50:16 +0100 |
commit | ec3c5ac5924d0daab424215a45ea3a089b9df54f (patch) | |
tree | 771541573e93e458195df8520770e30fbe84372f /src/gallium/drivers/i915 | |
parent | aa6a5cf1d5625ecb5efff3a43233ed972ab29cad (diff) |
i915g: Add dummy flush_frontbuffer
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index bdbc08e8086..5055c15d208 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -321,6 +321,20 @@ i915_fence_finish(struct pipe_screen *screen, static void +i915_flush_frontbuffer(struct pipe_screen *screen, + struct pipe_resource *resource, + unsigned level, unsigned layer, + void *winsys_drawable_handle) +{ + /* XXX: Dummy right now. */ + (void)screen; + (void)resource; + (void)level; + (void)layer; + (void)winsys_drawable_handle; +} + +static void i915_destroy_screen(struct pipe_screen *screen) { struct i915_screen *is = i915_screen(screen); @@ -371,6 +385,7 @@ i915_screen_create(struct i915_winsys *iws) is->base.winsys = NULL; is->base.destroy = i915_destroy_screen; + is->base.flush_frontbuffer = i915_flush_frontbuffer; is->base.get_name = i915_get_name; is->base.get_vendor = i915_get_vendor; |