mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 23:08:12 +02:00
This is meant to decrease CPU overhead and reduce the use of cso_context when better solutions are possible. These functions are removed. Gallium frontends should just use pipe_context: - cso_set_sampler_views - cso_set_shader_images - cso_set_constant_buffer* Additionally, vertex buffers are passed through cso_context but they are not saved there. The only remaining role of cso_context with regard to vertex buffers is to decide whether to go through u_vbuf or skip it. u_vbuf also can't save and restore vertex buffers anymore. This is how the states are restored for meta ops: - in st/mesa, set st->dirty |= flags to re-bind whatever state has been touched - outside of st/mesa, there is new interface st_context_iface::invalidate_- _state that external modules can use to essentially set st->dirty through it (like HUD) Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8180> |
||
|---|---|---|
| .. | ||
| cso_cache | ||
| draw | ||
| driver_ddebug | ||
| driver_noop | ||
| driver_rbug | ||
| driver_trace | ||
| gallivm | ||
| hud | ||
| indices | ||
| nir | ||
| os | ||
| pipe-loader | ||
| pipebuffer | ||
| postprocess | ||
| rbug | ||
| renderonly | ||
| rtasm | ||
| target-helpers | ||
| tessellator | ||
| tgsi | ||
| translate | ||
| util | ||
| vl | ||
| Android.mk | ||
| Makefile.sources | ||
| meson.build | ||
| SConscript | ||