mesa: allow out-of-order drawing to optimize immediate mode if it's safe
authorMarek Olšák <marek.olsak@amd.com>
Thu, 30 Jan 2020 23:56:22 +0000 (18:56 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 26 Mar 2020 07:08:34 +0000 (03:08 -0400)
commit8c053e5faded7b57fdd117ed86d572e0104c06bf
tree915f58e02c3ec2a0a267854655a9c9b289717204
parent0c6a667d9394c7bf0f5adef4320fd912653950af
mesa: allow out-of-order drawing to optimize immediate mode if it's safe

This increases performance by 11-13% in Viewperf11/Catia - first scene.

Set allow_draw_out_of_order=true to enable this.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4152>
17 files changed:
src/gallium/auxiliary/pipe-loader/driinfo_gallium.h
src/gallium/include/state_tracker/st_api.h
src/gallium/state_trackers/dri/dri_screen.c
src/mesa/main/blend.c
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/main/depth.c
src/mesa/main/enable.c
src/mesa/main/fbobject.c
src/mesa/main/framebuffer.c
src/mesa/main/mtypes.h
src/mesa/main/pipelineobj.c
src/mesa/main/shaderapi.c
src/mesa/main/state.c
src/mesa/main/state.h
src/mesa/state_tracker/st_extensions.c
src/util/xmlpool/t_options.h