gallium: remove flags from the flush function
The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
This commit is contained in:
@@ -120,6 +120,11 @@ enum st_context_resource_type {
|
||||
ST_CONTEXT_RESOURCE_OPENVG_PARENT_IMAGE
|
||||
};
|
||||
|
||||
/**
|
||||
* Flush flags.
|
||||
*/
|
||||
#define ST_FLUSH_FRONT (1 << 0)
|
||||
|
||||
/**
|
||||
* Value to st_manager->get_param function.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user