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:
@@ -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);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user