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:
Marek Olšák
2011-03-08 00:57:48 +01:00
parent e968975cb5
commit 7e02303497
69 changed files with 167 additions and 213 deletions

View File

@@ -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.
*/