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 <brianp@vmware.com>
This commit is contained in:
Marek Olšák
2012-12-03 16:24:59 +01:00
parent 888714feb6
commit 919f788b92
10 changed files with 24 additions and 13 deletions

View File

@@ -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);
/**