[Mesa-dev] [PATCH] gallium/postprocess: share pipe_context and cso_context with the state tracker

Brian Paul brianp at vmware.com
Thu Nov 29 07:08:41 PST 2012


On 11/28/2012 07:35 PM, Marek Olšák wrote:
> Using one context instead of two is more efficient and
> we can skip another context flush.
> ---
>   src/gallium/auxiliary/postprocess/postprocess.h    |    6 ++-
>   src/gallium/auxiliary/postprocess/pp_init.c        |   13 ++-----
>   src/gallium/auxiliary/postprocess/pp_program.c     |   20 ++++------
>   src/gallium/auxiliary/postprocess/pp_run.c         |   41 +++++++++++++++++++-
>   src/gallium/include/state_tracker/st_api.h         |   11 ++++++
>   .../state_trackers/dri/common/dri_context.c        |    4 +-
>   src/mesa/state_tracker/st_manager.c                |    2 +
>   7 files changed, 71 insertions(+), 26 deletions(-)
>

LGTM.
Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list