diff options
author | Marek Olšák <[email protected]> | 2012-12-03 16:24:59 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-07 14:19:29 +0100 |
commit | 919f788b92362676fa368d9950532f82f762cdfb (patch) | |
tree | 066584a0498ca4f9bc7d5430343f675a1951548f /src/gallium/include | |
parent | 888714feb6fe9ff22221f4f8a6ed6abd904a2761 (diff) |
gallium: pass the current context to the flush_front state tracker function
I will later use the context to resolve an MSAA front buffer.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/st_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 91c5529a1f5..419f825696c 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -269,6 +269,8 @@ struct st_context_attribs struct st_config_options options; }; +struct st_context_iface; + /** * Represent a windowing system drawable. * @@ -313,7 +315,8 @@ struct st_framebuffer_iface * * @att is one of the front buffer attachments. */ - boolean (*flush_front)(struct st_framebuffer_iface *stfbi, + boolean (*flush_front)(struct st_context_iface *stctx, + struct st_framebuffer_iface *stfbi, enum st_attachment_type statt); /** |