diff options
author | Marek Olšák <[email protected]> | 2019-12-03 18:01:31 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-05-13 13:46:53 -0400 |
commit | d6287a94b697ffe12a4e576a38943cdf4e90cdb0 (patch) | |
tree | bb84357d98dc74412e983693e09875bb355b467e /src/gallium | |
parent | b408734e5e2fe1e1ef08080c4425ad8a7ed33579 (diff) |
gallium: rename 'state tracker' to 'frontend'
Acked-by: Eric Anholt <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4902>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/Android.mk | 2 | ||||
-rw-r--r-- | src/gallium/SConscript | 4 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c | 6 | ||||
-rw-r--r-- | src/gallium/auxiliary/postprocess/ADDING | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/renderonly/renderonly.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/renderonly/renderonly.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/target-helpers/drm_helper.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_sw_helper.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/target-helpers/sw_helper.h | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_tests.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys_dri.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys_drm.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_resource.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/i915/i915_context.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/iris/iris_screen.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/lima/lima_bo.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/lima/lima_resource.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_cs.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_sampler.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/panfrost/pan_resource.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_sampler.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_texture.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 2 | ||||
-rw-r--r-- | src/gallium/drivers/tegra/tegra_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/v3d/v3d_screen.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/v3d/v3dx_emit.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/zink/zink_resource.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/frontends/README (renamed from src/gallium/state_trackers/README) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/Doxyfile (renamed from src/gallium/state_trackers/clover/Doxyfile) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/Makefile.sources (renamed from src/gallium/state_trackers/clover/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/context.cpp (renamed from src/gallium/state_trackers/clover/api/context.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/device.cpp (renamed from src/gallium/state_trackers/clover/api/device.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/dispatch.cpp (renamed from src/gallium/state_trackers/clover/api/dispatch.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/dispatch.hpp (renamed from src/gallium/state_trackers/clover/api/dispatch.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/event.cpp (renamed from src/gallium/state_trackers/clover/api/event.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/interop.cpp (renamed from src/gallium/state_trackers/clover/api/interop.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/kernel.cpp (renamed from src/gallium/state_trackers/clover/api/kernel.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/memory.cpp (renamed from src/gallium/state_trackers/clover/api/memory.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/platform.cpp (renamed from src/gallium/state_trackers/clover/api/platform.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/program.cpp (renamed from src/gallium/state_trackers/clover/api/program.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/queue.cpp (renamed from src/gallium/state_trackers/clover/api/queue.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/sampler.cpp (renamed from src/gallium/state_trackers/clover/api/sampler.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/transfer.cpp (renamed from src/gallium/state_trackers/clover/api/transfer.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/api/util.hpp (renamed from src/gallium/state_trackers/clover/api/util.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/compiler.hpp (renamed from src/gallium/state_trackers/clover/core/compiler.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/context.cpp (renamed from src/gallium/state_trackers/clover/core/context.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/context.hpp (renamed from src/gallium/state_trackers/clover/core/context.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/device.cpp (renamed from src/gallium/state_trackers/clover/core/device.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/device.hpp (renamed from src/gallium/state_trackers/clover/core/device.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/error.hpp (renamed from src/gallium/state_trackers/clover/core/error.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/event.cpp (renamed from src/gallium/state_trackers/clover/core/event.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/event.hpp (renamed from src/gallium/state_trackers/clover/core/event.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/format.cpp (renamed from src/gallium/state_trackers/clover/core/format.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/format.hpp (renamed from src/gallium/state_trackers/clover/core/format.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/kernel.cpp (renamed from src/gallium/state_trackers/clover/core/kernel.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/kernel.hpp (renamed from src/gallium/state_trackers/clover/core/kernel.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/memory.cpp (renamed from src/gallium/state_trackers/clover/core/memory.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/memory.hpp (renamed from src/gallium/state_trackers/clover/core/memory.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/module.cpp (renamed from src/gallium/state_trackers/clover/core/module.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/module.hpp (renamed from src/gallium/state_trackers/clover/core/module.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/object.hpp (renamed from src/gallium/state_trackers/clover/core/object.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/platform.cpp (renamed from src/gallium/state_trackers/clover/core/platform.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/platform.hpp (renamed from src/gallium/state_trackers/clover/core/platform.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/program.cpp (renamed from src/gallium/state_trackers/clover/core/program.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/program.hpp (renamed from src/gallium/state_trackers/clover/core/program.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/property.hpp (renamed from src/gallium/state_trackers/clover/core/property.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/queue.cpp (renamed from src/gallium/state_trackers/clover/core/queue.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/queue.hpp (renamed from src/gallium/state_trackers/clover/core/queue.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/resource.cpp (renamed from src/gallium/state_trackers/clover/core/resource.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/resource.hpp (renamed from src/gallium/state_trackers/clover/core/resource.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/sampler.cpp (renamed from src/gallium/state_trackers/clover/core/sampler.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/sampler.hpp (renamed from src/gallium/state_trackers/clover/core/sampler.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/timestamp.cpp (renamed from src/gallium/state_trackers/clover/core/timestamp.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/core/timestamp.hpp (renamed from src/gallium/state_trackers/clover/core/timestamp.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/codegen.hpp (renamed from src/gallium/state_trackers/clover/llvm/codegen.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/codegen/bitcode.cpp (renamed from src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/codegen/common.cpp (renamed from src/gallium/state_trackers/clover/llvm/codegen/common.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/codegen/native.cpp (renamed from src/gallium/state_trackers/clover/llvm/codegen/native.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/compat.hpp (renamed from src/gallium/state_trackers/clover/llvm/compat.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/invocation.cpp (renamed from src/gallium/state_trackers/clover/llvm/invocation.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/invocation.hpp (renamed from src/gallium/state_trackers/clover/llvm/invocation.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/metadata.hpp (renamed from src/gallium/state_trackers/clover/llvm/metadata.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/llvm/util.hpp (renamed from src/gallium/state_trackers/clover/llvm/util.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/meson.build (renamed from src/gallium/state_trackers/clover/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/nir/invocation.cpp (renamed from src/gallium/state_trackers/clover/nir/invocation.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/nir/invocation.hpp (renamed from src/gallium/state_trackers/clover/nir/invocation.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/spirv/invocation.cpp (renamed from src/gallium/state_trackers/clover/spirv/invocation.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/spirv/invocation.hpp (renamed from src/gallium/state_trackers/clover/spirv/invocation.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/adaptor.hpp (renamed from src/gallium/state_trackers/clover/util/adaptor.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/algebra.hpp (renamed from src/gallium/state_trackers/clover/util/algebra.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/algorithm.hpp (renamed from src/gallium/state_trackers/clover/util/algorithm.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/factor.hpp (renamed from src/gallium/state_trackers/clover/util/factor.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/functional.hpp (renamed from src/gallium/state_trackers/clover/util/functional.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/lazy.hpp (renamed from src/gallium/state_trackers/clover/util/lazy.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/pointer.hpp (renamed from src/gallium/state_trackers/clover/util/pointer.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/range.hpp (renamed from src/gallium/state_trackers/clover/util/range.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/clover/util/tuple.hpp (renamed from src/gallium/state_trackers/clover/util/tuple.hpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/Android.mk (renamed from src/gallium/state_trackers/dri/Android.mk) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/Makefile.sources (renamed from src/gallium/state_trackers/dri/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/SConscript | 30 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri2.c (renamed from src/gallium/state_trackers/dri/dri2.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_context.c (renamed from src/gallium/state_trackers/dri/dri_context.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_context.h (renamed from src/gallium/state_trackers/dri/dri_context.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_drawable.c (renamed from src/gallium/state_trackers/dri/dri_drawable.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_drawable.h (renamed from src/gallium/state_trackers/dri/dri_drawable.h) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_helpers.c (renamed from src/gallium/state_trackers/dri/dri_helpers.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_helpers.h (renamed from src/gallium/state_trackers/dri/dri_helpers.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_query_renderer.c (renamed from src/gallium/state_trackers/dri/dri_query_renderer.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_query_renderer.h (renamed from src/gallium/state_trackers/dri/dri_query_renderer.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_screen.c (renamed from src/gallium/state_trackers/dri/dri_screen.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/dri_screen.h (renamed from src/gallium/state_trackers/dri/dri_screen.h) | 4 | ||||
-rw-r--r-- | src/gallium/frontends/dri/drisw.c (renamed from src/gallium/state_trackers/dri/drisw.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/dri/meson.build (renamed from src/gallium/state_trackers/dri/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/Makefile.sources (renamed from src/gallium/state_trackers/glx/xlib/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/SConscript (renamed from src/gallium/state_trackers/glx/xlib/SConscript) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/glx_api.c (renamed from src/gallium/state_trackers/glx/xlib/glx_api.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/glx_getproc.c (renamed from src/gallium/state_trackers/glx/xlib/glx_getproc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/glx_usefont.c (renamed from src/gallium/state_trackers/glx/xlib/glx_usefont.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/meson.build (renamed from src/gallium/state_trackers/glx/xlib/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/xm_api.c (renamed from src/gallium/state_trackers/glx/xlib/xm_api.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/xm_api.h (renamed from src/gallium/state_trackers/glx/xlib/xm_api.h) | 4 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/xm_public.h (renamed from src/gallium/state_trackers/glx/xlib/xm_public.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/xm_st.c (renamed from src/gallium/state_trackers/glx/xlib/xm_st.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/glx/xlib/xm_st.h (renamed from src/gallium/state_trackers/glx/xlib/xm_st.h) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/.editorconfig (renamed from src/gallium/state_trackers/hgl/.editorconfig) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/SConscript | 24 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/bitmap_wrapper.cpp (renamed from src/gallium/state_trackers/hgl/bitmap_wrapper.cpp) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/bitmap_wrapper.h (renamed from src/gallium/state_trackers/hgl/bitmap_wrapper.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/hgl.c (renamed from src/gallium/state_trackers/hgl/hgl.c) | 6 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/hgl_context.h (renamed from src/gallium/state_trackers/hgl/hgl_context.h) | 12 | ||||
-rw-r--r-- | src/gallium/frontends/hgl/meson.build (renamed from src/gallium/state_trackers/hgl/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/.editorconfig (renamed from src/gallium/state_trackers/nine/.editorconfig) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/Makefile.sources (renamed from src/gallium/state_trackers/nine/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/README (renamed from src/gallium/state_trackers/nine/README) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/adapter9.c (renamed from src/gallium/state_trackers/nine/adapter9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/adapter9.h (renamed from src/gallium/state_trackers/nine/adapter9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/authenticatedchannel9.c (renamed from src/gallium/state_trackers/nine/authenticatedchannel9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/authenticatedchannel9.h (renamed from src/gallium/state_trackers/nine/authenticatedchannel9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/basetexture9.c (renamed from src/gallium/state_trackers/nine/basetexture9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/basetexture9.h (renamed from src/gallium/state_trackers/nine/basetexture9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/buffer9.c (renamed from src/gallium/state_trackers/nine/buffer9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/buffer9.h (renamed from src/gallium/state_trackers/nine/buffer9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/cryptosession9.c (renamed from src/gallium/state_trackers/nine/cryptosession9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/cryptosession9.h (renamed from src/gallium/state_trackers/nine/cryptosession9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/cubetexture9.c (renamed from src/gallium/state_trackers/nine/cubetexture9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/cubetexture9.h (renamed from src/gallium/state_trackers/nine/cubetexture9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9.c (renamed from src/gallium/state_trackers/nine/device9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9.h (renamed from src/gallium/state_trackers/nine/device9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9ex.c (renamed from src/gallium/state_trackers/nine/device9ex.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9ex.h (renamed from src/gallium/state_trackers/nine/device9ex.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9video.c (renamed from src/gallium/state_trackers/nine/device9video.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/device9video.h (renamed from src/gallium/state_trackers/nine/device9video.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/guid.c (renamed from src/gallium/state_trackers/nine/guid.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/guid.h (renamed from src/gallium/state_trackers/nine/guid.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/indexbuffer9.c (renamed from src/gallium/state_trackers/nine/indexbuffer9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/indexbuffer9.h (renamed from src/gallium/state_trackers/nine/indexbuffer9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/iunknown.c (renamed from src/gallium/state_trackers/nine/iunknown.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/iunknown.h (renamed from src/gallium/state_trackers/nine/iunknown.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/meson.build (renamed from src/gallium/state_trackers/nine/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_buffer_upload.c (renamed from src/gallium/state_trackers/nine/nine_buffer_upload.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_buffer_upload.h (renamed from src/gallium/state_trackers/nine/nine_buffer_upload.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_csmt_helper.h (renamed from src/gallium/state_trackers/nine/nine_csmt_helper.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_debug.c (renamed from src/gallium/state_trackers/nine/nine_debug.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_debug.h (renamed from src/gallium/state_trackers/nine/nine_debug.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_defines.h (renamed from src/gallium/state_trackers/nine/nine_defines.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_dump.c (renamed from src/gallium/state_trackers/nine/nine_dump.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_dump.h (renamed from src/gallium/state_trackers/nine/nine_dump.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_ff.c (renamed from src/gallium/state_trackers/nine/nine_ff.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_ff.h (renamed from src/gallium/state_trackers/nine/nine_ff.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_flags.h (renamed from src/gallium/state_trackers/nine/nine_flags.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_helpers.c (renamed from src/gallium/state_trackers/nine/nine_helpers.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_helpers.h (renamed from src/gallium/state_trackers/nine/nine_helpers.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_limits.h (renamed from src/gallium/state_trackers/nine/nine_limits.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_lock.c (renamed from src/gallium/state_trackers/nine/nine_lock.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_lock.h (renamed from src/gallium/state_trackers/nine/nine_lock.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_pdata.h (renamed from src/gallium/state_trackers/nine/nine_pdata.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_pipe.c (renamed from src/gallium/state_trackers/nine/nine_pipe.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_pipe.h (renamed from src/gallium/state_trackers/nine/nine_pipe.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_queue.c (renamed from src/gallium/state_trackers/nine/nine_queue.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_queue.h (renamed from src/gallium/state_trackers/nine/nine_queue.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_quirk.c (renamed from src/gallium/state_trackers/nine/nine_quirk.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_quirk.h (renamed from src/gallium/state_trackers/nine/nine_quirk.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_shader.c (renamed from src/gallium/state_trackers/nine/nine_shader.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_shader.h (renamed from src/gallium/state_trackers/nine/nine_shader.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_state.c (renamed from src/gallium/state_trackers/nine/nine_state.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nine_state.h (renamed from src/gallium/state_trackers/nine/nine_state.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nineexoverlayextension.c (renamed from src/gallium/state_trackers/nine/nineexoverlayextension.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/nineexoverlayextension.h (renamed from src/gallium/state_trackers/nine/nineexoverlayextension.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/pixelshader9.c (renamed from src/gallium/state_trackers/nine/pixelshader9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/pixelshader9.h (renamed from src/gallium/state_trackers/nine/pixelshader9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/query9.c (renamed from src/gallium/state_trackers/nine/query9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/query9.h (renamed from src/gallium/state_trackers/nine/query9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/resource9.c (renamed from src/gallium/state_trackers/nine/resource9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/resource9.h (renamed from src/gallium/state_trackers/nine/resource9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/stateblock9.c (renamed from src/gallium/state_trackers/nine/stateblock9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/stateblock9.h (renamed from src/gallium/state_trackers/nine/stateblock9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/surface9.c (renamed from src/gallium/state_trackers/nine/surface9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/surface9.h (renamed from src/gallium/state_trackers/nine/surface9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/swapchain9.c (renamed from src/gallium/state_trackers/nine/swapchain9.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/nine/swapchain9.h (renamed from src/gallium/state_trackers/nine/swapchain9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/swapchain9ex.c (renamed from src/gallium/state_trackers/nine/swapchain9ex.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/swapchain9ex.h (renamed from src/gallium/state_trackers/nine/swapchain9ex.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/texture9.c (renamed from src/gallium/state_trackers/nine/texture9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/texture9.h (renamed from src/gallium/state_trackers/nine/texture9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/threadpool.c (renamed from src/gallium/state_trackers/nine/threadpool.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/nine/threadpool.h (renamed from src/gallium/state_trackers/nine/threadpool.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexbuffer9.c (renamed from src/gallium/state_trackers/nine/vertexbuffer9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexbuffer9.h (renamed from src/gallium/state_trackers/nine/vertexbuffer9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexdeclaration9.c (renamed from src/gallium/state_trackers/nine/vertexdeclaration9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexdeclaration9.h (renamed from src/gallium/state_trackers/nine/vertexdeclaration9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexshader9.c (renamed from src/gallium/state_trackers/nine/vertexshader9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/vertexshader9.h (renamed from src/gallium/state_trackers/nine/vertexshader9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/volume9.c (renamed from src/gallium/state_trackers/nine/volume9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/volume9.h (renamed from src/gallium/state_trackers/nine/volume9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/volumetexture9.c (renamed from src/gallium/state_trackers/nine/volumetexture9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/nine/volumetexture9.h (renamed from src/gallium/state_trackers/nine/volumetexture9.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/Makefile.sources (renamed from src/gallium/state_trackers/omx/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/Makefile.sources (renamed from src/gallium/state_trackers/omx/bellagio/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/entrypoint.c (renamed from src/gallium/state_trackers/omx/bellagio/entrypoint.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/entrypoint.h (renamed from src/gallium/state_trackers/omx/bellagio/entrypoint.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_dec.c (renamed from src/gallium/state_trackers/omx/bellagio/vid_dec.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_dec.h (renamed from src/gallium/state_trackers/omx/bellagio/vid_dec.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_dec_h264.c (renamed from src/gallium/state_trackers/omx/bellagio/vid_dec_h264.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_dec_h265.c (renamed from src/gallium/state_trackers/omx/bellagio/vid_dec_h265.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_dec_mpeg12.c (renamed from src/gallium/state_trackers/omx/bellagio/vid_dec_mpeg12.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_enc.c (renamed from src/gallium/state_trackers/omx/bellagio/vid_enc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/bellagio/vid_enc.h (renamed from src/gallium/state_trackers/omx/bellagio/vid_enc.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/meson.build (renamed from src/gallium/state_trackers/omx/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/Makefile.sources (renamed from src/gallium/state_trackers/omx/tizonia/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/entrypoint.c (renamed from src/gallium/state_trackers/omx/tizonia/entrypoint.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/entrypoint.h (renamed from src/gallium/state_trackers/omx/tizonia/entrypoint.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264d.c (renamed from src/gallium/state_trackers/omx/tizonia/h264d.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264d.h (renamed from src/gallium/state_trackers/omx/tizonia/h264d.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264dinport.c (renamed from src/gallium/state_trackers/omx/tizonia/h264dinport.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264dinport.h (renamed from src/gallium/state_trackers/omx/tizonia/h264dinport.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264dinport_decls.h (renamed from src/gallium/state_trackers/omx/tizonia/h264dinport_decls.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264dprc.c (renamed from src/gallium/state_trackers/omx/tizonia/h264dprc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264dprc.h (renamed from src/gallium/state_trackers/omx/tizonia/h264dprc.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264e.c (renamed from src/gallium/state_trackers/omx/tizonia/h264e.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264e.h (renamed from src/gallium/state_trackers/omx/tizonia/h264e.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264einport.c (renamed from src/gallium/state_trackers/omx/tizonia/h264einport.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264einport.h (renamed from src/gallium/state_trackers/omx/tizonia/h264einport.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264einport_decls.h (renamed from src/gallium/state_trackers/omx/tizonia/h264einport_decls.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264eoutport.c (renamed from src/gallium/state_trackers/omx/tizonia/h264eoutport.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264eoutport.h (renamed from src/gallium/state_trackers/omx/tizonia/h264eoutport.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264eoutport_decls.h (renamed from src/gallium/state_trackers/omx/tizonia/h264eoutport_decls.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264eprc.c (renamed from src/gallium/state_trackers/omx/tizonia/h264eprc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/h264eprc.h (renamed from src/gallium/state_trackers/omx/tizonia/h264eprc.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/tizonia/names.h (renamed from src/gallium/state_trackers/omx/tizonia/names.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_dec_common.c (renamed from src/gallium/state_trackers/omx/vid_dec_common.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_dec_common.h (renamed from src/gallium/state_trackers/omx/vid_dec_common.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_dec_h264_common.c (renamed from src/gallium/state_trackers/omx/vid_dec_h264_common.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_dec_h264_common.h (renamed from src/gallium/state_trackers/omx/vid_dec_h264_common.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_enc_common.c (renamed from src/gallium/state_trackers/omx/vid_enc_common.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_enc_common.h (renamed from src/gallium/state_trackers/omx/vid_enc_common.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_omx_common.c (renamed from src/gallium/state_trackers/omx/vid_omx_common.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/omx/vid_omx_common.h (renamed from src/gallium/state_trackers/omx/vid_omx_common.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/osmesa/Makefile.sources | 2 | ||||
-rw-r--r-- | src/gallium/frontends/osmesa/SConscript | 24 | ||||
-rw-r--r-- | src/gallium/frontends/osmesa/meson.build (renamed from src/gallium/state_trackers/osmesa/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/osmesa/osmesa.c (renamed from src/gallium/state_trackers/osmesa/osmesa.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/va/Makefile.sources (renamed from src/gallium/state_trackers/va/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/buffer.c (renamed from src/gallium/state_trackers/va/buffer.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/va/config.c (renamed from src/gallium/state_trackers/va/config.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/context.c (renamed from src/gallium/state_trackers/va/context.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/display.c (renamed from src/gallium/state_trackers/va/display.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/image.c (renamed from src/gallium/state_trackers/va/image.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/meson.build (renamed from src/gallium/state_trackers/va/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture.c (renamed from src/gallium/state_trackers/va/picture.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_h264.c (renamed from src/gallium/state_trackers/va/picture_h264.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_h264_enc.c (renamed from src/gallium/state_trackers/va/picture_h264_enc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_hevc.c (renamed from src/gallium/state_trackers/va/picture_hevc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_hevc_enc.c (renamed from src/gallium/state_trackers/va/picture_hevc_enc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_mjpeg.c (renamed from src/gallium/state_trackers/va/picture_mjpeg.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_mpeg12.c (renamed from src/gallium/state_trackers/va/picture_mpeg12.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_mpeg4.c (renamed from src/gallium/state_trackers/va/picture_mpeg4.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_vc1.c (renamed from src/gallium/state_trackers/va/picture_vc1.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/picture_vp9.c (renamed from src/gallium/state_trackers/va/picture_vp9.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/postproc.c (renamed from src/gallium/state_trackers/va/postproc.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/subpicture.c (renamed from src/gallium/state_trackers/va/subpicture.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/va/surface.c (renamed from src/gallium/state_trackers/va/surface.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/va/va_private.h (renamed from src/gallium/state_trackers/va/va_private.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/Makefile.sources (renamed from src/gallium/state_trackers/vdpau/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/bitmap.c (renamed from src/gallium/state_trackers/vdpau/bitmap.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/decode.c (renamed from src/gallium/state_trackers/vdpau/decode.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/device.c (renamed from src/gallium/state_trackers/vdpau/device.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/ftab.c (renamed from src/gallium/state_trackers/vdpau/ftab.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/htab.c (renamed from src/gallium/state_trackers/vdpau/htab.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/meson.build (renamed from src/gallium/state_trackers/vdpau/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/mixer.c (renamed from src/gallium/state_trackers/vdpau/mixer.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/output.c (renamed from src/gallium/state_trackers/vdpau/output.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/preemption.c (renamed from src/gallium/state_trackers/vdpau/preemption.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/presentation.c (renamed from src/gallium/state_trackers/vdpau/presentation.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/query.c (renamed from src/gallium/state_trackers/vdpau/query.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/surface.c (renamed from src/gallium/state_trackers/vdpau/surface.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/vdpau/vdpau_private.h (renamed from src/gallium/state_trackers/vdpau/vdpau_private.h) | 6 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/Makefile.sources (renamed from src/gallium/state_trackers/wgl/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/SConscript (renamed from src/gallium/state_trackers/wgl/SConscript) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/gldrv.h (renamed from src/gallium/state_trackers/wgl/gldrv.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/meson.build (renamed from src/gallium/state_trackers/wgl/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/opengl32.def (renamed from src/gallium/state_trackers/wgl/opengl32.def) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/opengl32.mingw.def (renamed from src/gallium/state_trackers/wgl/opengl32.mingw.def) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_context.c (renamed from src/gallium/state_trackers/wgl/stw_context.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_context.h (renamed from src/gallium/state_trackers/wgl/stw_context.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_device.c (renamed from src/gallium/state_trackers/wgl/stw_device.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_device.h (renamed from src/gallium/state_trackers/wgl/stw_device.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_context.c (renamed from src/gallium/state_trackers/wgl/stw_ext_context.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_context.h (renamed from src/gallium/state_trackers/wgl/stw_ext_context.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_extensionsstring.c (renamed from src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_pbuffer.c (renamed from src/gallium/state_trackers/wgl/stw_ext_pbuffer.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_pixelformat.c (renamed from src/gallium/state_trackers/wgl/stw_ext_pixelformat.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_rendertexture.c (renamed from src/gallium/state_trackers/wgl/stw_ext_rendertexture.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_ext_swapinterval.c (renamed from src/gallium/state_trackers/wgl/stw_ext_swapinterval.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_framebuffer.c (renamed from src/gallium/state_trackers/wgl/stw_framebuffer.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_framebuffer.h (renamed from src/gallium/state_trackers/wgl/stw_framebuffer.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_getprocaddress.c (renamed from src/gallium/state_trackers/wgl/stw_getprocaddress.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_nopfuncs.c (renamed from src/gallium/state_trackers/wgl/stw_nopfuncs.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_nopfuncs.h (renamed from src/gallium/state_trackers/wgl/stw_nopfuncs.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_pixelformat.c (renamed from src/gallium/state_trackers/wgl/stw_pixelformat.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_pixelformat.h (renamed from src/gallium/state_trackers/wgl/stw_pixelformat.h) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_st.c (renamed from src/gallium/state_trackers/wgl/stw_st.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_st.h (renamed from src/gallium/state_trackers/wgl/stw_st.h) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_tls.c (renamed from src/gallium/state_trackers/wgl/stw_tls.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_tls.h (renamed from src/gallium/state_trackers/wgl/stw_tls.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_wgl.c (renamed from src/gallium/state_trackers/wgl/stw_wgl.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_wgl.h (renamed from src/gallium/state_trackers/wgl/stw_wgl.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/wgl/stw_winsys.h (renamed from src/gallium/state_trackers/wgl/stw_winsys.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/.editorconfig (renamed from src/gallium/state_trackers/xa/.editorconfig) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/Makefile.sources (renamed from src/gallium/state_trackers/xa/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/README (renamed from src/gallium/state_trackers/xa/README) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/meson.build (renamed from src/gallium/state_trackers/xa/meson.build) | 0 | ||||
-rwxr-xr-x | src/gallium/frontends/xa/xa-indent.sh (renamed from src/gallium/state_trackers/xa/xa-indent.sh) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_composite.c (renamed from src/gallium/state_trackers/xa/xa_composite.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_composite.h (renamed from src/gallium/state_trackers/xa/xa_composite.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_context.c (renamed from src/gallium/state_trackers/xa/xa_context.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_context.h (renamed from src/gallium/state_trackers/xa/xa_context.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_priv.h (renamed from src/gallium/state_trackers/xa/xa_priv.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_renderer.c (renamed from src/gallium/state_trackers/xa/xa_renderer.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_tgsi.c (renamed from src/gallium/state_trackers/xa/xa_tgsi.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_tracker.c (renamed from src/gallium/state_trackers/xa/xa_tracker.c) | 2 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_tracker.h.in (renamed from src/gallium/state_trackers/xa/xa_tracker.h.in) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xa/xa_yuv.c (renamed from src/gallium/state_trackers/xa/xa_yuv.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/Makefile.sources (renamed from src/gallium/state_trackers/xvmc/Makefile.sources) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/attributes.c (renamed from src/gallium/state_trackers/xvmc/attributes.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/block.c (renamed from src/gallium/state_trackers/xvmc/block.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/context.c (renamed from src/gallium/state_trackers/xvmc/context.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/meson.build (renamed from src/gallium/state_trackers/xvmc/meson.build) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/subpicture.c (renamed from src/gallium/state_trackers/xvmc/subpicture.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/surface.c (renamed from src/gallium/state_trackers/xvmc/surface.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/test_blocks.c (renamed from src/gallium/state_trackers/xvmc/tests/test_blocks.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/test_context.c (renamed from src/gallium/state_trackers/xvmc/tests/test_context.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/test_rendering.c (renamed from src/gallium/state_trackers/xvmc/tests/test_rendering.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/test_subpicture.c (renamed from src/gallium/state_trackers/xvmc/tests/test_subpicture.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/test_surface.c (renamed from src/gallium/state_trackers/xvmc/tests/test_surface.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/testlib.c (renamed from src/gallium/state_trackers/xvmc/tests/testlib.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/testlib.h (renamed from src/gallium/state_trackers/xvmc/tests/testlib.h) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/tests/xvmc_bench.c (renamed from src/gallium/state_trackers/xvmc/tests/xvmc_bench.c) | 0 | ||||
-rw-r--r-- | src/gallium/frontends/xvmc/xvmc_private.h (renamed from src/gallium/state_trackers/xvmc/xvmc_private.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/api.h (renamed from src/gallium/include/state_tracker/st_api.h) | 6 | ||||
-rw-r--r-- | src/gallium/include/frontend/drisw_api.h (renamed from src/gallium/include/state_tracker/drisw_api.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/drm_driver.h (renamed from src/gallium/include/state_tracker/drm_driver.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/graw.h (renamed from src/gallium/include/state_tracker/graw.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/opencl_interop.h (renamed from src/gallium/include/state_tracker/opencl_interop.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/sw_driver.h (renamed from src/gallium/include/state_tracker/sw_driver.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/sw_winsys.h (renamed from src/gallium/include/state_tracker/sw_winsys.h) | 2 | ||||
-rw-r--r-- | src/gallium/include/frontend/vdpau_dmabuf.h (renamed from src/gallium/include/state_tracker/vdpau_dmabuf.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/vdpau_funcs.h (renamed from src/gallium/include/state_tracker/vdpau_funcs.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/vdpau_interop.h (renamed from src/gallium/include/state_tracker/vdpau_interop.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/winsys_handle.h (renamed from src/gallium/include/state_tracker/winsys_handle.h) | 0 | ||||
-rw-r--r-- | src/gallium/include/frontend/xlibsw_api.h (renamed from src/gallium/include/state_tracker/xlibsw_api.h) | 2 | ||||
-rw-r--r-- | src/gallium/meson.build | 24 | ||||
-rw-r--r-- | src/gallium/targets/d3dadapter9/drm.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/d3dadapter9/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/targets/dri/SConscript | 59 | ||||
-rw-r--r-- | src/gallium/targets/dri/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/targets/graw-gdi/graw_gdi.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/graw-null/graw_null.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/graw-null/graw_util.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/graw-xlib/graw_xlib.c | 4 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 2 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/SConscript | 47 | ||||
-rw-r--r-- | src/gallium/targets/haiku-softpipe/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/targets/libgl-gdi/SConscript | 6 | ||||
-rw-r--r-- | src/gallium/targets/libgl-gdi/meson.build | 4 | ||||
-rw-r--r-- | src/gallium/targets/libgl-xlib/SConscript | 2 | ||||
-rw-r--r-- | src/gallium/targets/libgl-xlib/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_i915.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_kmsro.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_msm.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_nouveau.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_r300.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_r600.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_radeonsi.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_swrast.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/pipe-loader/pipe_vmwgfx.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/clear.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/fs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/graw_util.h | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/gs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/quad-sample.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/shader-leak.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/tri-gs.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/tri-instanced.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/vs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/amdgpu_bo.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/i915/drm/i915_drm_buffer.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/i915/drm/i915_drm_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_dri.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_ioctl.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/dri/dri_sw_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/dri/dri_sw_winsys.h | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/gdi/gdi_sw_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/gdi/gdi_sw_winsys.h | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/hgl/SConscript | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/hgl/hgl_sw_winsys.c | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/hgl/meson.build | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/null/null_sw_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c | 2 |
439 files changed, 341 insertions, 155 deletions
diff --git a/src/gallium/Android.mk b/src/gallium/Android.mk index 59ee0e0f68b..78e821581b9 100644 --- a/src/gallium/Android.mk +++ b/src/gallium/Android.mk @@ -46,7 +46,7 @@ SUBDIRS += winsys/vc4/drm drivers/vc4 SUBDIRS += winsys/virgl/common winsys/virgl/drm winsys/virgl/vtest drivers/virgl SUBDIRS += winsys/svga/drm drivers/svga SUBDIRS += winsys/etnaviv/drm drivers/etnaviv drivers/renderonly -SUBDIRS += state_trackers/dri +SUBDIRS += frontends/dri SUBDIRS += winsys/iris/drm drivers/iris SUBDIRS += winsys/lima/drm drivers/lima SUBDIRS += winsys/panfrost/drm drivers/panfrost diff --git a/src/gallium/SConscript b/src/gallium/SConscript index e0ffa5f4d0a..5017d5fe247 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -45,12 +45,12 @@ if env['platform'] == 'windows': if not env['embedded']: if env['x11']: SConscript([ - 'state_trackers/glx/xlib/SConscript', + 'frontends/glx/xlib/SConscript', 'targets/libgl-xlib/SConscript', ]) if env['platform'] == 'windows': SConscript([ - 'state_trackers/wgl/SConscript', + 'frontends/wgl/SConscript', 'targets/libgl-gdi/SConscript', ]) diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.h b/src/gallium/auxiliary/pipe-loader/pipe_loader.h index a0d9c8a7dec..b57df804e56 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.h +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.h @@ -34,7 +34,7 @@ #define PIPE_LOADER_H #include "pipe/p_compiler.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/xmlconfig.h" #ifdef __cplusplus diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c index 7d90285a484..5d6865be1b0 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c @@ -39,7 +39,7 @@ #include "loader.h" #include "target-helpers/drm_helper_public.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "pipe_loader_priv.h" #include "util/u_memory.h" diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c index c2a3896b8f7..74329e4cba9 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c @@ -38,9 +38,9 @@ #include "sw/null/null_sw_winsys.h" #include "sw/wrapper/wrapper_sw_winsys.h" #include "target-helpers/sw_helper_public.h" -#include "state_tracker/drisw_api.h" -#include "state_tracker/sw_driver.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/drisw_api.h" +#include "frontend/sw_driver.h" +#include "frontend/sw_winsys.h" struct pipe_loader_sw_device { struct pipe_loader_device base; diff --git a/src/gallium/auxiliary/postprocess/ADDING b/src/gallium/auxiliary/postprocess/ADDING index 3735835142a..67e6bdf9c1f 100644 --- a/src/gallium/auxiliary/postprocess/ADDING +++ b/src/gallium/auxiliary/postprocess/ADDING @@ -65,7 +65,7 @@ drivers/dri/common/xmlpool/t_options.h, and regenerate options.h by running make directory. Use the name you put into filters.h as the config option name. With driconf aware of the option, make Gallium aware of it too. Add it to -state_trackers/dri/common/dri_screen.c in a proper section, specifying its default value and +frontends/dri/common/dri_screen.c in a proper section, specifying its default value and the accepted range (if applicable). Do check that __driNConfigOptions is still correct after the addition. diff --git a/src/gallium/auxiliary/renderonly/renderonly.c b/src/gallium/auxiliary/renderonly/renderonly.c index bfb6b758fbe..2daf36920c0 100644 --- a/src/gallium/auxiliary/renderonly/renderonly.c +++ b/src/gallium/auxiliary/renderonly/renderonly.c @@ -31,7 +31,7 @@ #include <stdio.h> #include <xf86drm.h> -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "pipe/p_screen.h" #include "util/format/u_format.h" #include "util/u_inlines.h" diff --git a/src/gallium/auxiliary/renderonly/renderonly.h b/src/gallium/auxiliary/renderonly/renderonly.h index a8d6a686ed4..fe13fea1495 100644 --- a/src/gallium/auxiliary/renderonly/renderonly.h +++ b/src/gallium/auxiliary/renderonly/renderonly.h @@ -28,7 +28,7 @@ #define RENDERONLY_H #include <stdint.h> -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "pipe/p_state.h" struct renderonly_scanout { diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h index 01b65d6c7f8..6010631e9a6 100644 --- a/src/gallium/auxiliary/target-helpers/drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/drm_helper.h @@ -4,7 +4,7 @@ #include <stdio.h> #include "target-helpers/inline_debug_helper.h" #include "target-helpers/drm_helper_public.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/xmlpool.h" #ifdef GALLIUM_I915 diff --git a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h index c89ef14a6fb..6106cc02044 100644 --- a/src/gallium/auxiliary/target-helpers/inline_sw_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_sw_helper.h @@ -4,7 +4,7 @@ #include "pipe/p_compiler.h" #include "util/u_debug.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #ifdef GALLIUM_SWR #include "swr/swr_public.h" diff --git a/src/gallium/auxiliary/target-helpers/sw_helper.h b/src/gallium/auxiliary/target-helpers/sw_helper.h index e129819477d..76cfe14f1d0 100644 --- a/src/gallium/auxiliary/target-helpers/sw_helper.h +++ b/src/gallium/auxiliary/target-helpers/sw_helper.h @@ -5,7 +5,7 @@ #include "pipe/p_compiler.h" #include "util/u_debug.h" #include "target-helpers/sw_helper_public.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" /* Helper function to choose and instantiate one of the software rasterizers: diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c index 00f75906173..a0e9561eeb6 100644 --- a/src/gallium/auxiliary/util/u_tests.c +++ b/src/gallium/auxiliary/util/u_tests.c @@ -38,7 +38,7 @@ #include "tgsi/tgsi_strings.h" #include "tgsi/tgsi_text.h" #include "cso_cache/cso_context.h" -#include "state_tracker/winsys_handle.h" +#include "frontend/winsys_handle.h" #include <stdio.h> #define TOLERANCE 0.01 diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c b/src/gallium/auxiliary/vl/vl_winsys_dri.c index 1905516a761..524f9f3a162 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_dri.c +++ b/src/gallium/auxiliary/vl/vl_winsys_dri.c @@ -42,7 +42,7 @@ #include "pipe/p_context.h" #include "pipe/p_state.h" #include "pipe-loader/pipe_loader.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_memory.h" #include "util/crc32.h" diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c index 9014b97bdfd..bae0405e1f6 100644 --- a/src/gallium/auxiliary/vl/vl_winsys_drm.c +++ b/src/gallium/auxiliary/vl/vl_winsys_drm.c @@ -29,7 +29,7 @@ #include "pipe/p_screen.h" #include "pipe-loader/pipe_loader.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_memory.h" #include "vl/vl_winsys.h" diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c index 9fbacd3c49b..d5f445881f3 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.c +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c @@ -45,7 +45,7 @@ #include "util/u_screen.h" #include "util/u_string.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "drm-uapi/drm_fourcc.h" diff --git a/src/gallium/drivers/freedreno/freedreno_resource.c b/src/gallium/drivers/freedreno/freedreno_resource.c index 2b89d6afb1e..0586271fe6f 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.c +++ b/src/gallium/drivers/freedreno/freedreno_resource.c @@ -48,7 +48,7 @@ #include <errno.h> /* XXX this should go away, needed for 'struct winsys_handle' */ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" /* A private modifier for now, so we have a way to request tiled but not * compressed. It would perhaps be good to get real modifiers for the diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index 1e273260936..7db4174cb21 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -289,7 +289,7 @@ struct i915_context { struct blitter_context* blitter; }; -/* A flag for each state_tracker state object: +/* A flag for each frontend state object: */ #define I915_NEW_VIEWPORT 0x1 #define I915_NEW_RASTERIZER 0x2 diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index f3c38ae3237..e90f2dc7574 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -113,7 +113,7 @@ i915_create_blend_state(struct pipe_context *pipe, unsigned dstA = blend->rt[0].alpha_dst_factor; /* Special handling for MIN/MAX filter modes handled at - * state_tracker level. + * frontend level. */ if (srcA != srcRGB || diff --git a/src/gallium/drivers/iris/iris_screen.h b/src/gallium/drivers/iris/iris_screen.h index 5ec58f6c216..9ee111c911a 100644 --- a/src/gallium/drivers/iris/iris_screen.h +++ b/src/gallium/drivers/iris/iris_screen.h @@ -24,7 +24,7 @@ #define IRIS_SCREEN_H #include "pipe/p_screen.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/disk_cache.h" #include "util/slab.h" #include "util/u_screen.h" diff --git a/src/gallium/drivers/lima/lima_bo.c b/src/gallium/drivers/lima/lima_bo.c index cccf2f64cac..9e6d46b05de 100644 --- a/src/gallium/drivers/lima/lima_bo.c +++ b/src/gallium/drivers/lima/lima_bo.c @@ -34,7 +34,7 @@ #include "util/os_time.h" #include "os/os_mman.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "lima_screen.h" #include "lima_bo.h" diff --git a/src/gallium/drivers/lima/lima_resource.c b/src/gallium/drivers/lima/lima_resource.c index 4644ea402c9..aa5e1f21d66 100644 --- a/src/gallium/drivers/lima/lima_resource.c +++ b/src/gallium/drivers/lima/lima_resource.c @@ -35,7 +35,7 @@ #include "util/u_drm.h" #include "renderonly/renderonly.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "drm-uapi/drm_fourcc.h" #include "drm-uapi/lima_drm.h" diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index a980700b16e..e3f1f70237c 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -52,7 +52,7 @@ #include "lp_rast.h" #include "lp_cs_tpool.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "nir.h" diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index 6b46e82756d..d7ec3591c6e 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -53,7 +53,7 @@ #include "lp_setup_context.h" #include "lp_screen.h" #include "lp_state.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "draw/draw_context.h" #include "draw/draw_vbuf.h" diff --git a/src/gallium/drivers/llvmpipe/lp_state_cs.c b/src/gallium/drivers/llvmpipe/lp_state_cs.c index 38210d444f5..1092ea513d7 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_cs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_cs.c @@ -44,7 +44,7 @@ #include "lp_screen.h" #include "lp_memory.h" #include "lp_cs_tpool.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "nir/nir_to_tgsi_info.h" #include "nir_serialize.h" struct lp_cs_job_info { diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c index 0851213a798..6c5511e3e81 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_sampler.c +++ b/src/gallium/drivers/llvmpipe/lp_state_sampler.c @@ -38,7 +38,7 @@ #include "lp_screen.h" #include "lp_state.h" #include "lp_debug.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" static void * diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index fa7a1ff1129..cbeaf3fd0ba 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.c +++ b/src/gallium/drivers/llvmpipe/lp_texture.c @@ -51,7 +51,7 @@ #include "lp_state.h" #include "lp_rast.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #ifdef DEBUG diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index de9cce3812a..7f90784b8ed 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/nouveau_screen.c @@ -26,7 +26,7 @@ #include <compiler/glsl_types.h> /* XXX this should go away */ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" int nouveau_mesa_debug = 0; diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c index c897e4e8b97..578335d7001 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c @@ -24,7 +24,7 @@ #include "pipe/p_state.h" #include "pipe/p_defines.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_inlines.h" #include "util/format/u_format.h" diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index 443df15d257..2ccbe6d7acd 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -33,7 +33,7 @@ #include <fcntl.h> #include "drm-uapi/drm_fourcc.h" -#include "state_tracker/winsys_handle.h" +#include "frontend/winsys_handle.h" #include "util/format/u_format.h" #include "util/u_memory.h" #include "util/u_surface.h" diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 84c50431cd5..be5818794c6 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -36,7 +36,7 @@ #include "util/u_memory.h" #include "pipe/p_screen.h" -#include "state_tracker/winsys_handle.h" +#include "frontend/winsys_handle.h" /* These formats are supported by swapping their bytes. * The swizzles must be set exactly like their non-swapped counterparts, diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 6b2f5956d9d..edbe9f97efa 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -33,7 +33,7 @@ #include "util/u_pack_color.h" #include "util/u_surface.h" #include "util/os_time.h" -#include "state_tracker/winsys_handle.h" +#include "frontend/winsys_handle.h" #include <errno.h> #include <inttypes.h> diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 46bdd4d5843..edb5944aec3 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -27,7 +27,7 @@ #include "si_pipe.h" #include "si_query.h" #include "sid.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/format/u_format.h" #include "util/os_time.h" #include "util/u_log.h" diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 41910c10a31..f9d43bd6ea8 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -37,7 +37,7 @@ #include "pipe/p_screen.h" #include "draw/draw_context.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "tgsi/tgsi_exec.h" #include "sp_texture.h" diff --git a/src/gallium/drivers/softpipe/sp_state_sampler.c b/src/gallium/drivers/softpipe/sp_state_sampler.c index 14e44d1de9f..2755f26bea2 100644 --- a/src/gallium/drivers/softpipe/sp_state_sampler.c +++ b/src/gallium/drivers/softpipe/sp_state_sampler.c @@ -41,7 +41,7 @@ #include "sp_tex_sample.h" #include "sp_tex_tile_cache.h" #include "sp_screen.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" /** diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index a8f0e6cee5a..c9a22a97891 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -44,7 +44,7 @@ #include "sp_texture.h" #include "sp_screen.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" /** diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index fc63ec34670..60afb2b6740 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -603,7 +603,7 @@ struct svga_context boolean disable_rasterizer; /* Set if to disable rasterization */ }; -/* A flag for each state_tracker state object: +/* A flag for each frontend state object: */ #define SVGA_NEW_BLEND 0x1 #define SVGA_NEW_DEPTH_STENCIL_ALPHA 0x2 diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index ef5b4524c1a..2939637f1c5 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -38,7 +38,7 @@ #include "util/u_string.h" #include "util/u_screen.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "jit_api.h" diff --git a/src/gallium/drivers/tegra/tegra_screen.c b/src/gallium/drivers/tegra/tegra_screen.c index 9ec3f6fe1d4..73efb8e904e 100644 --- a/src/gallium/drivers/tegra/tegra_screen.c +++ b/src/gallium/drivers/tegra/tegra_screen.c @@ -37,7 +37,7 @@ #include "util/u_debug.h" #include "util/u_inlines.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "nouveau/drm/nouveau_drm_public.h" diff --git a/src/gallium/drivers/v3d/v3d_screen.h b/src/gallium/drivers/v3d/v3d_screen.h index f9ff26f18f8..586b3925065 100644 --- a/src/gallium/drivers/v3d/v3d_screen.h +++ b/src/gallium/drivers/v3d/v3d_screen.h @@ -27,7 +27,7 @@ #include "pipe/p_screen.h" #include "renderonly/renderonly.h" #include "os/os_thread.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/list.h" #include "util/slab.h" #include "broadcom/common/v3d_debug.h" diff --git a/src/gallium/drivers/v3d/v3dx_emit.c b/src/gallium/drivers/v3d/v3dx_emit.c index 18c2473955b..bcad6cddac6 100644 --- a/src/gallium/drivers/v3d/v3dx_emit.c +++ b/src/gallium/drivers/v3d/v3dx_emit.c @@ -799,7 +799,7 @@ v3dX(emit_state)(struct pipe_context *pctx) if (v3d->dirty & VC5_DIRTY_SAMPLE_STATE) { cl_emit(&job->bcl, SAMPLE_STATE, state) { /* Note: SampleCoverage was handled at the - * state_tracker level by converting to sample_mask. + * frontend level by converting to sample_mask. */ state.coverage = 1.0; state.mask = job->msaa ? v3d->sample_mask : 0xf; diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index fa4becd8a3c..2a5a160354e 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -27,7 +27,7 @@ #include "pipe/p_screen.h" #include "renderonly/renderonly.h" #include "os/os_thread.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/list.h" #include "util/slab.h" diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index 5467fe487b9..b1ab56699f6 100644 --- a/src/gallium/drivers/zink/zink_resource.c +++ b/src/gallium/drivers/zink/zink_resource.c @@ -33,7 +33,7 @@ #include "util/u_inlines.h" #include "util/u_memory.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" static void zink_resource_destroy(struct pipe_screen *pscreen, diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 92263a26eee..feb7fdb6d3a 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -37,7 +37,7 @@ #include "util/u_screen.h" #include "util/u_string.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" static const struct debug_named_value debug_options[] = { diff --git a/src/gallium/state_trackers/README b/src/gallium/frontends/README index 28dd27bbd50..28dd27bbd50 100644 --- a/src/gallium/state_trackers/README +++ b/src/gallium/frontends/README diff --git a/src/gallium/state_trackers/clover/Doxyfile b/src/gallium/frontends/clover/Doxyfile index 19337bbd656..19337bbd656 100644 --- a/src/gallium/state_trackers/clover/Doxyfile +++ b/src/gallium/frontends/clover/Doxyfile diff --git a/src/gallium/state_trackers/clover/Makefile.sources b/src/gallium/frontends/clover/Makefile.sources index 38f94981fb6..38f94981fb6 100644 --- a/src/gallium/state_trackers/clover/Makefile.sources +++ b/src/gallium/frontends/clover/Makefile.sources diff --git a/src/gallium/state_trackers/clover/api/context.cpp b/src/gallium/frontends/clover/api/context.cpp index c0cd2d32b95..c0cd2d32b95 100644 --- a/src/gallium/state_trackers/clover/api/context.cpp +++ b/src/gallium/frontends/clover/api/context.cpp diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/frontends/clover/api/device.cpp index 042f2eda21c..042f2eda21c 100644 --- a/src/gallium/state_trackers/clover/api/device.cpp +++ b/src/gallium/frontends/clover/api/device.cpp diff --git a/src/gallium/state_trackers/clover/api/dispatch.cpp b/src/gallium/frontends/clover/api/dispatch.cpp index 6e1b0351afa..6e1b0351afa 100644 --- a/src/gallium/state_trackers/clover/api/dispatch.cpp +++ b/src/gallium/frontends/clover/api/dispatch.cpp diff --git a/src/gallium/state_trackers/clover/api/dispatch.hpp b/src/gallium/frontends/clover/api/dispatch.hpp index ea835ed6da4..ea835ed6da4 100644 --- a/src/gallium/state_trackers/clover/api/dispatch.hpp +++ b/src/gallium/frontends/clover/api/dispatch.hpp diff --git a/src/gallium/state_trackers/clover/api/event.cpp b/src/gallium/frontends/clover/api/event.cpp index 3f89644d0a4..3f89644d0a4 100644 --- a/src/gallium/state_trackers/clover/api/event.cpp +++ b/src/gallium/frontends/clover/api/event.cpp diff --git a/src/gallium/state_trackers/clover/api/interop.cpp b/src/gallium/frontends/clover/api/interop.cpp index b96069f5167..b96069f5167 100644 --- a/src/gallium/state_trackers/clover/api/interop.cpp +++ b/src/gallium/frontends/clover/api/interop.cpp diff --git a/src/gallium/state_trackers/clover/api/kernel.cpp b/src/gallium/frontends/clover/api/kernel.cpp index 31a87b63868..31a87b63868 100644 --- a/src/gallium/state_trackers/clover/api/kernel.cpp +++ b/src/gallium/frontends/clover/api/kernel.cpp diff --git a/src/gallium/state_trackers/clover/api/memory.cpp b/src/gallium/frontends/clover/api/memory.cpp index e03793339c1..e03793339c1 100644 --- a/src/gallium/state_trackers/clover/api/memory.cpp +++ b/src/gallium/frontends/clover/api/memory.cpp diff --git a/src/gallium/state_trackers/clover/api/platform.cpp b/src/gallium/frontends/clover/api/platform.cpp index 7360461e62f..7360461e62f 100644 --- a/src/gallium/state_trackers/clover/api/platform.cpp +++ b/src/gallium/frontends/clover/api/platform.cpp diff --git a/src/gallium/state_trackers/clover/api/program.cpp b/src/gallium/frontends/clover/api/program.cpp index 33f843e9c87..33f843e9c87 100644 --- a/src/gallium/state_trackers/clover/api/program.cpp +++ b/src/gallium/frontends/clover/api/program.cpp diff --git a/src/gallium/state_trackers/clover/api/queue.cpp b/src/gallium/frontends/clover/api/queue.cpp index 65b271b216f..65b271b216f 100644 --- a/src/gallium/state_trackers/clover/api/queue.cpp +++ b/src/gallium/frontends/clover/api/queue.cpp diff --git a/src/gallium/state_trackers/clover/api/sampler.cpp b/src/gallium/frontends/clover/api/sampler.cpp index 482e55a9ce9..482e55a9ce9 100644 --- a/src/gallium/state_trackers/clover/api/sampler.cpp +++ b/src/gallium/frontends/clover/api/sampler.cpp diff --git a/src/gallium/state_trackers/clover/api/transfer.cpp b/src/gallium/frontends/clover/api/transfer.cpp index fa8741e02b4..fa8741e02b4 100644 --- a/src/gallium/state_trackers/clover/api/transfer.cpp +++ b/src/gallium/frontends/clover/api/transfer.cpp diff --git a/src/gallium/state_trackers/clover/api/util.hpp b/src/gallium/frontends/clover/api/util.hpp index 66bd12597c6..66bd12597c6 100644 --- a/src/gallium/state_trackers/clover/api/util.hpp +++ b/src/gallium/frontends/clover/api/util.hpp diff --git a/src/gallium/state_trackers/clover/core/compiler.hpp b/src/gallium/frontends/clover/core/compiler.hpp index 6ef30df9b7f..6ef30df9b7f 100644 --- a/src/gallium/state_trackers/clover/core/compiler.hpp +++ b/src/gallium/frontends/clover/core/compiler.hpp diff --git a/src/gallium/state_trackers/clover/core/context.cpp b/src/gallium/frontends/clover/core/context.cpp index c3e20829384..c3e20829384 100644 --- a/src/gallium/state_trackers/clover/core/context.cpp +++ b/src/gallium/frontends/clover/core/context.cpp diff --git a/src/gallium/state_trackers/clover/core/context.hpp b/src/gallium/frontends/clover/core/context.hpp index 7b22ccae78f..7b22ccae78f 100644 --- a/src/gallium/state_trackers/clover/core/context.hpp +++ b/src/gallium/frontends/clover/core/context.hpp diff --git a/src/gallium/state_trackers/clover/core/device.cpp b/src/gallium/frontends/clover/core/device.cpp index 609885c21bc..609885c21bc 100644 --- a/src/gallium/state_trackers/clover/core/device.cpp +++ b/src/gallium/frontends/clover/core/device.cpp diff --git a/src/gallium/state_trackers/clover/core/device.hpp b/src/gallium/frontends/clover/core/device.hpp index 597f9489b2c..597f9489b2c 100644 --- a/src/gallium/state_trackers/clover/core/device.hpp +++ b/src/gallium/frontends/clover/core/device.hpp diff --git a/src/gallium/state_trackers/clover/core/error.hpp b/src/gallium/frontends/clover/core/error.hpp index 0490c19a276..0490c19a276 100644 --- a/src/gallium/state_trackers/clover/core/error.hpp +++ b/src/gallium/frontends/clover/core/error.hpp diff --git a/src/gallium/state_trackers/clover/core/event.cpp b/src/gallium/frontends/clover/core/event.cpp index 3d313ce8969..3d313ce8969 100644 --- a/src/gallium/state_trackers/clover/core/event.cpp +++ b/src/gallium/frontends/clover/core/event.cpp diff --git a/src/gallium/state_trackers/clover/core/event.hpp b/src/gallium/frontends/clover/core/event.hpp index 03c97bcf4da..03c97bcf4da 100644 --- a/src/gallium/state_trackers/clover/core/event.hpp +++ b/src/gallium/frontends/clover/core/event.hpp diff --git a/src/gallium/state_trackers/clover/core/format.cpp b/src/gallium/frontends/clover/core/format.cpp index dee1872c829..dee1872c829 100644 --- a/src/gallium/state_trackers/clover/core/format.cpp +++ b/src/gallium/frontends/clover/core/format.cpp diff --git a/src/gallium/state_trackers/clover/core/format.hpp b/src/gallium/frontends/clover/core/format.hpp index a8b7053c5dc..a8b7053c5dc 100644 --- a/src/gallium/state_trackers/clover/core/format.hpp +++ b/src/gallium/frontends/clover/core/format.hpp diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/frontends/clover/core/kernel.cpp index 7d839767aa0..7d839767aa0 100644 --- a/src/gallium/state_trackers/clover/core/kernel.cpp +++ b/src/gallium/frontends/clover/core/kernel.cpp diff --git a/src/gallium/state_trackers/clover/core/kernel.hpp b/src/gallium/frontends/clover/core/kernel.hpp index 4441091f300..4441091f300 100644 --- a/src/gallium/state_trackers/clover/core/kernel.hpp +++ b/src/gallium/frontends/clover/core/kernel.hpp diff --git a/src/gallium/state_trackers/clover/core/memory.cpp b/src/gallium/frontends/clover/core/memory.cpp index ed13d92c281..ed13d92c281 100644 --- a/src/gallium/state_trackers/clover/core/memory.cpp +++ b/src/gallium/frontends/clover/core/memory.cpp diff --git a/src/gallium/state_trackers/clover/core/memory.hpp b/src/gallium/frontends/clover/core/memory.hpp index bd6da6be4d1..bd6da6be4d1 100644 --- a/src/gallium/state_trackers/clover/core/memory.hpp +++ b/src/gallium/frontends/clover/core/memory.hpp diff --git a/src/gallium/state_trackers/clover/core/module.cpp b/src/gallium/frontends/clover/core/module.cpp index a6c5b98d8e0..a6c5b98d8e0 100644 --- a/src/gallium/state_trackers/clover/core/module.cpp +++ b/src/gallium/frontends/clover/core/module.cpp diff --git a/src/gallium/state_trackers/clover/core/module.hpp b/src/gallium/frontends/clover/core/module.hpp index 2ddd26426fb..2ddd26426fb 100644 --- a/src/gallium/state_trackers/clover/core/module.hpp +++ b/src/gallium/frontends/clover/core/module.hpp diff --git a/src/gallium/state_trackers/clover/core/object.hpp b/src/gallium/frontends/clover/core/object.hpp index 8fc2175d236..8fc2175d236 100644 --- a/src/gallium/state_trackers/clover/core/object.hpp +++ b/src/gallium/frontends/clover/core/object.hpp diff --git a/src/gallium/state_trackers/clover/core/platform.cpp b/src/gallium/frontends/clover/core/platform.cpp index ddd63fc5a0d..ddd63fc5a0d 100644 --- a/src/gallium/state_trackers/clover/core/platform.cpp +++ b/src/gallium/frontends/clover/core/platform.cpp diff --git a/src/gallium/state_trackers/clover/core/platform.hpp b/src/gallium/frontends/clover/core/platform.hpp index b94434c983c..b94434c983c 100644 --- a/src/gallium/state_trackers/clover/core/platform.hpp +++ b/src/gallium/frontends/clover/core/platform.hpp diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/frontends/clover/core/program.cpp index 526e06a26c3..526e06a26c3 100644 --- a/src/gallium/state_trackers/clover/core/program.cpp +++ b/src/gallium/frontends/clover/core/program.cpp diff --git a/src/gallium/state_trackers/clover/core/program.hpp b/src/gallium/frontends/clover/core/program.hpp index 05964e78a79..05964e78a79 100644 --- a/src/gallium/state_trackers/clover/core/program.hpp +++ b/src/gallium/frontends/clover/core/program.hpp diff --git a/src/gallium/state_trackers/clover/core/property.hpp b/src/gallium/frontends/clover/core/property.hpp index 7f8e17684d9..7f8e17684d9 100644 --- a/src/gallium/state_trackers/clover/core/property.hpp +++ b/src/gallium/frontends/clover/core/property.hpp diff --git a/src/gallium/state_trackers/clover/core/queue.cpp b/src/gallium/frontends/clover/core/queue.cpp index c91b97ad15e..c91b97ad15e 100644 --- a/src/gallium/state_trackers/clover/core/queue.cpp +++ b/src/gallium/frontends/clover/core/queue.cpp diff --git a/src/gallium/state_trackers/clover/core/queue.hpp b/src/gallium/frontends/clover/core/queue.hpp index bddb86c0e4c..bddb86c0e4c 100644 --- a/src/gallium/state_trackers/clover/core/queue.hpp +++ b/src/gallium/frontends/clover/core/queue.hpp diff --git a/src/gallium/state_trackers/clover/core/resource.cpp b/src/gallium/frontends/clover/core/resource.cpp index dd207982588..dd207982588 100644 --- a/src/gallium/state_trackers/clover/core/resource.cpp +++ b/src/gallium/frontends/clover/core/resource.cpp diff --git a/src/gallium/state_trackers/clover/core/resource.hpp b/src/gallium/frontends/clover/core/resource.hpp index 3b994b4008b..3b994b4008b 100644 --- a/src/gallium/state_trackers/clover/core/resource.hpp +++ b/src/gallium/frontends/clover/core/resource.hpp diff --git a/src/gallium/state_trackers/clover/core/sampler.cpp b/src/gallium/frontends/clover/core/sampler.cpp index 6f2784b538e..6f2784b538e 100644 --- a/src/gallium/state_trackers/clover/core/sampler.cpp +++ b/src/gallium/frontends/clover/core/sampler.cpp diff --git a/src/gallium/state_trackers/clover/core/sampler.hpp b/src/gallium/frontends/clover/core/sampler.hpp index 2632c3067fa..2632c3067fa 100644 --- a/src/gallium/state_trackers/clover/core/sampler.hpp +++ b/src/gallium/frontends/clover/core/sampler.hpp diff --git a/src/gallium/state_trackers/clover/core/timestamp.cpp b/src/gallium/frontends/clover/core/timestamp.cpp index 3fd341f30da..3fd341f30da 100644 --- a/src/gallium/state_trackers/clover/core/timestamp.cpp +++ b/src/gallium/frontends/clover/core/timestamp.cpp diff --git a/src/gallium/state_trackers/clover/core/timestamp.hpp b/src/gallium/frontends/clover/core/timestamp.hpp index b4b2c83eb92..b4b2c83eb92 100644 --- a/src/gallium/state_trackers/clover/core/timestamp.hpp +++ b/src/gallium/frontends/clover/core/timestamp.hpp diff --git a/src/gallium/state_trackers/clover/llvm/codegen.hpp b/src/gallium/frontends/clover/llvm/codegen.hpp index e35627c4729..e35627c4729 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen.hpp +++ b/src/gallium/frontends/clover/llvm/codegen.hpp diff --git a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp b/src/gallium/frontends/clover/llvm/codegen/bitcode.cpp index 7434e8cf6c9..7434e8cf6c9 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp +++ b/src/gallium/frontends/clover/llvm/codegen/bitcode.cpp diff --git a/src/gallium/state_trackers/clover/llvm/codegen/common.cpp b/src/gallium/frontends/clover/llvm/codegen/common.cpp index 730ba5a2ff7..730ba5a2ff7 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/common.cpp +++ b/src/gallium/frontends/clover/llvm/codegen/common.cpp diff --git a/src/gallium/state_trackers/clover/llvm/codegen/native.cpp b/src/gallium/frontends/clover/llvm/codegen/native.cpp index 52346131200..52346131200 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/native.cpp +++ b/src/gallium/frontends/clover/llvm/codegen/native.cpp diff --git a/src/gallium/state_trackers/clover/llvm/compat.hpp b/src/gallium/frontends/clover/llvm/compat.hpp index 51902739acc..51902739acc 100644 --- a/src/gallium/state_trackers/clover/llvm/compat.hpp +++ b/src/gallium/frontends/clover/llvm/compat.hpp diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/frontends/clover/llvm/invocation.cpp index 95a9d036622..95a9d036622 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/frontends/clover/llvm/invocation.cpp diff --git a/src/gallium/state_trackers/clover/llvm/invocation.hpp b/src/gallium/frontends/clover/llvm/invocation.hpp index 1f0e9db2cf7..1f0e9db2cf7 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.hpp +++ b/src/gallium/frontends/clover/llvm/invocation.hpp diff --git a/src/gallium/state_trackers/clover/llvm/metadata.hpp b/src/gallium/frontends/clover/llvm/metadata.hpp index 58042f4b4da..58042f4b4da 100644 --- a/src/gallium/state_trackers/clover/llvm/metadata.hpp +++ b/src/gallium/frontends/clover/llvm/metadata.hpp diff --git a/src/gallium/state_trackers/clover/llvm/util.hpp b/src/gallium/frontends/clover/llvm/util.hpp index 02e73e65071..02e73e65071 100644 --- a/src/gallium/state_trackers/clover/llvm/util.hpp +++ b/src/gallium/frontends/clover/llvm/util.hpp diff --git a/src/gallium/state_trackers/clover/meson.build b/src/gallium/frontends/clover/meson.build index 7606a6beaf6..7606a6beaf6 100644 --- a/src/gallium/state_trackers/clover/meson.build +++ b/src/gallium/frontends/clover/meson.build diff --git a/src/gallium/state_trackers/clover/nir/invocation.cpp b/src/gallium/frontends/clover/nir/invocation.cpp index 46440d96e09..46440d96e09 100644 --- a/src/gallium/state_trackers/clover/nir/invocation.cpp +++ b/src/gallium/frontends/clover/nir/invocation.cpp diff --git a/src/gallium/state_trackers/clover/nir/invocation.hpp b/src/gallium/frontends/clover/nir/invocation.hpp index 41407a79765..41407a79765 100644 --- a/src/gallium/state_trackers/clover/nir/invocation.hpp +++ b/src/gallium/frontends/clover/nir/invocation.hpp diff --git a/src/gallium/state_trackers/clover/spirv/invocation.cpp b/src/gallium/frontends/clover/spirv/invocation.cpp index 01ced45c13b..01ced45c13b 100644 --- a/src/gallium/state_trackers/clover/spirv/invocation.cpp +++ b/src/gallium/frontends/clover/spirv/invocation.cpp diff --git a/src/gallium/state_trackers/clover/spirv/invocation.hpp b/src/gallium/frontends/clover/spirv/invocation.hpp index 472d8c0de71..472d8c0de71 100644 --- a/src/gallium/state_trackers/clover/spirv/invocation.hpp +++ b/src/gallium/frontends/clover/spirv/invocation.hpp diff --git a/src/gallium/state_trackers/clover/util/adaptor.hpp b/src/gallium/frontends/clover/util/adaptor.hpp index e9035968573..e9035968573 100644 --- a/src/gallium/state_trackers/clover/util/adaptor.hpp +++ b/src/gallium/frontends/clover/util/adaptor.hpp diff --git a/src/gallium/state_trackers/clover/util/algebra.hpp b/src/gallium/frontends/clover/util/algebra.hpp index 43a9d8bbf5f..43a9d8bbf5f 100644 --- a/src/gallium/state_trackers/clover/util/algebra.hpp +++ b/src/gallium/frontends/clover/util/algebra.hpp diff --git a/src/gallium/state_trackers/clover/util/algorithm.hpp b/src/gallium/frontends/clover/util/algorithm.hpp index 1658458ee18..1658458ee18 100644 --- a/src/gallium/state_trackers/clover/util/algorithm.hpp +++ b/src/gallium/frontends/clover/util/algorithm.hpp diff --git a/src/gallium/state_trackers/clover/util/factor.hpp b/src/gallium/frontends/clover/util/factor.hpp index 76d3bfe343f..76d3bfe343f 100644 --- a/src/gallium/state_trackers/clover/util/factor.hpp +++ b/src/gallium/frontends/clover/util/factor.hpp diff --git a/src/gallium/state_trackers/clover/util/functional.hpp b/src/gallium/frontends/clover/util/functional.hpp index fc281c5c79a..fc281c5c79a 100644 --- a/src/gallium/state_trackers/clover/util/functional.hpp +++ b/src/gallium/frontends/clover/util/functional.hpp diff --git a/src/gallium/state_trackers/clover/util/lazy.hpp b/src/gallium/frontends/clover/util/lazy.hpp index e32a8f8b1b9..e32a8f8b1b9 100644 --- a/src/gallium/state_trackers/clover/util/lazy.hpp +++ b/src/gallium/frontends/clover/util/lazy.hpp diff --git a/src/gallium/state_trackers/clover/util/pointer.hpp b/src/gallium/frontends/clover/util/pointer.hpp index 7bb9951aef6..7bb9951aef6 100644 --- a/src/gallium/state_trackers/clover/util/pointer.hpp +++ b/src/gallium/frontends/clover/util/pointer.hpp diff --git a/src/gallium/state_trackers/clover/util/range.hpp b/src/gallium/frontends/clover/util/range.hpp index b082359ee86..b082359ee86 100644 --- a/src/gallium/state_trackers/clover/util/range.hpp +++ b/src/gallium/frontends/clover/util/range.hpp diff --git a/src/gallium/state_trackers/clover/util/tuple.hpp b/src/gallium/frontends/clover/util/tuple.hpp index bd49684a314..bd49684a314 100644 --- a/src/gallium/state_trackers/clover/util/tuple.hpp +++ b/src/gallium/frontends/clover/util/tuple.hpp diff --git a/src/gallium/state_trackers/dri/Android.mk b/src/gallium/frontends/dri/Android.mk index d6f8a6ed247..d6f8a6ed247 100644 --- a/src/gallium/state_trackers/dri/Android.mk +++ b/src/gallium/frontends/dri/Android.mk diff --git a/src/gallium/state_trackers/dri/Makefile.sources b/src/gallium/frontends/dri/Makefile.sources index a610293bb11..a610293bb11 100644 --- a/src/gallium/state_trackers/dri/Makefile.sources +++ b/src/gallium/frontends/dri/Makefile.sources diff --git a/src/gallium/frontends/dri/SConscript b/src/gallium/frontends/dri/SConscript new file mode 100644 index 00000000000..fa48fb8a0d7 --- /dev/null +++ b/src/gallium/frontends/dri/SConscript @@ -0,0 +1,30 @@ +####################################################################### +# SConscript for dri state_tracker + +Import('*') + +env = env.Clone() + +env.PkgUseModules(['DRM']) + +env.Append(CPPPATH = [ + '#/src', + '#/src/mapi', + '#/src/mesa', + '#/src/mesa/drivers/dri/common', + xmlpool_options.dir.dir, # Dir to generated xmlpool/options.h +]) + +sources = env.ParseSourceList('Makefile.sources', 'common_SOURCES') + +# XXX: if HAVE_DRISW +sources.append(env.ParseSourceList('Makefile.sources', 'drisw_SOURCES')) + +# XXX: if HAVE_DRI2 +sources.append(env.ParseSourceList('Makefile.sources', 'dri2_SOURCES')) + +st_dri = env.ConvenienceLibrary( + target = 'st_dri', + source = sources +) +Export('st_dri') diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/frontends/dri/dri2.c index ec78d0985ed..334934b85c7 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/frontends/dri/dri2.c @@ -35,7 +35,7 @@ #include "util/u_inlines.h" #include "util/format/u_format.h" #include "util/u_debug.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "state_tracker/st_cb_bufferobjects.h" #include "state_tracker/st_cb_fbo.h" #include "state_tracker/st_cb_texture.h" diff --git a/src/gallium/state_trackers/dri/dri_context.c b/src/gallium/frontends/dri/dri_context.c index 082a9ced91d..6e53ca90ad4 100644 --- a/src/gallium/state_trackers/dri/dri_context.c +++ b/src/gallium/frontends/dri/dri_context.c @@ -34,7 +34,7 @@ #include "dri_screen.h" #include "dri_drawable.h" #include "dri_context.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "pipe/p_context.h" #include "pipe-loader/pipe_loader.h" diff --git a/src/gallium/state_trackers/dri/dri_context.h b/src/gallium/frontends/dri/dri_context.h index 96e21e0695c..96e21e0695c 100644 --- a/src/gallium/state_trackers/dri/dri_context.h +++ b/src/gallium/frontends/dri/dri_context.h diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/frontends/dri/dri_drawable.c index 2ee4f185537..2ee4f185537 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.c +++ b/src/gallium/frontends/dri/dri_drawable.c diff --git a/src/gallium/state_trackers/dri/dri_drawable.h b/src/gallium/frontends/dri/dri_drawable.h index d57ff1d84e0..71cc6070090 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.h +++ b/src/gallium/frontends/dri/dri_drawable.h @@ -30,7 +30,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_format.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" struct pipe_surface; struct st_framebuffer; diff --git a/src/gallium/state_trackers/dri/dri_helpers.c b/src/gallium/frontends/dri/dri_helpers.c index 90a8a392fad..90a8a392fad 100644 --- a/src/gallium/state_trackers/dri/dri_helpers.c +++ b/src/gallium/frontends/dri/dri_helpers.c diff --git a/src/gallium/state_trackers/dri/dri_helpers.h b/src/gallium/frontends/dri/dri_helpers.h index 0393a48a8ee..0393a48a8ee 100644 --- a/src/gallium/state_trackers/dri/dri_helpers.h +++ b/src/gallium/frontends/dri/dri_helpers.h diff --git a/src/gallium/state_trackers/dri/dri_query_renderer.c b/src/gallium/frontends/dri/dri_query_renderer.c index 2417f40a6ad..9a78fa38da6 100644 --- a/src/gallium/state_trackers/dri/dri_query_renderer.c +++ b/src/gallium/frontends/dri/dri_query_renderer.c @@ -1,7 +1,7 @@ #include "dri_query_renderer.h" #include "util/u_inlines.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "utils.h" #include "dri_screen.h" diff --git a/src/gallium/state_trackers/dri/dri_query_renderer.h b/src/gallium/frontends/dri/dri_query_renderer.h index 59b3ff8e5b3..59b3ff8e5b3 100644 --- a/src/gallium/state_trackers/dri/dri_query_renderer.h +++ b/src/gallium/frontends/dri/dri_query_renderer.h diff --git a/src/gallium/state_trackers/dri/dri_screen.c b/src/gallium/frontends/dri/dri_screen.c index 4f1bf166125..fee392bba31 100644 --- a/src/gallium/state_trackers/dri/dri_screen.c +++ b/src/gallium/frontends/dri/dri_screen.c @@ -40,7 +40,7 @@ #include "pipe/p_format.h" #include "pipe-loader/pipe_loader.h" #include "state_tracker/st_gl_api.h" /* for st_gl_api_create */ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_debug.h" #include "util/format/u_format_s3tc.h" diff --git a/src/gallium/state_trackers/dri/dri_screen.h b/src/gallium/frontends/dri/dri_screen.h index 1586439bba3..e330aa1f2ac 100644 --- a/src/gallium/state_trackers/dri/dri_screen.h +++ b/src/gallium/frontends/dri/dri_screen.h @@ -37,8 +37,8 @@ #include "pipe/p_compiler.h" #include "pipe/p_context.h" #include "pipe/p_state.h" -#include "state_tracker/st_api.h" -#include "state_tracker/opencl_interop.h" +#include "frontend/api.h" +#include "frontend/opencl_interop.h" #include "os/os_thread.h" #include "postprocess/filters.h" diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/frontends/dri/drisw.c index 4afa69f891d..fcdc59ceec8 100644 --- a/src/gallium/state_trackers/dri/drisw.c +++ b/src/gallium/frontends/dri/drisw.c @@ -32,7 +32,7 @@ #include "util/u_box.h" #include "pipe/p_context.h" #include "pipe-loader/pipe_loader.h" -#include "state_tracker/drisw_api.h" +#include "frontend/drisw_api.h" #include "state_tracker/st_context.h" #include "dri_screen.h" diff --git a/src/gallium/state_trackers/dri/meson.build b/src/gallium/frontends/dri/meson.build index 4bb41157e42..4bb41157e42 100644 --- a/src/gallium/state_trackers/dri/meson.build +++ b/src/gallium/frontends/dri/meson.build diff --git a/src/gallium/state_trackers/glx/xlib/Makefile.sources b/src/gallium/frontends/glx/xlib/Makefile.sources index 9e31a70eb3e..9e31a70eb3e 100644 --- a/src/gallium/state_trackers/glx/xlib/Makefile.sources +++ b/src/gallium/frontends/glx/xlib/Makefile.sources diff --git a/src/gallium/state_trackers/glx/xlib/SConscript b/src/gallium/frontends/glx/xlib/SConscript index 1d5dd1df4fd..1d5dd1df4fd 100644 --- a/src/gallium/state_trackers/glx/xlib/SConscript +++ b/src/gallium/frontends/glx/xlib/SConscript diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/frontends/glx/xlib/glx_api.c index 281111bdfb0..281111bdfb0 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/frontends/glx/xlib/glx_api.c diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/frontends/glx/xlib/glx_getproc.c index 6b94f2c1960..6b94f2c1960 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_getproc.c +++ b/src/gallium/frontends/glx/xlib/glx_getproc.c diff --git a/src/gallium/state_trackers/glx/xlib/glx_usefont.c b/src/gallium/frontends/glx/xlib/glx_usefont.c index 9d35054b44d..9d35054b44d 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_usefont.c +++ b/src/gallium/frontends/glx/xlib/glx_usefont.c diff --git a/src/gallium/state_trackers/glx/xlib/meson.build b/src/gallium/frontends/glx/xlib/meson.build index 7b1fdb34ffe..7b1fdb34ffe 100644 --- a/src/gallium/state_trackers/glx/xlib/meson.build +++ b/src/gallium/frontends/glx/xlib/meson.build diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/frontends/glx/xlib/xm_api.c index 94a787b422a..e0e0b2d992c 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/frontends/glx/xlib/xm_api.c @@ -61,7 +61,7 @@ #include "pipe/p_defines.h" #include "pipe/p_screen.h" #include "pipe/p_state.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include "util/u_atomic.h" #include "util/u_inlines.h" diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.h b/src/gallium/frontends/glx/xlib/xm_api.h index 9684b5a17e1..04eefda0b07 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.h +++ b/src/gallium/frontends/glx/xlib/xm_api.h @@ -58,10 +58,10 @@ and create a window, you must do the following to use the X/Mesa interface: #include "main/mtypes.h" /* for gl_config */ -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include "os/os_thread.h" -#include "state_tracker/xlibsw_api.h" +#include "frontend/xlibsw_api.h" # include <X11/Xlib.h> # include <X11/Xlibint.h> diff --git a/src/gallium/state_trackers/glx/xlib/xm_public.h b/src/gallium/frontends/glx/xlib/xm_public.h index 9afc5f5d7cf..9afc5f5d7cf 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_public.h +++ b/src/gallium/frontends/glx/xlib/xm_public.h diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.c b/src/gallium/frontends/glx/xlib/xm_st.c index 4fe7b57f24c..4fe7b57f24c 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_st.c +++ b/src/gallium/frontends/glx/xlib/xm_st.c diff --git a/src/gallium/state_trackers/glx/xlib/xm_st.h b/src/gallium/frontends/glx/xlib/xm_st.h index 0a15afcd77c..6d92a38e0dd 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_st.h +++ b/src/gallium/frontends/glx/xlib/xm_st.h @@ -29,7 +29,7 @@ #define _XM_ST_H_ #include "pipe/p_compiler.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include "xm_api.h" diff --git a/src/gallium/state_trackers/hgl/.editorconfig b/src/gallium/frontends/hgl/.editorconfig index f391def61c9..f391def61c9 100644 --- a/src/gallium/state_trackers/hgl/.editorconfig +++ b/src/gallium/frontends/hgl/.editorconfig diff --git a/src/gallium/frontends/hgl/SConscript b/src/gallium/frontends/hgl/SConscript new file mode 100644 index 00000000000..d2389c80802 --- /dev/null +++ b/src/gallium/frontends/hgl/SConscript @@ -0,0 +1,24 @@ +####################################################################### +# SConscript for Haiku state_tracker + +Import('*') + +env = env.Clone() + +env.Append(CPPPATH = [ + '#/src', + '#/src/mapi', + '#/src/mesa', + '#/include/HaikuGL', +]) + +sources = [ + 'hgl.c', + 'bitmap_wrapper.cpp', +] + +st_haiku = env.ConvenienceLibrary( + target = 'st_haiku', + source = sources +) +Export('st_haiku') diff --git a/src/gallium/state_trackers/hgl/bitmap_wrapper.cpp b/src/gallium/frontends/hgl/bitmap_wrapper.cpp index ef81edc8a57..ef81edc8a57 100644 --- a/src/gallium/state_trackers/hgl/bitmap_wrapper.cpp +++ b/src/gallium/frontends/hgl/bitmap_wrapper.cpp diff --git a/src/gallium/state_trackers/hgl/bitmap_wrapper.h b/src/gallium/frontends/hgl/bitmap_wrapper.h index 65ba14044d8..65ba14044d8 100644 --- a/src/gallium/state_trackers/hgl/bitmap_wrapper.h +++ b/src/gallium/frontends/hgl/bitmap_wrapper.h diff --git a/src/gallium/state_trackers/hgl/hgl.c b/src/gallium/frontends/hgl/hgl.c index f7dc7a6d3db..74cd81fc7bb 100644 --- a/src/gallium/state_trackers/hgl/hgl.c +++ b/src/gallium/frontends/hgl/hgl.c @@ -22,13 +22,13 @@ #ifdef DEBUG -# define TRACE(x...) printf("hgl:state_tracker: " x) +# define TRACE(x...) printf("hgl:frontend: " x) # define CALLED() TRACE("CALLED: %s\n", __PRETTY_FUNCTION__) #else # define TRACE(x...) # define CALLED() #endif -#define ERROR(x...) printf("hgl:state_tracker: " x) +#define ERROR(x...) printf("hgl:frontend: " x) // Perform a safe void to hgl_context cast @@ -247,7 +247,7 @@ hgl_create_st_framebuffer(struct hgl_context* context) else buffer->target = PIPE_TEXTURE_RECT; - // Prepare our state_tracker interface + // Prepare our frontend interface buffer->stfbi->flush_front = hgl_st_framebuffer_flush_front; buffer->stfbi->validate = hgl_st_framebuffer_validate; buffer->stfbi->visual = context->stVisual; diff --git a/src/gallium/state_trackers/hgl/hgl_context.h b/src/gallium/frontends/hgl/hgl_context.h index e2ebfbad4bc..26a61f069a4 100644 --- a/src/gallium/state_trackers/hgl/hgl_context.h +++ b/src/gallium/frontends/hgl/hgl_context.h @@ -14,8 +14,8 @@ #include "pipe/p_screen.h" #include "postprocess/filters.h" -#include "state_tracker/st_api.h" -#include "state_tracker/st_manager.h" +#include "frontend/api.h" +#include "frontend/st_manager.h" #include "os/os_thread.h" #include "bitmap_wrapper.h" @@ -87,17 +87,17 @@ struct hgl_context // hgl_buffer from statetracker interface struct hgl_buffer* hgl_st_framebuffer(struct st_framebuffer_iface *stfbi); -// hgl state_tracker api +// hgl frontend struct st_api* hgl_create_st_api(void); -// hgl state_tracker framebuffer +// hgl framebuffer struct hgl_buffer* hgl_create_st_framebuffer(struct hgl_context* context); -// hgl state_tracker manager +// hgl manager struct st_manager* hgl_create_st_manager(struct hgl_context* screen); void hgl_destroy_st_manager(struct st_manager *manager); -// hgl state_tracker visual +// hgl visual struct st_visual* hgl_create_st_visual(ulong options); void hgl_destroy_st_visual(struct st_visual* visual); diff --git a/src/gallium/state_trackers/hgl/meson.build b/src/gallium/frontends/hgl/meson.build index 3c5870fe101..3c5870fe101 100644 --- a/src/gallium/state_trackers/hgl/meson.build +++ b/src/gallium/frontends/hgl/meson.build diff --git a/src/gallium/state_trackers/nine/.editorconfig b/src/gallium/frontends/nine/.editorconfig index 7b12a40ca00..7b12a40ca00 100644 --- a/src/gallium/state_trackers/nine/.editorconfig +++ b/src/gallium/frontends/nine/.editorconfig diff --git a/src/gallium/state_trackers/nine/Makefile.sources b/src/gallium/frontends/nine/Makefile.sources index 56698a19f10..56698a19f10 100644 --- a/src/gallium/state_trackers/nine/Makefile.sources +++ b/src/gallium/frontends/nine/Makefile.sources diff --git a/src/gallium/state_trackers/nine/README b/src/gallium/frontends/nine/README index 34e928d4da3..34e928d4da3 100644 --- a/src/gallium/state_trackers/nine/README +++ b/src/gallium/frontends/nine/README diff --git a/src/gallium/state_trackers/nine/adapter9.c b/src/gallium/frontends/nine/adapter9.c index e8d4697986c..e8d4697986c 100644 --- a/src/gallium/state_trackers/nine/adapter9.c +++ b/src/gallium/frontends/nine/adapter9.c diff --git a/src/gallium/state_trackers/nine/adapter9.h b/src/gallium/frontends/nine/adapter9.h index 605444cbc8d..605444cbc8d 100644 --- a/src/gallium/state_trackers/nine/adapter9.h +++ b/src/gallium/frontends/nine/adapter9.h diff --git a/src/gallium/state_trackers/nine/authenticatedchannel9.c b/src/gallium/frontends/nine/authenticatedchannel9.c index 45fca3a2975..45fca3a2975 100644 --- a/src/gallium/state_trackers/nine/authenticatedchannel9.c +++ b/src/gallium/frontends/nine/authenticatedchannel9.c diff --git a/src/gallium/state_trackers/nine/authenticatedchannel9.h b/src/gallium/frontends/nine/authenticatedchannel9.h index b18848235c8..b18848235c8 100644 --- a/src/gallium/state_trackers/nine/authenticatedchannel9.h +++ b/src/gallium/frontends/nine/authenticatedchannel9.h diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/frontends/nine/basetexture9.c index c59bda5d295..c59bda5d295 100644 --- a/src/gallium/state_trackers/nine/basetexture9.c +++ b/src/gallium/frontends/nine/basetexture9.c diff --git a/src/gallium/state_trackers/nine/basetexture9.h b/src/gallium/frontends/nine/basetexture9.h index 70e8b934f56..70e8b934f56 100644 --- a/src/gallium/state_trackers/nine/basetexture9.h +++ b/src/gallium/frontends/nine/basetexture9.h diff --git a/src/gallium/state_trackers/nine/buffer9.c b/src/gallium/frontends/nine/buffer9.c index 629f33731ce..629f33731ce 100644 --- a/src/gallium/state_trackers/nine/buffer9.c +++ b/src/gallium/frontends/nine/buffer9.c diff --git a/src/gallium/state_trackers/nine/buffer9.h b/src/gallium/frontends/nine/buffer9.h index 1c142fcf64a..1c142fcf64a 100644 --- a/src/gallium/state_trackers/nine/buffer9.h +++ b/src/gallium/frontends/nine/buffer9.h diff --git a/src/gallium/state_trackers/nine/cryptosession9.c b/src/gallium/frontends/nine/cryptosession9.c index c656f72a215..c656f72a215 100644 --- a/src/gallium/state_trackers/nine/cryptosession9.c +++ b/src/gallium/frontends/nine/cryptosession9.c diff --git a/src/gallium/state_trackers/nine/cryptosession9.h b/src/gallium/frontends/nine/cryptosession9.h index 9904455a000..9904455a000 100644 --- a/src/gallium/state_trackers/nine/cryptosession9.h +++ b/src/gallium/frontends/nine/cryptosession9.h diff --git a/src/gallium/state_trackers/nine/cubetexture9.c b/src/gallium/frontends/nine/cubetexture9.c index 89821682f8f..89821682f8f 100644 --- a/src/gallium/state_trackers/nine/cubetexture9.c +++ b/src/gallium/frontends/nine/cubetexture9.c diff --git a/src/gallium/state_trackers/nine/cubetexture9.h b/src/gallium/frontends/nine/cubetexture9.h index 129789d0d69..129789d0d69 100644 --- a/src/gallium/state_trackers/nine/cubetexture9.h +++ b/src/gallium/frontends/nine/cubetexture9.h diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/frontends/nine/device9.c index c5b5eff128e..c5b5eff128e 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/frontends/nine/device9.c diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/frontends/nine/device9.h index f24d79295ad..f24d79295ad 100644 --- a/src/gallium/state_trackers/nine/device9.h +++ b/src/gallium/frontends/nine/device9.h diff --git a/src/gallium/state_trackers/nine/device9ex.c b/src/gallium/frontends/nine/device9ex.c index 3047657e95f..3047657e95f 100644 --- a/src/gallium/state_trackers/nine/device9ex.c +++ b/src/gallium/frontends/nine/device9ex.c diff --git a/src/gallium/state_trackers/nine/device9ex.h b/src/gallium/frontends/nine/device9ex.h index 3306f238b59..3306f238b59 100644 --- a/src/gallium/state_trackers/nine/device9ex.h +++ b/src/gallium/frontends/nine/device9ex.h diff --git a/src/gallium/state_trackers/nine/device9video.c b/src/gallium/frontends/nine/device9video.c index 2e8e94a26e7..2e8e94a26e7 100644 --- a/src/gallium/state_trackers/nine/device9video.c +++ b/src/gallium/frontends/nine/device9video.c diff --git a/src/gallium/state_trackers/nine/device9video.h b/src/gallium/frontends/nine/device9video.h index d77fd5ec57a..d77fd5ec57a 100644 --- a/src/gallium/state_trackers/nine/device9video.h +++ b/src/gallium/frontends/nine/device9video.h diff --git a/src/gallium/state_trackers/nine/guid.c b/src/gallium/frontends/nine/guid.c index 5e63d2f6629..5e63d2f6629 100644 --- a/src/gallium/state_trackers/nine/guid.c +++ b/src/gallium/frontends/nine/guid.c diff --git a/src/gallium/state_trackers/nine/guid.h b/src/gallium/frontends/nine/guid.h index af8f081bfb5..af8f081bfb5 100644 --- a/src/gallium/state_trackers/nine/guid.h +++ b/src/gallium/frontends/nine/guid.h diff --git a/src/gallium/state_trackers/nine/indexbuffer9.c b/src/gallium/frontends/nine/indexbuffer9.c index e73d29b5bd3..e73d29b5bd3 100644 --- a/src/gallium/state_trackers/nine/indexbuffer9.c +++ b/src/gallium/frontends/nine/indexbuffer9.c diff --git a/src/gallium/state_trackers/nine/indexbuffer9.h b/src/gallium/frontends/nine/indexbuffer9.h index e688488da84..e688488da84 100644 --- a/src/gallium/state_trackers/nine/indexbuffer9.h +++ b/src/gallium/frontends/nine/indexbuffer9.h diff --git a/src/gallium/state_trackers/nine/iunknown.c b/src/gallium/frontends/nine/iunknown.c index 2d69afd5496..2d69afd5496 100644 --- a/src/gallium/state_trackers/nine/iunknown.c +++ b/src/gallium/frontends/nine/iunknown.c diff --git a/src/gallium/state_trackers/nine/iunknown.h b/src/gallium/frontends/nine/iunknown.h index 20ad191cf44..20ad191cf44 100644 --- a/src/gallium/state_trackers/nine/iunknown.h +++ b/src/gallium/frontends/nine/iunknown.h diff --git a/src/gallium/state_trackers/nine/meson.build b/src/gallium/frontends/nine/meson.build index 7c9e035cafc..7c9e035cafc 100644 --- a/src/gallium/state_trackers/nine/meson.build +++ b/src/gallium/frontends/nine/meson.build diff --git a/src/gallium/state_trackers/nine/nine_buffer_upload.c b/src/gallium/frontends/nine/nine_buffer_upload.c index a71f0195a2a..a71f0195a2a 100644 --- a/src/gallium/state_trackers/nine/nine_buffer_upload.c +++ b/src/gallium/frontends/nine/nine_buffer_upload.c diff --git a/src/gallium/state_trackers/nine/nine_buffer_upload.h b/src/gallium/frontends/nine/nine_buffer_upload.h index b7088250a83..b7088250a83 100644 --- a/src/gallium/state_trackers/nine/nine_buffer_upload.h +++ b/src/gallium/frontends/nine/nine_buffer_upload.h diff --git a/src/gallium/state_trackers/nine/nine_csmt_helper.h b/src/gallium/frontends/nine/nine_csmt_helper.h index 7286cc31140..7286cc31140 100644 --- a/src/gallium/state_trackers/nine/nine_csmt_helper.h +++ b/src/gallium/frontends/nine/nine_csmt_helper.h diff --git a/src/gallium/state_trackers/nine/nine_debug.c b/src/gallium/frontends/nine/nine_debug.c index 784d535d213..784d535d213 100644 --- a/src/gallium/state_trackers/nine/nine_debug.c +++ b/src/gallium/frontends/nine/nine_debug.c diff --git a/src/gallium/state_trackers/nine/nine_debug.h b/src/gallium/frontends/nine/nine_debug.h index 75e412497b0..75e412497b0 100644 --- a/src/gallium/state_trackers/nine/nine_debug.h +++ b/src/gallium/frontends/nine/nine_debug.h diff --git a/src/gallium/state_trackers/nine/nine_defines.h b/src/gallium/frontends/nine/nine_defines.h index 26aa064b1ac..26aa064b1ac 100644 --- a/src/gallium/state_trackers/nine/nine_defines.h +++ b/src/gallium/frontends/nine/nine_defines.h diff --git a/src/gallium/state_trackers/nine/nine_dump.c b/src/gallium/frontends/nine/nine_dump.c index 85ee266defb..85ee266defb 100644 --- a/src/gallium/state_trackers/nine/nine_dump.c +++ b/src/gallium/frontends/nine/nine_dump.c diff --git a/src/gallium/state_trackers/nine/nine_dump.h b/src/gallium/frontends/nine/nine_dump.h index 72342557d77..72342557d77 100644 --- a/src/gallium/state_trackers/nine/nine_dump.h +++ b/src/gallium/frontends/nine/nine_dump.h diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/frontends/nine/nine_ff.c index 16d0ab2ab5c..16d0ab2ab5c 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/frontends/nine/nine_ff.c diff --git a/src/gallium/state_trackers/nine/nine_ff.h b/src/gallium/frontends/nine/nine_ff.h index 5345b99dbb5..5345b99dbb5 100644 --- a/src/gallium/state_trackers/nine/nine_ff.h +++ b/src/gallium/frontends/nine/nine_ff.h diff --git a/src/gallium/state_trackers/nine/nine_flags.h b/src/gallium/frontends/nine/nine_flags.h index 61686a7f60f..61686a7f60f 100644 --- a/src/gallium/state_trackers/nine/nine_flags.h +++ b/src/gallium/frontends/nine/nine_flags.h diff --git a/src/gallium/state_trackers/nine/nine_helpers.c b/src/gallium/frontends/nine/nine_helpers.c index 98c2ae30eba..98c2ae30eba 100644 --- a/src/gallium/state_trackers/nine/nine_helpers.c +++ b/src/gallium/frontends/nine/nine_helpers.c diff --git a/src/gallium/state_trackers/nine/nine_helpers.h b/src/gallium/frontends/nine/nine_helpers.h index c14dd1c04fc..c14dd1c04fc 100644 --- a/src/gallium/state_trackers/nine/nine_helpers.h +++ b/src/gallium/frontends/nine/nine_helpers.h diff --git a/src/gallium/state_trackers/nine/nine_limits.h b/src/gallium/frontends/nine/nine_limits.h index b5090daa11d..b5090daa11d 100644 --- a/src/gallium/state_trackers/nine/nine_limits.h +++ b/src/gallium/frontends/nine/nine_limits.h diff --git a/src/gallium/state_trackers/nine/nine_lock.c b/src/gallium/frontends/nine/nine_lock.c index ca0f04a69b3..ca0f04a69b3 100644 --- a/src/gallium/state_trackers/nine/nine_lock.c +++ b/src/gallium/frontends/nine/nine_lock.c diff --git a/src/gallium/state_trackers/nine/nine_lock.h b/src/gallium/frontends/nine/nine_lock.h index 4f4a5f14e54..4f4a5f14e54 100644 --- a/src/gallium/state_trackers/nine/nine_lock.h +++ b/src/gallium/frontends/nine/nine_lock.h diff --git a/src/gallium/state_trackers/nine/nine_pdata.h b/src/gallium/frontends/nine/nine_pdata.h index 8c73cd619ba..8c73cd619ba 100644 --- a/src/gallium/state_trackers/nine/nine_pdata.h +++ b/src/gallium/frontends/nine/nine_pdata.h diff --git a/src/gallium/state_trackers/nine/nine_pipe.c b/src/gallium/frontends/nine/nine_pipe.c index cc63a9fce8f..cc63a9fce8f 100644 --- a/src/gallium/state_trackers/nine/nine_pipe.c +++ b/src/gallium/frontends/nine/nine_pipe.c diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/frontends/nine/nine_pipe.h index 6a85c042db7..6a85c042db7 100644 --- a/src/gallium/state_trackers/nine/nine_pipe.h +++ b/src/gallium/frontends/nine/nine_pipe.h diff --git a/src/gallium/state_trackers/nine/nine_queue.c b/src/gallium/frontends/nine/nine_queue.c index c09810b1a8a..c09810b1a8a 100644 --- a/src/gallium/state_trackers/nine/nine_queue.c +++ b/src/gallium/frontends/nine/nine_queue.c diff --git a/src/gallium/state_trackers/nine/nine_queue.h b/src/gallium/frontends/nine/nine_queue.h index 52f6cbdfa87..52f6cbdfa87 100644 --- a/src/gallium/state_trackers/nine/nine_queue.h +++ b/src/gallium/frontends/nine/nine_queue.h diff --git a/src/gallium/state_trackers/nine/nine_quirk.c b/src/gallium/frontends/nine/nine_quirk.c index 267436b14de..267436b14de 100644 --- a/src/gallium/state_trackers/nine/nine_quirk.c +++ b/src/gallium/frontends/nine/nine_quirk.c diff --git a/src/gallium/state_trackers/nine/nine_quirk.h b/src/gallium/frontends/nine/nine_quirk.h index 9c082dd9f93..9c082dd9f93 100644 --- a/src/gallium/state_trackers/nine/nine_quirk.h +++ b/src/gallium/frontends/nine/nine_quirk.h diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/frontends/nine/nine_shader.c index 195a1fe5f59..195a1fe5f59 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/frontends/nine/nine_shader.c diff --git a/src/gallium/state_trackers/nine/nine_shader.h b/src/gallium/frontends/nine/nine_shader.h index 5abdbe24472..5abdbe24472 100644 --- a/src/gallium/state_trackers/nine/nine_shader.h +++ b/src/gallium/frontends/nine/nine_shader.h diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/frontends/nine/nine_state.c index 8724ec87c81..8724ec87c81 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/frontends/nine/nine_state.c diff --git a/src/gallium/state_trackers/nine/nine_state.h b/src/gallium/frontends/nine/nine_state.h index d8fa2f80c4d..d8fa2f80c4d 100644 --- a/src/gallium/state_trackers/nine/nine_state.h +++ b/src/gallium/frontends/nine/nine_state.h diff --git a/src/gallium/state_trackers/nine/nineexoverlayextension.c b/src/gallium/frontends/nine/nineexoverlayextension.c index 6a4f287e9a3..6a4f287e9a3 100644 --- a/src/gallium/state_trackers/nine/nineexoverlayextension.c +++ b/src/gallium/frontends/nine/nineexoverlayextension.c diff --git a/src/gallium/state_trackers/nine/nineexoverlayextension.h b/src/gallium/frontends/nine/nineexoverlayextension.h index f528f1d3ca9..f528f1d3ca9 100644 --- a/src/gallium/state_trackers/nine/nineexoverlayextension.h +++ b/src/gallium/frontends/nine/nineexoverlayextension.h diff --git a/src/gallium/state_trackers/nine/pixelshader9.c b/src/gallium/frontends/nine/pixelshader9.c index 4b85c738f79..4b85c738f79 100644 --- a/src/gallium/state_trackers/nine/pixelshader9.c +++ b/src/gallium/frontends/nine/pixelshader9.c diff --git a/src/gallium/state_trackers/nine/pixelshader9.h b/src/gallium/frontends/nine/pixelshader9.h index 6bac90be7a9..6bac90be7a9 100644 --- a/src/gallium/state_trackers/nine/pixelshader9.h +++ b/src/gallium/frontends/nine/pixelshader9.h diff --git a/src/gallium/state_trackers/nine/query9.c b/src/gallium/frontends/nine/query9.c index d98db9eba7e..d98db9eba7e 100644 --- a/src/gallium/state_trackers/nine/query9.c +++ b/src/gallium/frontends/nine/query9.c diff --git a/src/gallium/state_trackers/nine/query9.h b/src/gallium/frontends/nine/query9.h index cc6c717390d..cc6c717390d 100644 --- a/src/gallium/state_trackers/nine/query9.h +++ b/src/gallium/frontends/nine/query9.h diff --git a/src/gallium/state_trackers/nine/resource9.c b/src/gallium/frontends/nine/resource9.c index 852801624a9..852801624a9 100644 --- a/src/gallium/state_trackers/nine/resource9.c +++ b/src/gallium/frontends/nine/resource9.c diff --git a/src/gallium/state_trackers/nine/resource9.h b/src/gallium/frontends/nine/resource9.h index 9fed45476fb..9fed45476fb 100644 --- a/src/gallium/state_trackers/nine/resource9.h +++ b/src/gallium/frontends/nine/resource9.h diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/frontends/nine/stateblock9.c index c7bdc86e9d0..c7bdc86e9d0 100644 --- a/src/gallium/state_trackers/nine/stateblock9.c +++ b/src/gallium/frontends/nine/stateblock9.c diff --git a/src/gallium/state_trackers/nine/stateblock9.h b/src/gallium/frontends/nine/stateblock9.h index ffcc2d99a53..ffcc2d99a53 100644 --- a/src/gallium/state_trackers/nine/stateblock9.h +++ b/src/gallium/frontends/nine/stateblock9.h diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/frontends/nine/surface9.c index db74de2823a..db74de2823a 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/frontends/nine/surface9.c diff --git a/src/gallium/state_trackers/nine/surface9.h b/src/gallium/frontends/nine/surface9.h index ee700603bd8..ee700603bd8 100644 --- a/src/gallium/state_trackers/nine/surface9.h +++ b/src/gallium/frontends/nine/surface9.h diff --git a/src/gallium/state_trackers/nine/swapchain9.c b/src/gallium/frontends/nine/swapchain9.c index 8a1b1bf145a..e3426b481cd 100644 --- a/src/gallium/state_trackers/nine/swapchain9.c +++ b/src/gallium/frontends/nine/swapchain9.c @@ -32,7 +32,7 @@ #include "util/u_inlines.h" #include "util/u_surface.h" #include "hud/hud_context.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "threadpool.h" diff --git a/src/gallium/state_trackers/nine/swapchain9.h b/src/gallium/frontends/nine/swapchain9.h index a6146445bdd..a6146445bdd 100644 --- a/src/gallium/state_trackers/nine/swapchain9.h +++ b/src/gallium/frontends/nine/swapchain9.h diff --git a/src/gallium/state_trackers/nine/swapchain9ex.c b/src/gallium/frontends/nine/swapchain9ex.c index 309402cbb7b..309402cbb7b 100644 --- a/src/gallium/state_trackers/nine/swapchain9ex.c +++ b/src/gallium/frontends/nine/swapchain9ex.c diff --git a/src/gallium/state_trackers/nine/swapchain9ex.h b/src/gallium/frontends/nine/swapchain9ex.h index a15d9d2c01e..a15d9d2c01e 100644 --- a/src/gallium/state_trackers/nine/swapchain9ex.h +++ b/src/gallium/frontends/nine/swapchain9ex.h diff --git a/src/gallium/state_trackers/nine/texture9.c b/src/gallium/frontends/nine/texture9.c index fca5e603230..fca5e603230 100644 --- a/src/gallium/state_trackers/nine/texture9.c +++ b/src/gallium/frontends/nine/texture9.c diff --git a/src/gallium/state_trackers/nine/texture9.h b/src/gallium/frontends/nine/texture9.h index 3911f26d468..3911f26d468 100644 --- a/src/gallium/state_trackers/nine/texture9.h +++ b/src/gallium/frontends/nine/texture9.h diff --git a/src/gallium/state_trackers/nine/threadpool.c b/src/gallium/frontends/nine/threadpool.c index 3ce6cd57524..eb852b65dc6 100644 --- a/src/gallium/state_trackers/nine/threadpool.c +++ b/src/gallium/frontends/nine/threadpool.c @@ -32,7 +32,7 @@ #include "util/u_inlines.h" #include "util/u_surface.h" #include "hud/hud_context.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "os/os_thread.h" #include "threadpool.h" diff --git a/src/gallium/state_trackers/nine/threadpool.h b/src/gallium/frontends/nine/threadpool.h index 6f8f8c455d0..6f8f8c455d0 100644 --- a/src/gallium/state_trackers/nine/threadpool.h +++ b/src/gallium/frontends/nine/threadpool.h diff --git a/src/gallium/state_trackers/nine/vertexbuffer9.c b/src/gallium/frontends/nine/vertexbuffer9.c index df1d1717539..df1d1717539 100644 --- a/src/gallium/state_trackers/nine/vertexbuffer9.c +++ b/src/gallium/frontends/nine/vertexbuffer9.c diff --git a/src/gallium/state_trackers/nine/vertexbuffer9.h b/src/gallium/frontends/nine/vertexbuffer9.h index 2991dbadd07..2991dbadd07 100644 --- a/src/gallium/state_trackers/nine/vertexbuffer9.h +++ b/src/gallium/frontends/nine/vertexbuffer9.h diff --git a/src/gallium/state_trackers/nine/vertexdeclaration9.c b/src/gallium/frontends/nine/vertexdeclaration9.c index 9beeff290b3..9beeff290b3 100644 --- a/src/gallium/state_trackers/nine/vertexdeclaration9.c +++ b/src/gallium/frontends/nine/vertexdeclaration9.c diff --git a/src/gallium/state_trackers/nine/vertexdeclaration9.h b/src/gallium/frontends/nine/vertexdeclaration9.h index 7b94f846fe7..7b94f846fe7 100644 --- a/src/gallium/state_trackers/nine/vertexdeclaration9.h +++ b/src/gallium/frontends/nine/vertexdeclaration9.h diff --git a/src/gallium/state_trackers/nine/vertexshader9.c b/src/gallium/frontends/nine/vertexshader9.c index 600e298a393..600e298a393 100644 --- a/src/gallium/state_trackers/nine/vertexshader9.c +++ b/src/gallium/frontends/nine/vertexshader9.c diff --git a/src/gallium/state_trackers/nine/vertexshader9.h b/src/gallium/frontends/nine/vertexshader9.h index cbbd34979c9..cbbd34979c9 100644 --- a/src/gallium/state_trackers/nine/vertexshader9.h +++ b/src/gallium/frontends/nine/vertexshader9.h diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/frontends/nine/volume9.c index 4a3d0c88f10..4a3d0c88f10 100644 --- a/src/gallium/state_trackers/nine/volume9.c +++ b/src/gallium/frontends/nine/volume9.c diff --git a/src/gallium/state_trackers/nine/volume9.h b/src/gallium/frontends/nine/volume9.h index 77060f22112..77060f22112 100644 --- a/src/gallium/state_trackers/nine/volume9.h +++ b/src/gallium/frontends/nine/volume9.h diff --git a/src/gallium/state_trackers/nine/volumetexture9.c b/src/gallium/frontends/nine/volumetexture9.c index c7191bce688..c7191bce688 100644 --- a/src/gallium/state_trackers/nine/volumetexture9.c +++ b/src/gallium/frontends/nine/volumetexture9.c diff --git a/src/gallium/state_trackers/nine/volumetexture9.h b/src/gallium/frontends/nine/volumetexture9.h index dfe564cfc18..dfe564cfc18 100644 --- a/src/gallium/state_trackers/nine/volumetexture9.h +++ b/src/gallium/frontends/nine/volumetexture9.h diff --git a/src/gallium/state_trackers/omx/Makefile.sources b/src/gallium/frontends/omx/Makefile.sources index 0fb1d9a4d76..0fb1d9a4d76 100644 --- a/src/gallium/state_trackers/omx/Makefile.sources +++ b/src/gallium/frontends/omx/Makefile.sources diff --git a/src/gallium/state_trackers/omx/bellagio/Makefile.sources b/src/gallium/frontends/omx/bellagio/Makefile.sources index ab60ce803cb..ab60ce803cb 100644 --- a/src/gallium/state_trackers/omx/bellagio/Makefile.sources +++ b/src/gallium/frontends/omx/bellagio/Makefile.sources diff --git a/src/gallium/state_trackers/omx/bellagio/entrypoint.c b/src/gallium/frontends/omx/bellagio/entrypoint.c index 5c75e8dadaa..5c75e8dadaa 100644 --- a/src/gallium/state_trackers/omx/bellagio/entrypoint.c +++ b/src/gallium/frontends/omx/bellagio/entrypoint.c diff --git a/src/gallium/state_trackers/omx/bellagio/entrypoint.h b/src/gallium/frontends/omx/bellagio/entrypoint.h index d566d1eb5a3..d566d1eb5a3 100644 --- a/src/gallium/state_trackers/omx/bellagio/entrypoint.h +++ b/src/gallium/frontends/omx/bellagio/entrypoint.h diff --git a/src/gallium/state_trackers/omx/bellagio/vid_dec.c b/src/gallium/frontends/omx/bellagio/vid_dec.c index 2eedf937cd9..2eedf937cd9 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_dec.c +++ b/src/gallium/frontends/omx/bellagio/vid_dec.c diff --git a/src/gallium/state_trackers/omx/bellagio/vid_dec.h b/src/gallium/frontends/omx/bellagio/vid_dec.h index 247217810b5..247217810b5 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_dec.h +++ b/src/gallium/frontends/omx/bellagio/vid_dec.h diff --git a/src/gallium/state_trackers/omx/bellagio/vid_dec_h264.c b/src/gallium/frontends/omx/bellagio/vid_dec_h264.c index 1a198a97e96..1a198a97e96 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_dec_h264.c +++ b/src/gallium/frontends/omx/bellagio/vid_dec_h264.c diff --git a/src/gallium/state_trackers/omx/bellagio/vid_dec_h265.c b/src/gallium/frontends/omx/bellagio/vid_dec_h265.c index c50be7804cb..c50be7804cb 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_dec_h265.c +++ b/src/gallium/frontends/omx/bellagio/vid_dec_h265.c diff --git a/src/gallium/state_trackers/omx/bellagio/vid_dec_mpeg12.c b/src/gallium/frontends/omx/bellagio/vid_dec_mpeg12.c index f64c2b83fa5..f64c2b83fa5 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_dec_mpeg12.c +++ b/src/gallium/frontends/omx/bellagio/vid_dec_mpeg12.c diff --git a/src/gallium/state_trackers/omx/bellagio/vid_enc.c b/src/gallium/frontends/omx/bellagio/vid_enc.c index 7f4a673d3cd..7f4a673d3cd 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_enc.c +++ b/src/gallium/frontends/omx/bellagio/vid_enc.c diff --git a/src/gallium/state_trackers/omx/bellagio/vid_enc.h b/src/gallium/frontends/omx/bellagio/vid_enc.h index 4d2b867261b..4d2b867261b 100644 --- a/src/gallium/state_trackers/omx/bellagio/vid_enc.h +++ b/src/gallium/frontends/omx/bellagio/vid_enc.h diff --git a/src/gallium/state_trackers/omx/meson.build b/src/gallium/frontends/omx/meson.build index 35866c1cba0..35866c1cba0 100644 --- a/src/gallium/state_trackers/omx/meson.build +++ b/src/gallium/frontends/omx/meson.build diff --git a/src/gallium/state_trackers/omx/tizonia/Makefile.sources b/src/gallium/frontends/omx/tizonia/Makefile.sources index 7e039d3c5ad..7e039d3c5ad 100644 --- a/src/gallium/state_trackers/omx/tizonia/Makefile.sources +++ b/src/gallium/frontends/omx/tizonia/Makefile.sources diff --git a/src/gallium/state_trackers/omx/tizonia/entrypoint.c b/src/gallium/frontends/omx/tizonia/entrypoint.c index a6c2c45b39e..a6c2c45b39e 100644 --- a/src/gallium/state_trackers/omx/tizonia/entrypoint.c +++ b/src/gallium/frontends/omx/tizonia/entrypoint.c diff --git a/src/gallium/state_trackers/omx/tizonia/entrypoint.h b/src/gallium/frontends/omx/tizonia/entrypoint.h index 740a89dbffc..740a89dbffc 100644 --- a/src/gallium/state_trackers/omx/tizonia/entrypoint.h +++ b/src/gallium/frontends/omx/tizonia/entrypoint.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264d.c b/src/gallium/frontends/omx/tizonia/h264d.c index 92019a7a4bd..92019a7a4bd 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264d.c +++ b/src/gallium/frontends/omx/tizonia/h264d.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264d.h b/src/gallium/frontends/omx/tizonia/h264d.h index 1733425d45c..1733425d45c 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264d.h +++ b/src/gallium/frontends/omx/tizonia/h264d.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264dinport.c b/src/gallium/frontends/omx/tizonia/h264dinport.c index 858ae761560..858ae761560 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264dinport.c +++ b/src/gallium/frontends/omx/tizonia/h264dinport.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264dinport.h b/src/gallium/frontends/omx/tizonia/h264dinport.h index f158e4e1038..f158e4e1038 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264dinport.h +++ b/src/gallium/frontends/omx/tizonia/h264dinport.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264dinport_decls.h b/src/gallium/frontends/omx/tizonia/h264dinport_decls.h index 0194f6e3d09..0194f6e3d09 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264dinport_decls.h +++ b/src/gallium/frontends/omx/tizonia/h264dinport_decls.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264dprc.c b/src/gallium/frontends/omx/tizonia/h264dprc.c index c5df994b8c3..c5df994b8c3 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264dprc.c +++ b/src/gallium/frontends/omx/tizonia/h264dprc.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264dprc.h b/src/gallium/frontends/omx/tizonia/h264dprc.h index 08af5491a3e..08af5491a3e 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264dprc.h +++ b/src/gallium/frontends/omx/tizonia/h264dprc.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264e.c b/src/gallium/frontends/omx/tizonia/h264e.c index 8ff4b14c53c..8ff4b14c53c 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264e.c +++ b/src/gallium/frontends/omx/tizonia/h264e.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264e.h b/src/gallium/frontends/omx/tizonia/h264e.h index de8316c726d..de8316c726d 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264e.h +++ b/src/gallium/frontends/omx/tizonia/h264e.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264einport.c b/src/gallium/frontends/omx/tizonia/h264einport.c index 609a1782b6b..609a1782b6b 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264einport.c +++ b/src/gallium/frontends/omx/tizonia/h264einport.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264einport.h b/src/gallium/frontends/omx/tizonia/h264einport.h index 3dd89061970..3dd89061970 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264einport.h +++ b/src/gallium/frontends/omx/tizonia/h264einport.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264einport_decls.h b/src/gallium/frontends/omx/tizonia/h264einport_decls.h index 9efaf742b84..9efaf742b84 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264einport_decls.h +++ b/src/gallium/frontends/omx/tizonia/h264einport_decls.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264eoutport.c b/src/gallium/frontends/omx/tizonia/h264eoutport.c index 775e04278a4..775e04278a4 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264eoutport.c +++ b/src/gallium/frontends/omx/tizonia/h264eoutport.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264eoutport.h b/src/gallium/frontends/omx/tizonia/h264eoutport.h index afbf9fed3f7..afbf9fed3f7 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264eoutport.h +++ b/src/gallium/frontends/omx/tizonia/h264eoutport.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264eoutport_decls.h b/src/gallium/frontends/omx/tizonia/h264eoutport_decls.h index 28c9e06a0f7..28c9e06a0f7 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264eoutport_decls.h +++ b/src/gallium/frontends/omx/tizonia/h264eoutport_decls.h diff --git a/src/gallium/state_trackers/omx/tizonia/h264eprc.c b/src/gallium/frontends/omx/tizonia/h264eprc.c index b52e489f21c..b52e489f21c 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264eprc.c +++ b/src/gallium/frontends/omx/tizonia/h264eprc.c diff --git a/src/gallium/state_trackers/omx/tizonia/h264eprc.h b/src/gallium/frontends/omx/tizonia/h264eprc.h index c5bc151a825..c5bc151a825 100644 --- a/src/gallium/state_trackers/omx/tizonia/h264eprc.h +++ b/src/gallium/frontends/omx/tizonia/h264eprc.h diff --git a/src/gallium/state_trackers/omx/tizonia/names.h b/src/gallium/frontends/omx/tizonia/names.h index edde7df396a..edde7df396a 100644 --- a/src/gallium/state_trackers/omx/tizonia/names.h +++ b/src/gallium/frontends/omx/tizonia/names.h diff --git a/src/gallium/state_trackers/omx/vid_dec_common.c b/src/gallium/frontends/omx/vid_dec_common.c index 5ca544f8386..5ca544f8386 100644 --- a/src/gallium/state_trackers/omx/vid_dec_common.c +++ b/src/gallium/frontends/omx/vid_dec_common.c diff --git a/src/gallium/state_trackers/omx/vid_dec_common.h b/src/gallium/frontends/omx/vid_dec_common.h index 26091e3e6f9..26091e3e6f9 100644 --- a/src/gallium/state_trackers/omx/vid_dec_common.h +++ b/src/gallium/frontends/omx/vid_dec_common.h diff --git a/src/gallium/state_trackers/omx/vid_dec_h264_common.c b/src/gallium/frontends/omx/vid_dec_h264_common.c index 4074099cdd3..4074099cdd3 100644 --- a/src/gallium/state_trackers/omx/vid_dec_h264_common.c +++ b/src/gallium/frontends/omx/vid_dec_h264_common.c diff --git a/src/gallium/state_trackers/omx/vid_dec_h264_common.h b/src/gallium/frontends/omx/vid_dec_h264_common.h index abde53beef9..abde53beef9 100644 --- a/src/gallium/state_trackers/omx/vid_dec_h264_common.h +++ b/src/gallium/frontends/omx/vid_dec_h264_common.h diff --git a/src/gallium/state_trackers/omx/vid_enc_common.c b/src/gallium/frontends/omx/vid_enc_common.c index 1cc0c130e5d..1cc0c130e5d 100644 --- a/src/gallium/state_trackers/omx/vid_enc_common.c +++ b/src/gallium/frontends/omx/vid_enc_common.c diff --git a/src/gallium/state_trackers/omx/vid_enc_common.h b/src/gallium/frontends/omx/vid_enc_common.h index 8c8830dfcc6..8c8830dfcc6 100644 --- a/src/gallium/state_trackers/omx/vid_enc_common.h +++ b/src/gallium/frontends/omx/vid_enc_common.h diff --git a/src/gallium/state_trackers/omx/vid_omx_common.c b/src/gallium/frontends/omx/vid_omx_common.c index 63afa898ba1..63afa898ba1 100644 --- a/src/gallium/state_trackers/omx/vid_omx_common.c +++ b/src/gallium/frontends/omx/vid_omx_common.c diff --git a/src/gallium/state_trackers/omx/vid_omx_common.h b/src/gallium/frontends/omx/vid_omx_common.h index e27013d1746..e27013d1746 100644 --- a/src/gallium/state_trackers/omx/vid_omx_common.h +++ b/src/gallium/frontends/omx/vid_omx_common.h diff --git a/src/gallium/frontends/osmesa/Makefile.sources b/src/gallium/frontends/osmesa/Makefile.sources new file mode 100644 index 00000000000..f8008efdec5 --- /dev/null +++ b/src/gallium/frontends/osmesa/Makefile.sources @@ -0,0 +1,2 @@ +C_SOURCES := \ + osmesa.c diff --git a/src/gallium/frontends/osmesa/SConscript b/src/gallium/frontends/osmesa/SConscript new file mode 100644 index 00000000000..be67d0fe739 --- /dev/null +++ b/src/gallium/frontends/osmesa/SConscript @@ -0,0 +1,24 @@ +import os + +Import('*') + +env = env.Clone() + +env.Append(CPPPATH = [ + '#src/mapi', + '#src/mesa', + '.', +]) + +if env['platform'] == 'windows': + env.AppendUnique(CPPDEFINES = [ + 'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers + 'WIN32_LEAN_AND_MEAN', # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx + '_GLAPI_NO_EXPORTS', # prevent _glapi_* from being declared __declspec(dllimport) + ]) + +st_osmesa = env.ConvenienceLibrary( + target ='st_osmesa', + source = env.ParseSourceList('Makefile.sources', 'C_SOURCES'), +) +Export('st_osmesa') diff --git a/src/gallium/state_trackers/osmesa/meson.build b/src/gallium/frontends/osmesa/meson.build index e5848fd9934..e5848fd9934 100644 --- a/src/gallium/state_trackers/osmesa/meson.build +++ b/src/gallium/frontends/osmesa/meson.build diff --git a/src/gallium/state_trackers/osmesa/osmesa.c b/src/gallium/frontends/osmesa/osmesa.c index b1890a33c46..8689c1113a3 100644 --- a/src/gallium/state_trackers/osmesa/osmesa.c +++ b/src/gallium/frontends/osmesa/osmesa.c @@ -69,7 +69,7 @@ #include "postprocess/filters.h" #include "postprocess/postprocess.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include "state_tracker/st_gl_api.h" diff --git a/src/gallium/state_trackers/va/Makefile.sources b/src/gallium/frontends/va/Makefile.sources index bd43100a870..bd43100a870 100644 --- a/src/gallium/state_trackers/va/Makefile.sources +++ b/src/gallium/frontends/va/Makefile.sources diff --git a/src/gallium/state_trackers/va/buffer.c b/src/gallium/frontends/va/buffer.c index 0691b7023b2..5ab90186a1a 100644 --- a/src/gallium/state_trackers/va/buffer.c +++ b/src/gallium/frontends/va/buffer.c @@ -27,7 +27,7 @@ **************************************************************************/ #include "pipe/p_screen.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_memory.h" #include "util/u_handle_table.h" #include "util/u_transfer.h" diff --git a/src/gallium/state_trackers/va/config.c b/src/gallium/frontends/va/config.c index 294cbcc6418..294cbcc6418 100644 --- a/src/gallium/state_trackers/va/config.c +++ b/src/gallium/frontends/va/config.c diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/frontends/va/context.c index 0c596f3f811..0c596f3f811 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/frontends/va/context.c diff --git a/src/gallium/state_trackers/va/display.c b/src/gallium/frontends/va/display.c index 3d0fe09ca61..3d0fe09ca61 100644 --- a/src/gallium/state_trackers/va/display.c +++ b/src/gallium/frontends/va/display.c diff --git a/src/gallium/state_trackers/va/image.c b/src/gallium/frontends/va/image.c index 3a6a7e83d14..3a6a7e83d14 100644 --- a/src/gallium/state_trackers/va/image.c +++ b/src/gallium/frontends/va/image.c diff --git a/src/gallium/state_trackers/va/meson.build b/src/gallium/frontends/va/meson.build index 1929d907b9d..1929d907b9d 100644 --- a/src/gallium/state_trackers/va/meson.build +++ b/src/gallium/frontends/va/meson.build diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/frontends/va/picture.c index d292594590c..d292594590c 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/frontends/va/picture.c diff --git a/src/gallium/state_trackers/va/picture_h264.c b/src/gallium/frontends/va/picture_h264.c index 883a94a2b52..883a94a2b52 100644 --- a/src/gallium/state_trackers/va/picture_h264.c +++ b/src/gallium/frontends/va/picture_h264.c diff --git a/src/gallium/state_trackers/va/picture_h264_enc.c b/src/gallium/frontends/va/picture_h264_enc.c index 8ee27d2cb29..8ee27d2cb29 100644 --- a/src/gallium/state_trackers/va/picture_h264_enc.c +++ b/src/gallium/frontends/va/picture_h264_enc.c diff --git a/src/gallium/state_trackers/va/picture_hevc.c b/src/gallium/frontends/va/picture_hevc.c index e879259ae1f..e879259ae1f 100644 --- a/src/gallium/state_trackers/va/picture_hevc.c +++ b/src/gallium/frontends/va/picture_hevc.c diff --git a/src/gallium/state_trackers/va/picture_hevc_enc.c b/src/gallium/frontends/va/picture_hevc_enc.c index 510597753ce..510597753ce 100644 --- a/src/gallium/state_trackers/va/picture_hevc_enc.c +++ b/src/gallium/frontends/va/picture_hevc_enc.c diff --git a/src/gallium/state_trackers/va/picture_mjpeg.c b/src/gallium/frontends/va/picture_mjpeg.c index defb0b546de..defb0b546de 100644 --- a/src/gallium/state_trackers/va/picture_mjpeg.c +++ b/src/gallium/frontends/va/picture_mjpeg.c diff --git a/src/gallium/state_trackers/va/picture_mpeg12.c b/src/gallium/frontends/va/picture_mpeg12.c index daf95f7403c..daf95f7403c 100644 --- a/src/gallium/state_trackers/va/picture_mpeg12.c +++ b/src/gallium/frontends/va/picture_mpeg12.c diff --git a/src/gallium/state_trackers/va/picture_mpeg4.c b/src/gallium/frontends/va/picture_mpeg4.c index 82659ef7b20..82659ef7b20 100644 --- a/src/gallium/state_trackers/va/picture_mpeg4.c +++ b/src/gallium/frontends/va/picture_mpeg4.c diff --git a/src/gallium/state_trackers/va/picture_vc1.c b/src/gallium/frontends/va/picture_vc1.c index 6ad1571ca96..6ad1571ca96 100644 --- a/src/gallium/state_trackers/va/picture_vc1.c +++ b/src/gallium/frontends/va/picture_vc1.c diff --git a/src/gallium/state_trackers/va/picture_vp9.c b/src/gallium/frontends/va/picture_vp9.c index b5aca9a513c..b5aca9a513c 100644 --- a/src/gallium/state_trackers/va/picture_vp9.c +++ b/src/gallium/frontends/va/picture_vp9.c diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/frontends/va/postproc.c index 18458832844..18458832844 100644 --- a/src/gallium/state_trackers/va/postproc.c +++ b/src/gallium/frontends/va/postproc.c diff --git a/src/gallium/state_trackers/va/subpicture.c b/src/gallium/frontends/va/subpicture.c index b213e9abb7d..b213e9abb7d 100644 --- a/src/gallium/state_trackers/va/subpicture.c +++ b/src/gallium/frontends/va/subpicture.c diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/frontends/va/surface.c index bfad93f8f3d..964d316bc46 100644 --- a/src/gallium/state_trackers/va/surface.c +++ b/src/gallium/frontends/va/surface.c @@ -29,7 +29,7 @@ #include "pipe/p_screen.h" #include "pipe/p_video_codec.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_memory.h" #include "util/u_handle_table.h" diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/frontends/va/va_private.h index e3a9790103b..e3a9790103b 100644 --- a/src/gallium/state_trackers/va/va_private.h +++ b/src/gallium/frontends/va/va_private.h diff --git a/src/gallium/state_trackers/vdpau/Makefile.sources b/src/gallium/frontends/vdpau/Makefile.sources index dfe0bcd043f..dfe0bcd043f 100644 --- a/src/gallium/state_trackers/vdpau/Makefile.sources +++ b/src/gallium/frontends/vdpau/Makefile.sources diff --git a/src/gallium/state_trackers/vdpau/bitmap.c b/src/gallium/frontends/vdpau/bitmap.c index 643be75e618..643be75e618 100644 --- a/src/gallium/state_trackers/vdpau/bitmap.c +++ b/src/gallium/frontends/vdpau/bitmap.c diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/frontends/vdpau/decode.c index 8d3c58714a8..8d3c58714a8 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/frontends/vdpau/decode.c diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/frontends/vdpau/device.c index 5df30ea3c08..5df30ea3c08 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/frontends/vdpau/device.c diff --git a/src/gallium/state_trackers/vdpau/ftab.c b/src/gallium/frontends/vdpau/ftab.c index 31786229bc5..31786229bc5 100644 --- a/src/gallium/state_trackers/vdpau/ftab.c +++ b/src/gallium/frontends/vdpau/ftab.c diff --git a/src/gallium/state_trackers/vdpau/htab.c b/src/gallium/frontends/vdpau/htab.c index f596b2d571f..f596b2d571f 100644 --- a/src/gallium/state_trackers/vdpau/htab.c +++ b/src/gallium/frontends/vdpau/htab.c diff --git a/src/gallium/state_trackers/vdpau/meson.build b/src/gallium/frontends/vdpau/meson.build index 28c4e9cab76..28c4e9cab76 100644 --- a/src/gallium/state_trackers/vdpau/meson.build +++ b/src/gallium/frontends/vdpau/meson.build diff --git a/src/gallium/state_trackers/vdpau/mixer.c b/src/gallium/frontends/vdpau/mixer.c index 2e2bd20ef39..2e2bd20ef39 100644 --- a/src/gallium/state_trackers/vdpau/mixer.c +++ b/src/gallium/frontends/vdpau/mixer.c diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/frontends/vdpau/output.c index ac8fc550bc7..75a9f016e90 100644 --- a/src/gallium/state_trackers/vdpau/output.c +++ b/src/gallium/frontends/vdpau/output.c @@ -36,7 +36,7 @@ #include "vl/vl_csc.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "vdpau_private.h" diff --git a/src/gallium/state_trackers/vdpau/preemption.c b/src/gallium/frontends/vdpau/preemption.c index 6d376acd339..6d376acd339 100644 --- a/src/gallium/state_trackers/vdpau/preemption.c +++ b/src/gallium/frontends/vdpau/preemption.c diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/frontends/vdpau/presentation.c index 54f15ff34b1..54f15ff34b1 100644 --- a/src/gallium/state_trackers/vdpau/presentation.c +++ b/src/gallium/frontends/vdpau/presentation.c diff --git a/src/gallium/state_trackers/vdpau/query.c b/src/gallium/frontends/vdpau/query.c index 701d9f220c4..701d9f220c4 100644 --- a/src/gallium/state_trackers/vdpau/query.c +++ b/src/gallium/frontends/vdpau/query.c diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/frontends/vdpau/surface.c index 4158e6bcfe6..bce4400b0ee 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/frontends/vdpau/surface.c @@ -37,7 +37,7 @@ #include "util/u_video.h" #include "vl/vl_defines.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "vdpau_private.h" diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/frontends/vdpau/vdpau_private.h index 80bb5aee0fe..1f46f31a549 100644 --- a/src/gallium/state_trackers/vdpau/vdpau_private.h +++ b/src/gallium/frontends/vdpau/vdpau_private.h @@ -36,9 +36,9 @@ #include "pipe/p_compiler.h" #include "pipe/p_video_codec.h" -#include "state_tracker/vdpau_interop.h" -#include "state_tracker/vdpau_dmabuf.h" -#include "state_tracker/vdpau_funcs.h" +#include "frontend/vdpau_interop.h" +#include "frontend/vdpau_dmabuf.h" +#include "frontend/vdpau_funcs.h" #include "util/u_debug.h" #include "util/u_rect.h" diff --git a/src/gallium/state_trackers/wgl/Makefile.sources b/src/gallium/frontends/wgl/Makefile.sources index 2630b445d54..2630b445d54 100644 --- a/src/gallium/state_trackers/wgl/Makefile.sources +++ b/src/gallium/frontends/wgl/Makefile.sources diff --git a/src/gallium/state_trackers/wgl/SConscript b/src/gallium/frontends/wgl/SConscript index bbf5ebd9764..bbf5ebd9764 100644 --- a/src/gallium/state_trackers/wgl/SConscript +++ b/src/gallium/frontends/wgl/SConscript diff --git a/src/gallium/state_trackers/wgl/gldrv.h b/src/gallium/frontends/wgl/gldrv.h index 829422c96a8..829422c96a8 100644 --- a/src/gallium/state_trackers/wgl/gldrv.h +++ b/src/gallium/frontends/wgl/gldrv.h diff --git a/src/gallium/state_trackers/wgl/meson.build b/src/gallium/frontends/wgl/meson.build index ce6e9883e00..ce6e9883e00 100644 --- a/src/gallium/state_trackers/wgl/meson.build +++ b/src/gallium/frontends/wgl/meson.build diff --git a/src/gallium/state_trackers/wgl/opengl32.def b/src/gallium/frontends/wgl/opengl32.def index c35c23b55e1..c35c23b55e1 100644 --- a/src/gallium/state_trackers/wgl/opengl32.def +++ b/src/gallium/frontends/wgl/opengl32.def diff --git a/src/gallium/state_trackers/wgl/opengl32.mingw.def b/src/gallium/frontends/wgl/opengl32.mingw.def index 0bceee06979..0bceee06979 100644 --- a/src/gallium/state_trackers/wgl/opengl32.mingw.def +++ b/src/gallium/frontends/wgl/opengl32.mingw.def diff --git a/src/gallium/state_trackers/wgl/stw_context.c b/src/gallium/frontends/wgl/stw_context.c index fe9b2e06e00..57dd85c382d 100644 --- a/src/gallium/state_trackers/wgl/stw_context.c +++ b/src/gallium/frontends/wgl/stw_context.c @@ -37,7 +37,7 @@ #include "pipe/p_state.h" #include "util/u_memory.h" #include "util/u_atomic.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include "hud/hud_context.h" #include "gldrv.h" diff --git a/src/gallium/state_trackers/wgl/stw_context.h b/src/gallium/frontends/wgl/stw_context.h index b630fc307df..b630fc307df 100644 --- a/src/gallium/state_trackers/wgl/stw_context.h +++ b/src/gallium/frontends/wgl/stw_context.h diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/frontends/wgl/stw_device.c index f5064da9f29..f5064da9f29 100644 --- a/src/gallium/state_trackers/wgl/stw_device.c +++ b/src/gallium/frontends/wgl/stw_device.c diff --git a/src/gallium/state_trackers/wgl/stw_device.h b/src/gallium/frontends/wgl/stw_device.h index a2cd6c7487c..a2cd6c7487c 100644 --- a/src/gallium/state_trackers/wgl/stw_device.h +++ b/src/gallium/frontends/wgl/stw_device.h diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.c b/src/gallium/frontends/wgl/stw_ext_context.c index 4171987f89c..4171987f89c 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_context.c +++ b/src/gallium/frontends/wgl/stw_ext_context.c diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.h b/src/gallium/frontends/wgl/stw_ext_context.h index d0337490436..d0337490436 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_context.h +++ b/src/gallium/frontends/wgl/stw_ext_context.h diff --git a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c b/src/gallium/frontends/wgl/stw_ext_extensionsstring.c index 904ac151490..904ac151490 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c +++ b/src/gallium/frontends/wgl/stw_ext_extensionsstring.c diff --git a/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c b/src/gallium/frontends/wgl/stw_ext_pbuffer.c index 02ccb76e277..02ccb76e277 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c +++ b/src/gallium/frontends/wgl/stw_ext_pbuffer.c diff --git a/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c b/src/gallium/frontends/wgl/stw_ext_pixelformat.c index 8fc6da1df2e..8fc6da1df2e 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c +++ b/src/gallium/frontends/wgl/stw_ext_pixelformat.c diff --git a/src/gallium/state_trackers/wgl/stw_ext_rendertexture.c b/src/gallium/frontends/wgl/stw_ext_rendertexture.c index 48b2b1f61a4..48b2b1f61a4 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_rendertexture.c +++ b/src/gallium/frontends/wgl/stw_ext_rendertexture.c diff --git a/src/gallium/state_trackers/wgl/stw_ext_swapinterval.c b/src/gallium/frontends/wgl/stw_ext_swapinterval.c index 3b913e7db93..3b913e7db93 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_swapinterval.c +++ b/src/gallium/frontends/wgl/stw_ext_swapinterval.c diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.c b/src/gallium/frontends/wgl/stw_framebuffer.c index 4078d95287b..1456f2e7caf 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.c +++ b/src/gallium/frontends/wgl/stw_framebuffer.c @@ -31,7 +31,7 @@ #include "util/u_memory.h" #include "hud/hud_context.h" #include "util/os_time.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" #include <GL/gl.h> #include "gldrv.h" diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.h b/src/gallium/frontends/wgl/stw_framebuffer.h index d44c3a6634a..d44c3a6634a 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.h +++ b/src/gallium/frontends/wgl/stw_framebuffer.h diff --git a/src/gallium/state_trackers/wgl/stw_getprocaddress.c b/src/gallium/frontends/wgl/stw_getprocaddress.c index f062cd38aed..f062cd38aed 100644 --- a/src/gallium/state_trackers/wgl/stw_getprocaddress.c +++ b/src/gallium/frontends/wgl/stw_getprocaddress.c diff --git a/src/gallium/state_trackers/wgl/stw_nopfuncs.c b/src/gallium/frontends/wgl/stw_nopfuncs.c index d69c0134f37..d69c0134f37 100644 --- a/src/gallium/state_trackers/wgl/stw_nopfuncs.c +++ b/src/gallium/frontends/wgl/stw_nopfuncs.c diff --git a/src/gallium/state_trackers/wgl/stw_nopfuncs.h b/src/gallium/frontends/wgl/stw_nopfuncs.h index f00d420accf..f00d420accf 100644 --- a/src/gallium/state_trackers/wgl/stw_nopfuncs.h +++ b/src/gallium/frontends/wgl/stw_nopfuncs.h diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/frontends/wgl/stw_pixelformat.c index 8696300f3e0..8696300f3e0 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.c +++ b/src/gallium/frontends/wgl/stw_pixelformat.c diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.h b/src/gallium/frontends/wgl/stw_pixelformat.h index 06753b09e16..e3ab1ee7514 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.h +++ b/src/gallium/frontends/wgl/stw_pixelformat.h @@ -36,7 +36,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_format.h" -#include "state_tracker/st_api.h" +#include "frontend/api.h" struct stw_pixelformat_info { diff --git a/src/gallium/state_trackers/wgl/stw_st.c b/src/gallium/frontends/wgl/stw_st.c index e173c816c7c..e173c816c7c 100644 --- a/src/gallium/state_trackers/wgl/stw_st.c +++ b/src/gallium/frontends/wgl/stw_st.c diff --git a/src/gallium/state_trackers/wgl/stw_st.h b/src/gallium/frontends/wgl/stw_st.h index 20d491fa609..91b8fffc2ce 100644 --- a/src/gallium/state_trackers/wgl/stw_st.h +++ b/src/gallium/frontends/wgl/stw_st.h @@ -30,7 +30,7 @@ #include <windows.h> -#include "state_tracker/st_api.h" +#include "frontend/api.h" struct stw_framebuffer; diff --git a/src/gallium/state_trackers/wgl/stw_tls.c b/src/gallium/frontends/wgl/stw_tls.c index 9b7d60c6d8c..9b7d60c6d8c 100644 --- a/src/gallium/state_trackers/wgl/stw_tls.c +++ b/src/gallium/frontends/wgl/stw_tls.c diff --git a/src/gallium/state_trackers/wgl/stw_tls.h b/src/gallium/frontends/wgl/stw_tls.h index 07cfe3168d9..07cfe3168d9 100644 --- a/src/gallium/state_trackers/wgl/stw_tls.h +++ b/src/gallium/frontends/wgl/stw_tls.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl.c b/src/gallium/frontends/wgl/stw_wgl.c index 9103c750ea9..9103c750ea9 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl.c +++ b/src/gallium/frontends/wgl/stw_wgl.c diff --git a/src/gallium/state_trackers/wgl/stw_wgl.h b/src/gallium/frontends/wgl/stw_wgl.h index 92d70b5da9e..92d70b5da9e 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl.h +++ b/src/gallium/frontends/wgl/stw_wgl.h diff --git a/src/gallium/state_trackers/wgl/stw_winsys.h b/src/gallium/frontends/wgl/stw_winsys.h index 281b201bc22..281b201bc22 100644 --- a/src/gallium/state_trackers/wgl/stw_winsys.h +++ b/src/gallium/frontends/wgl/stw_winsys.h diff --git a/src/gallium/state_trackers/xa/.editorconfig b/src/gallium/frontends/xa/.editorconfig index 7b12a40ca00..7b12a40ca00 100644 --- a/src/gallium/state_trackers/xa/.editorconfig +++ b/src/gallium/frontends/xa/.editorconfig diff --git a/src/gallium/state_trackers/xa/Makefile.sources b/src/gallium/frontends/xa/Makefile.sources index cdcc4187ac1..cdcc4187ac1 100644 --- a/src/gallium/state_trackers/xa/Makefile.sources +++ b/src/gallium/frontends/xa/Makefile.sources diff --git a/src/gallium/state_trackers/xa/README b/src/gallium/frontends/xa/README index 1f08861588c..1f08861588c 100644 --- a/src/gallium/state_trackers/xa/README +++ b/src/gallium/frontends/xa/README diff --git a/src/gallium/state_trackers/xa/meson.build b/src/gallium/frontends/xa/meson.build index 0c3540f0359..0c3540f0359 100644 --- a/src/gallium/state_trackers/xa/meson.build +++ b/src/gallium/frontends/xa/meson.build diff --git a/src/gallium/state_trackers/xa/xa-indent.sh b/src/gallium/frontends/xa/xa-indent.sh index 90241a3772e..90241a3772e 100755 --- a/src/gallium/state_trackers/xa/xa-indent.sh +++ b/src/gallium/frontends/xa/xa-indent.sh diff --git a/src/gallium/state_trackers/xa/xa_composite.c b/src/gallium/frontends/xa/xa_composite.c index 34d78027e27..34d78027e27 100644 --- a/src/gallium/state_trackers/xa/xa_composite.c +++ b/src/gallium/frontends/xa/xa_composite.c diff --git a/src/gallium/state_trackers/xa/xa_composite.h b/src/gallium/frontends/xa/xa_composite.h index 7e3737a63d2..7e3737a63d2 100644 --- a/src/gallium/state_trackers/xa/xa_composite.h +++ b/src/gallium/frontends/xa/xa_composite.h diff --git a/src/gallium/state_trackers/xa/xa_context.c b/src/gallium/frontends/xa/xa_context.c index a4630cf09ca..a4630cf09ca 100644 --- a/src/gallium/state_trackers/xa/xa_context.c +++ b/src/gallium/frontends/xa/xa_context.c diff --git a/src/gallium/state_trackers/xa/xa_context.h b/src/gallium/frontends/xa/xa_context.h index 202b8e56e23..202b8e56e23 100644 --- a/src/gallium/state_trackers/xa/xa_context.h +++ b/src/gallium/frontends/xa/xa_context.h diff --git a/src/gallium/state_trackers/xa/xa_priv.h b/src/gallium/frontends/xa/xa_priv.h index f368de3b81f..f368de3b81f 100644 --- a/src/gallium/state_trackers/xa/xa_priv.h +++ b/src/gallium/frontends/xa/xa_priv.h diff --git a/src/gallium/state_trackers/xa/xa_renderer.c b/src/gallium/frontends/xa/xa_renderer.c index 89548ad7019..89548ad7019 100644 --- a/src/gallium/state_trackers/xa/xa_renderer.c +++ b/src/gallium/frontends/xa/xa_renderer.c diff --git a/src/gallium/state_trackers/xa/xa_tgsi.c b/src/gallium/frontends/xa/xa_tgsi.c index 83f6db128c3..83f6db128c3 100644 --- a/src/gallium/state_trackers/xa/xa_tgsi.c +++ b/src/gallium/frontends/xa/xa_tgsi.c diff --git a/src/gallium/state_trackers/xa/xa_tracker.c b/src/gallium/frontends/xa/xa_tracker.c index 0909044fb91..31162606375 100644 --- a/src/gallium/state_trackers/xa/xa_tracker.c +++ b/src/gallium/frontends/xa/xa_tracker.c @@ -32,7 +32,7 @@ #include "pipe/p_state.h" #include "pipe/p_format.h" #include "pipe-loader/pipe_loader.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "util/u_inlines.h" /* diff --git a/src/gallium/state_trackers/xa/xa_tracker.h.in b/src/gallium/frontends/xa/xa_tracker.h.in index 3d136707152..3d136707152 100644 --- a/src/gallium/state_trackers/xa/xa_tracker.h.in +++ b/src/gallium/frontends/xa/xa_tracker.h.in diff --git a/src/gallium/state_trackers/xa/xa_yuv.c b/src/gallium/frontends/xa/xa_yuv.c index 97a1833ff15..97a1833ff15 100644 --- a/src/gallium/state_trackers/xa/xa_yuv.c +++ b/src/gallium/frontends/xa/xa_yuv.c diff --git a/src/gallium/state_trackers/xvmc/Makefile.sources b/src/gallium/frontends/xvmc/Makefile.sources index 814357bf25d..814357bf25d 100644 --- a/src/gallium/state_trackers/xvmc/Makefile.sources +++ b/src/gallium/frontends/xvmc/Makefile.sources diff --git a/src/gallium/state_trackers/xvmc/attributes.c b/src/gallium/frontends/xvmc/attributes.c index 6e4d78a9a29..6e4d78a9a29 100644 --- a/src/gallium/state_trackers/xvmc/attributes.c +++ b/src/gallium/frontends/xvmc/attributes.c diff --git a/src/gallium/state_trackers/xvmc/block.c b/src/gallium/frontends/xvmc/block.c index 80296280247..80296280247 100644 --- a/src/gallium/state_trackers/xvmc/block.c +++ b/src/gallium/frontends/xvmc/block.c diff --git a/src/gallium/state_trackers/xvmc/context.c b/src/gallium/frontends/xvmc/context.c index 1ecff5e8ac1..1ecff5e8ac1 100644 --- a/src/gallium/state_trackers/xvmc/context.c +++ b/src/gallium/frontends/xvmc/context.c diff --git a/src/gallium/state_trackers/xvmc/meson.build b/src/gallium/frontends/xvmc/meson.build index 9022bf4d0a6..9022bf4d0a6 100644 --- a/src/gallium/state_trackers/xvmc/meson.build +++ b/src/gallium/frontends/xvmc/meson.build diff --git a/src/gallium/state_trackers/xvmc/subpicture.c b/src/gallium/frontends/xvmc/subpicture.c index 42eefe74e69..42eefe74e69 100644 --- a/src/gallium/state_trackers/xvmc/subpicture.c +++ b/src/gallium/frontends/xvmc/subpicture.c diff --git a/src/gallium/state_trackers/xvmc/surface.c b/src/gallium/frontends/xvmc/surface.c index 03ee59482c6..03ee59482c6 100644 --- a/src/gallium/state_trackers/xvmc/surface.c +++ b/src/gallium/frontends/xvmc/surface.c diff --git a/src/gallium/state_trackers/xvmc/tests/test_blocks.c b/src/gallium/frontends/xvmc/tests/test_blocks.c index 53c29bc5ae1..53c29bc5ae1 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_blocks.c +++ b/src/gallium/frontends/xvmc/tests/test_blocks.c diff --git a/src/gallium/state_trackers/xvmc/tests/test_context.c b/src/gallium/frontends/xvmc/tests/test_context.c index 81d26fcffd5..81d26fcffd5 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_context.c +++ b/src/gallium/frontends/xvmc/tests/test_context.c diff --git a/src/gallium/state_trackers/xvmc/tests/test_rendering.c b/src/gallium/frontends/xvmc/tests/test_rendering.c index c5494ecc8c2..c5494ecc8c2 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_rendering.c +++ b/src/gallium/frontends/xvmc/tests/test_rendering.c diff --git a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c b/src/gallium/frontends/xvmc/tests/test_subpicture.c index 006972fa8ee..006972fa8ee 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_subpicture.c +++ b/src/gallium/frontends/xvmc/tests/test_subpicture.c diff --git a/src/gallium/state_trackers/xvmc/tests/test_surface.c b/src/gallium/frontends/xvmc/tests/test_surface.c index d5a121d5ab0..d5a121d5ab0 100644 --- a/src/gallium/state_trackers/xvmc/tests/test_surface.c +++ b/src/gallium/frontends/xvmc/tests/test_surface.c diff --git a/src/gallium/state_trackers/xvmc/tests/testlib.c b/src/gallium/frontends/xvmc/tests/testlib.c index a943f6bcd95..a943f6bcd95 100644 --- a/src/gallium/state_trackers/xvmc/tests/testlib.c +++ b/src/gallium/frontends/xvmc/tests/testlib.c diff --git a/src/gallium/state_trackers/xvmc/tests/testlib.h b/src/gallium/frontends/xvmc/tests/testlib.h index 783f35a4b18..783f35a4b18 100644 --- a/src/gallium/state_trackers/xvmc/tests/testlib.h +++ b/src/gallium/frontends/xvmc/tests/testlib.h diff --git a/src/gallium/state_trackers/xvmc/tests/xvmc_bench.c b/src/gallium/frontends/xvmc/tests/xvmc_bench.c index dbd705639f6..dbd705639f6 100644 --- a/src/gallium/state_trackers/xvmc/tests/xvmc_bench.c +++ b/src/gallium/frontends/xvmc/tests/xvmc_bench.c diff --git a/src/gallium/state_trackers/xvmc/xvmc_private.h b/src/gallium/frontends/xvmc/xvmc_private.h index a1d026f704e..a1d026f704e 100644 --- a/src/gallium/state_trackers/xvmc/xvmc_private.h +++ b/src/gallium/frontends/xvmc/xvmc_private.h diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/frontend/api.h index 3777449e61d..5bcb8d9fea6 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/frontend/api.h @@ -24,8 +24,8 @@ **********************************************************/ -#ifndef _ST_API_H_ -#define _ST_API_H_ +#ifndef _API_H_ +#define _API_H_ #include "pipe/p_format.h" @@ -572,4 +572,4 @@ st_visual_have_buffers(const struct st_visual *visual, unsigned mask) return ((visual->buffer_mask & mask) == mask); } -#endif /* _ST_API_H_ */ +#endif /* _API_H_ */ diff --git a/src/gallium/include/state_tracker/drisw_api.h b/src/gallium/include/frontend/drisw_api.h index 4b5d36c1797..4b5d36c1797 100644 --- a/src/gallium/include/state_tracker/drisw_api.h +++ b/src/gallium/include/frontend/drisw_api.h diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/frontend/drm_driver.h index f8d77a79721..f8d77a79721 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/frontend/drm_driver.h diff --git a/src/gallium/include/state_tracker/graw.h b/src/gallium/include/frontend/graw.h index af81cc8871b..af81cc8871b 100644 --- a/src/gallium/include/state_tracker/graw.h +++ b/src/gallium/include/frontend/graw.h diff --git a/src/gallium/include/state_tracker/opencl_interop.h b/src/gallium/include/frontend/opencl_interop.h index 498364472b6..498364472b6 100644 --- a/src/gallium/include/state_tracker/opencl_interop.h +++ b/src/gallium/include/frontend/opencl_interop.h diff --git a/src/gallium/include/state_tracker/sw_driver.h b/src/gallium/include/frontend/sw_driver.h index 1d59bd5fe56..1d59bd5fe56 100644 --- a/src/gallium/include/state_tracker/sw_driver.h +++ b/src/gallium/include/frontend/sw_driver.h diff --git a/src/gallium/include/state_tracker/sw_winsys.h b/src/gallium/include/frontend/sw_winsys.h index 43a73830f6b..86eca9defca 100644 --- a/src/gallium/include/state_tracker/sw_winsys.h +++ b/src/gallium/include/frontend/sw_winsys.h @@ -36,7 +36,7 @@ #include "pipe/p_format.h" -#include "state_tracker/winsys_handle.h" +#include "frontend/winsys_handle.h" #ifdef __cplusplus extern "C" { diff --git a/src/gallium/include/state_tracker/vdpau_dmabuf.h b/src/gallium/include/frontend/vdpau_dmabuf.h index f838c925f30..f838c925f30 100644 --- a/src/gallium/include/state_tracker/vdpau_dmabuf.h +++ b/src/gallium/include/frontend/vdpau_dmabuf.h diff --git a/src/gallium/include/state_tracker/vdpau_funcs.h b/src/gallium/include/frontend/vdpau_funcs.h index 66e3c23ede4..66e3c23ede4 100644 --- a/src/gallium/include/state_tracker/vdpau_funcs.h +++ b/src/gallium/include/frontend/vdpau_funcs.h diff --git a/src/gallium/include/state_tracker/vdpau_interop.h b/src/gallium/include/frontend/vdpau_interop.h index 04d455a370a..04d455a370a 100644 --- a/src/gallium/include/state_tracker/vdpau_interop.h +++ b/src/gallium/include/frontend/vdpau_interop.h diff --git a/src/gallium/include/state_tracker/winsys_handle.h b/src/gallium/include/frontend/winsys_handle.h index 78f5f4b36f2..78f5f4b36f2 100644 --- a/src/gallium/include/state_tracker/winsys_handle.h +++ b/src/gallium/include/frontend/winsys_handle.h diff --git a/src/gallium/include/state_tracker/xlibsw_api.h b/src/gallium/include/frontend/xlibsw_api.h index 930127981eb..49ffa5df13f 100644 --- a/src/gallium/include/state_tracker/xlibsw_api.h +++ b/src/gallium/include/frontend/xlibsw_api.h @@ -1,7 +1,7 @@ #ifndef XLIB_SW_WINSYS_H #define XLIB_SW_WINSYS_H -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include <X11/Xlib.h> diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 1f81fcf1fd5..ba26a50bced 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -168,52 +168,52 @@ if with_gallium_opencl # consumer subdir('targets/pipe-loader') - subdir('state_trackers/clover') + subdir('frontends/clover') subdir('targets/opencl') endif if with_dri - subdir('state_trackers/dri') + subdir('frontends/dri') subdir('targets/dri') endif if with_osmesa == 'gallium' - subdir('state_trackers/osmesa') + subdir('frontends/osmesa') subdir('targets/osmesa') endif if with_glx == 'gallium-xlib' subdir('winsys/sw/xlib') - subdir('state_trackers/glx/xlib') + subdir('frontends/glx/xlib') subdir('targets/libgl-xlib') endif if with_gallium_vdpau - subdir('state_trackers/vdpau') + subdir('frontends/vdpau') subdir('targets/vdpau') endif if with_gallium_xvmc - subdir('state_trackers/xvmc') + subdir('frontends/xvmc') subdir('targets/xvmc') endif if with_gallium_omx != 'disabled' - subdir('state_trackers/omx') + subdir('frontends/omx') subdir('targets/omx') endif if with_gallium_va - subdir('state_trackers/va') + subdir('frontends/va') subdir('targets/va') endif if with_gallium_xa - subdir('state_trackers/xa') + subdir('frontends/xa') subdir('targets/xa') endif if with_platform_haiku - subdir('state_trackers/hgl') + subdir('frontends/hgl') subdir('targets/haiku-softpipe') endif if with_gallium_st_nine - subdir('state_trackers/nine') + subdir('frontends/nine') subdir('targets/d3dadapter9') endif if with_platform_windows - subdir('state_trackers/wgl') + subdir('frontends/wgl') subdir('targets/libgl-gdi') endif if with_tests diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c index 819aa59468c..a230475d7de 100644 --- a/src/gallium/targets/d3dadapter9/drm.c +++ b/src/gallium/targets/d3dadapter9/drm.c @@ -32,7 +32,7 @@ #include "target-helpers/drm_helper.h" #include "target-helpers/sw_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "d3dadapter/d3dadapter9.h" #include "d3dadapter/drm.h" diff --git a/src/gallium/targets/d3dadapter9/meson.build b/src/gallium/targets/d3dadapter9/meson.build index 55b514f5add..23a19c77508 100644 --- a/src/gallium/targets/d3dadapter9/meson.build +++ b/src/gallium/targets/d3dadapter9/meson.build @@ -53,7 +53,7 @@ libgallium_nine = shared_library( inc_include, inc_src, inc_loader, inc_mapi, inc_mesa, inc_util, inc_dri_common, inc_gallium, inc_gallium_aux, inc_gallium_winsys, inc_gallium_drivers, inc_d3d9, - include_directories('../../state_trackers/nine'), + include_directories('../../frontends/nine'), ], c_args : [c_vis_args, gallium_nine_c_args], cpp_args : [cpp_vis_args], diff --git a/src/gallium/targets/dri/SConscript b/src/gallium/targets/dri/SConscript new file mode 100644 index 00000000000..835038dd639 --- /dev/null +++ b/src/gallium/targets/dri/SConscript @@ -0,0 +1,59 @@ +Import('*') + +env = drienv.Clone() + +if env['suncc']: + print('warning: not building dri-vmwgfx') + Return() + +env.Append(CPPPATH = [ + '#/src/loader', + '#/src/mapi', + '#/src/mesa', + '#/src/mesa/drivers/dri/common', + '#/src/gallium/frontends/dri', +]) + +if env['llvm']: + env.Append(CPPDEFINES = 'GALLIUM_LLVMPIPE') + env.Prepend(LIBS = [llvmpipe]) + +env.PkgUseModules('DRM') + +env.Append(CPPDEFINES = [ + 'GALLIUM_VMWGFX', + 'GALLIUM_SOFTPIPE', +]) + +env.Prepend(LIBS = [ + st_dri, + svgadrm, + svga, + ws_dri, + softpipe, + pipe_loader, + libloader, + mesautil, + compiler, + mesa, + glsl, + nir, + spirv, + gallium, + megadrivers_stub, + dri_common, +]) + +module = env.LoadableModule( + target = 'gallium_dri.so', + source = 'target.c', + SHLIBPREFIX = '', +) + +# vmwgfx_dri.so +env.Command('vmwgfx_dri.so', 'gallium_dri.so', "ln -f ${SOURCE} ${TARGET}") +# swrast_dri.so +env.Command('swrast_dri.so', 'gallium_dri.so', "ln -f ${SOURCE} ${TARGET}") + +env.Alias('dri-vmwgfx', module) +env.Alias('dri-swrast', module) diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 8da21b3394a..2c80bf12090 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -42,7 +42,7 @@ libgallium_dri = shared_library( files('target.c'), include_directories : [ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_dri_common, inc_gallium_drivers, - inc_gallium_winsys, include_directories('../../state_trackers/dri'), + inc_gallium_winsys, include_directories('../../frontends/dri'), ], c_args : [c_vis_args], cpp_args : [cpp_vis_args], diff --git a/src/gallium/targets/graw-gdi/graw_gdi.c b/src/gallium/targets/graw-gdi/graw_gdi.c index 99d8641d6b1..aa75c73b980 100644 --- a/src/gallium/targets/graw-gdi/graw_gdi.c +++ b/src/gallium/targets/graw-gdi/graw_gdi.c @@ -28,7 +28,7 @@ #include "gdi/gdi_sw_winsys.h" #include "pipe/p_screen.h" -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "target-helpers/inline_debug_helper.h" #include "target-helpers/inline_sw_helper.h" #include <windows.h> diff --git a/src/gallium/targets/graw-null/graw_null.c b/src/gallium/targets/graw-null/graw_null.c index f1fe3872c94..6b42fdb463a 100644 --- a/src/gallium/targets/graw-null/graw_null.c +++ b/src/gallium/targets/graw-null/graw_null.c @@ -1,4 +1,4 @@ -#include "state_tracker/graw.h" +#include "frontend/graw.h" diff --git a/src/gallium/targets/graw-null/graw_util.c b/src/gallium/targets/graw-null/graw_util.c index 6d4d960d297..a7692c1646f 100644 --- a/src/gallium/targets/graw-null/graw_util.c +++ b/src/gallium/targets/graw-null/graw_util.c @@ -7,7 +7,7 @@ #include "util/u_debug.h" #include "util/u_debug_image.h" #include "util/u_memory.h" -#include "state_tracker/graw.h" +#include "frontend/graw.h" /* Helper functions. These are the same for all graw implementations. diff --git a/src/gallium/targets/graw-xlib/graw_xlib.c b/src/gallium/targets/graw-xlib/graw_xlib.c index db2637bd3c9..48c3d2915cc 100644 --- a/src/gallium/targets/graw-xlib/graw_xlib.c +++ b/src/gallium/targets/graw-xlib/graw_xlib.c @@ -5,8 +5,8 @@ #include "util/u_memory.h" #include "target-helpers/inline_sw_helper.h" #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/xlibsw_api.h" -#include "state_tracker/graw.h" +#include "frontend/xlibsw_api.h" +#include "frontend/graw.h" #include "sw/xlib/xlib_sw_winsys.h" #include <X11/Xlib.h> diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp index 13378d1a375..ead238194bf 100644 --- a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp +++ b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp @@ -22,7 +22,7 @@ //#include "state_tracker/st_cb_flush.h" #include "state_tracker/st_context.h" #include "state_tracker/st_gl_api.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "sw/hgl/hgl_sw_winsys.h" #include "util/u_atomic.h" #include "util/u_memory.h" diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript new file mode 100644 index 00000000000..312155abe14 --- /dev/null +++ b/src/gallium/targets/haiku-softpipe/SConscript @@ -0,0 +1,47 @@ +Import('*') + +env.Prepend(LIBS = [ + ws_haiku, + st_haiku, + mesautil, + compiler, + mesa, + glsl, + nir, + spirv, + gallium +]) + +if True: + env.Append(CPPDEFINES = [ + 'GALLIUM_SOFTPIPE', + ]) + env.Prepend(LIBS = [softpipe]) + +env.Prepend(LIBS = [libgl]) + +env.Append(CPPPATH = [ + '#/src/mapi', + '#/src/mesa', + '#/src/mesa/main', + '#/include/HaikuGL', + '#/src/gallium/winsys', + '#/src/gallium/frontends/hgl', + '/boot/system/develop/headers/private', +]) + +if env['llvm']: + env.Append(CPPDEFINES = ['GALLIUM_LLVMPIPE']) + env.Prepend(LIBS = [llvmpipe]) + +softpipe_sources = [ + 'GalliumContext.cpp', + 'SoftwareRenderer.cpp' +] + +# libswpipe gets turned into "Softpipe" by the haiku package system +module = env.LoadableModule( + target ='swpipe', + source = softpipe_sources, +) + diff --git a/src/gallium/targets/haiku-softpipe/meson.build b/src/gallium/targets/haiku-softpipe/meson.build index e35fab5dacf..addea41538a 100644 --- a/src/gallium/targets/haiku-softpipe/meson.build +++ b/src/gallium/targets/haiku-softpipe/meson.build @@ -23,7 +23,7 @@ libswpipe = shared_library( files('SoftwareRenderer.cpp', 'GalliumContext.cpp'), include_directories : [ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_haikugl, inc_gallium_drivers, inc_gallium_winsys, - include_directories('../../state_trackers/hgl'), + include_directories('../../frontends/hgl'), include_directories('/boot/system/develop/headers/private') ], c_args : [c_vis_args], diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript index efc0c5b2ea1..5255125ca09 100644 --- a/src/gallium/targets/libgl-gdi/SConscript +++ b/src/gallium/targets/libgl-gdi/SConscript @@ -7,7 +7,7 @@ env = env.Clone() env.Append(CPPPATH = [ '#src', - '#src/gallium/state_trackers/wgl', + '#src/gallium/frontends/wgl', '#src/gallium/winsys/sw', ]) @@ -38,9 +38,9 @@ if env['llvm']: if env['gcc'] and env['machine'] != 'x86_64': # DEF parser in certain versions of MinGW is busted, as does not behave as # MSVC. mingw-w64 works fine. - sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def'] + sources += ['#src/gallium/frontends/wgl/opengl32.mingw.def'] else: - sources += ['#src/gallium/state_trackers/wgl/opengl32.def'] + sources += ['#src/gallium/frontends/wgl/opengl32.def'] env['no_import_lib'] = 1 diff --git a/src/gallium/targets/libgl-gdi/meson.build b/src/gallium/targets/libgl-gdi/meson.build index 6332267fff4..d7539442df4 100644 --- a/src/gallium/targets/libgl-gdi/meson.build +++ b/src/gallium/targets/libgl-gdi/meson.build @@ -21,9 +21,9 @@ # DEF parser in certain versions of MinGW is busted, as does not behave as # MSVC. mingw-w64 works fine. if cc.get_id() == 'gcc' and host_machine.cpu_family() != 'x86_64' - ogldef = files('../../state_trackers/wgl/opengl32.mingw.def')[0] + ogldef = files('../../frontends/wgl/opengl32.mingw.def')[0] else - ogldef = files('../../state_trackers/wgl/opengl32.def')[0] + ogldef = files('../../frontends/wgl/opengl32.def')[0] endif libopengl32 = shared_library( diff --git a/src/gallium/targets/libgl-xlib/SConscript b/src/gallium/targets/libgl-xlib/SConscript index edd14a8da41..c1b787d95af 100644 --- a/src/gallium/targets/libgl-xlib/SConscript +++ b/src/gallium/targets/libgl-xlib/SConscript @@ -9,7 +9,7 @@ env.Append(CPPPATH = [ '#/src/mapi', '#/src/mesa', '#/src/mesa/main', - '#src/gallium/state_trackers/glx/xlib', + '#src/gallium/frontends/glx/xlib', Dir('../../../mapi'), # src/mapi build path for python-generated GL API files/headers Dir('../../../mapi/glapi/gen'), # src/mapi build path for python-generated GL API files/headers ]) diff --git a/src/gallium/targets/libgl-xlib/meson.build b/src/gallium/targets/libgl-xlib/meson.build index 8aec6219a87..4cd673ed34e 100644 --- a/src/gallium/targets/libgl-xlib/meson.build +++ b/src/gallium/targets/libgl-xlib/meson.build @@ -42,7 +42,7 @@ libgl = shared_library( files('xlib.c'), include_directories : [ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_winsys, inc_gallium_drivers, - include_directories('../../state_trackers/glx/xlib'), + include_directories('../../frontends/glx/xlib'), ], c_args : [c_vis_args, gallium_xlib_c_args], link_args : [ld_args_bsymbolic, ld_args_gc_sections, gallium_xlib_ld_args], diff --git a/src/gallium/targets/pipe-loader/pipe_i915.c b/src/gallium/targets/pipe-loader/pipe_i915.c index b4f5a72f296..927bad0de2c 100644 --- a/src/gallium/targets/pipe-loader/pipe_i915.c +++ b/src/gallium/targets/pipe-loader/pipe_i915.c @@ -1,6 +1,6 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "i915/drm/i915_drm_public.h" #include "i915/i915_public.h" diff --git a/src/gallium/targets/pipe-loader/pipe_kmsro.c b/src/gallium/targets/pipe-loader/pipe_kmsro.c index 1c1a8d24561..79c66bd3695 100644 --- a/src/gallium/targets/pipe-loader/pipe_kmsro.c +++ b/src/gallium/targets/pipe-loader/pipe_kmsro.c @@ -1,6 +1,6 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "kmsro/drm/kmsro_drm_public.h" static struct pipe_screen * diff --git a/src/gallium/targets/pipe-loader/pipe_msm.c b/src/gallium/targets/pipe-loader/pipe_msm.c index 43b8f0b4ea4..4868a8bcd8d 100644 --- a/src/gallium/targets/pipe-loader/pipe_msm.c +++ b/src/gallium/targets/pipe-loader/pipe_msm.c @@ -1,6 +1,6 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "freedreno/drm/freedreno_drm_public.h" static struct pipe_screen * diff --git a/src/gallium/targets/pipe-loader/pipe_nouveau.c b/src/gallium/targets/pipe-loader/pipe_nouveau.c index 06fe95624d1..6b5ee18408c 100644 --- a/src/gallium/targets/pipe-loader/pipe_nouveau.c +++ b/src/gallium/targets/pipe-loader/pipe_nouveau.c @@ -1,6 +1,6 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "nouveau/drm/nouveau_drm_public.h" static struct pipe_screen * diff --git a/src/gallium/targets/pipe-loader/pipe_r300.c b/src/gallium/targets/pipe-loader/pipe_r300.c index 17b310ee189..268a5eee287 100644 --- a/src/gallium/targets/pipe-loader/pipe_r300.c +++ b/src/gallium/targets/pipe-loader/pipe_r300.c @@ -1,5 +1,5 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "radeon/drm/radeon_drm_public.h" #include "radeon/radeon_winsys.h" #include "r300/r300_public.h" diff --git a/src/gallium/targets/pipe-loader/pipe_r600.c b/src/gallium/targets/pipe-loader/pipe_r600.c index 855aa9e4bd3..871dff3f7e1 100644 --- a/src/gallium/targets/pipe-loader/pipe_r600.c +++ b/src/gallium/targets/pipe-loader/pipe_r600.c @@ -1,4 +1,4 @@ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "target-helpers/inline_debug_helper.h" #include "radeon/drm/radeon_drm_public.h" #include "radeon/radeon_winsys.h" diff --git a/src/gallium/targets/pipe-loader/pipe_radeonsi.c b/src/gallium/targets/pipe-loader/pipe_radeonsi.c index 9d925c727f1..f5c5770af08 100644 --- a/src/gallium/targets/pipe-loader/pipe_radeonsi.c +++ b/src/gallium/targets/pipe-loader/pipe_radeonsi.c @@ -1,4 +1,4 @@ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "target-helpers/inline_debug_helper.h" #include "radeonsi/si_public.h" #include "util/xmlpool.h" diff --git a/src/gallium/targets/pipe-loader/pipe_swrast.c b/src/gallium/targets/pipe-loader/pipe_swrast.c index 0a980b3b1a9..ebfc11c8936 100644 --- a/src/gallium/targets/pipe-loader/pipe_swrast.c +++ b/src/gallium/targets/pipe-loader/pipe_swrast.c @@ -1,7 +1,7 @@ #include "target-helpers/inline_sw_helper.h" #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/sw_driver.h" +#include "frontend/sw_driver.h" #include "sw/dri/dri_sw_winsys.h" #include "sw/kms-dri/kms_dri_sw_winsys.h" #include "sw/null/null_sw_winsys.h" diff --git a/src/gallium/targets/pipe-loader/pipe_vmwgfx.c b/src/gallium/targets/pipe-loader/pipe_vmwgfx.c index a60a5e89814..73c6bda9879 100644 --- a/src/gallium/targets/pipe-loader/pipe_vmwgfx.c +++ b/src/gallium/targets/pipe-loader/pipe_vmwgfx.c @@ -1,6 +1,6 @@ #include "target-helpers/inline_debug_helper.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "svga/drm/svga_drm_public.h" #include "svga/svga_public.h" diff --git a/src/gallium/tests/graw/clear.c b/src/gallium/tests/graw/clear.c index 522799c1e1a..3c16f5211a6 100644 --- a/src/gallium/tests/graw/clear.c +++ b/src/gallium/tests/graw/clear.c @@ -3,7 +3,7 @@ */ #include <stdio.h> -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_state.h" diff --git a/src/gallium/tests/graw/fs-test.c b/src/gallium/tests/graw/fs-test.c index 346bbedd61a..8c40ecd705d 100644 --- a/src/gallium/tests/graw/fs-test.c +++ b/src/gallium/tests/graw/fs-test.c @@ -2,7 +2,7 @@ * any utility code, just the graw interface and gallium. */ -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_shader_tokens.h" diff --git a/src/gallium/tests/graw/graw_util.h b/src/gallium/tests/graw/graw_util.h index 7cd22416a9f..bb5d53d24bf 100644 --- a/src/gallium/tests/graw/graw_util.h +++ b/src/gallium/tests/graw/graw_util.h @@ -1,5 +1,5 @@ -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_context.h" #include "pipe/p_defines.h" diff --git a/src/gallium/tests/graw/gs-test.c b/src/gallium/tests/graw/gs-test.c index 5d3739c7281..34f1decdd66 100644 --- a/src/gallium/tests/graw/gs-test.c +++ b/src/gallium/tests/graw/gs-test.c @@ -2,7 +2,7 @@ * any utility code, just the graw interface and gallium. */ -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_shader_tokens.h" diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index 043abdf5044..160c8db5301 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -2,7 +2,7 @@ * any utility code, just the graw interface and gallium. */ -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_shader_tokens.h" diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c index 90d674745fd..cc5cd8a4bcd 100644 --- a/src/gallium/tests/graw/shader-leak.c +++ b/src/gallium/tests/graw/shader-leak.c @@ -3,7 +3,7 @@ */ #include <stdio.h> -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_state.h" diff --git a/src/gallium/tests/graw/tri-gs.c b/src/gallium/tests/graw/tri-gs.c index 6820bc530ea..97075f988ce 100644 --- a/src/gallium/tests/graw/tri-gs.c +++ b/src/gallium/tests/graw/tri-gs.c @@ -3,7 +3,7 @@ */ #include <stdio.h> -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_state.h" diff --git a/src/gallium/tests/graw/tri-instanced.c b/src/gallium/tests/graw/tri-instanced.c index 72dce01980c..8294147e040 100644 --- a/src/gallium/tests/graw/tri-instanced.c +++ b/src/gallium/tests/graw/tri-instanced.c @@ -5,7 +5,7 @@ #include <stdio.h> #include <string.h> -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_state.h" diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c index 1b96914ad2a..a48e83f6923 100644 --- a/src/gallium/tests/graw/vs-test.c +++ b/src/gallium/tests/graw/vs-test.c @@ -2,7 +2,7 @@ * any utility code, just the graw interface and gallium. */ -#include "state_tracker/graw.h" +#include "frontend/graw.h" #include "pipe/p_screen.h" #include "pipe/p_context.h" #include "pipe/p_shader_tokens.h" diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c index 3568d8229cd..1a30c9a3cf3 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_bo.c @@ -30,7 +30,7 @@ #include "util/hash_table.h" #include "util/os_time.h" #include "util/u_hash_table.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "drm-uapi/amdgpu_drm.h" #include <xf86drm.h> #include <stdio.h> diff --git a/src/gallium/winsys/i915/drm/i915_drm_buffer.c b/src/gallium/winsys/i915/drm/i915_drm_buffer.c index 9b525f9809c..3d24b64e679 100644 --- a/src/gallium/winsys/i915/drm/i915_drm_buffer.c +++ b/src/gallium/winsys/i915/drm/i915_drm_buffer.c @@ -1,4 +1,4 @@ -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "i915_drm_winsys.h" #include "util/u_memory.h" diff --git a/src/gallium/winsys/i915/drm/i915_drm_winsys.c b/src/gallium/winsys/i915/drm/i915_drm_winsys.c index d07ee496e48..add8ff83e2b 100644 --- a/src/gallium/winsys/i915/drm/i915_drm_winsys.c +++ b/src/gallium/winsys/i915/drm/i915_drm_winsys.c @@ -3,7 +3,7 @@ #include "drm-uapi/i915_drm.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "i915_drm_winsys.h" #include "i915_drm_public.h" diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index f802d858eac..948e0b20ce3 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -33,7 +33,7 @@ #include "os/os_mman.h" #include "util/os_time.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include <sys/ioctl.h> #include <xf86drm.h> diff --git a/src/gallium/winsys/svga/drm/vmw_screen_dri.c b/src/gallium/winsys/svga/drm/vmw_screen_dri.c index 62d1b18b9e3..0a6e586e013 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_dri.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_dri.c @@ -36,7 +36,7 @@ #include "svga_drm_public.h" #include "svga3d_surfacedefs.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "vmwgfx_drm.h" #include <xf86drm.h> diff --git a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c index bb3a1adedc1..ed267e9ad68 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c @@ -37,7 +37,7 @@ #include "util/u_memory.h" #include "util/u_math.h" #include "svgadump/svga_dump.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "vmw_screen.h" #include "vmw_context.h" #include "vmw_fence.h" diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c index 6173147a1ff..c889e968534 100644 --- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c +++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c @@ -39,7 +39,7 @@ #include "util/u_math.h" #include "util/u_memory.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "dri_sw_winsys.h" diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.h b/src/gallium/winsys/sw/dri/dri_sw_winsys.h index 47e3777d4cd..e9fbac0c187 100644 --- a/src/gallium/winsys/sw/dri/dri_sw_winsys.h +++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.h @@ -29,7 +29,7 @@ #ifndef DRI_SW_WINSYS #define DRI_SW_WINSYS -#include "state_tracker/drisw_api.h" +#include "frontend/drisw_api.h" struct sw_winsys; diff --git a/src/gallium/winsys/sw/gdi/gdi_sw_winsys.c b/src/gallium/winsys/sw/gdi/gdi_sw_winsys.c index ed22e82ee6d..87ffbcc0689 100644 --- a/src/gallium/winsys/sw/gdi/gdi_sw_winsys.c +++ b/src/gallium/winsys/sw/gdi/gdi_sw_winsys.c @@ -42,7 +42,7 @@ #include "util/format/u_format.h" #include "util/u_math.h" #include "util/u_memory.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "gdi_sw_winsys.h" diff --git a/src/gallium/winsys/sw/gdi/gdi_sw_winsys.h b/src/gallium/winsys/sw/gdi/gdi_sw_winsys.h index 4bbcb47848b..c882b1d8d35 100644 --- a/src/gallium/winsys/sw/gdi/gdi_sw_winsys.h +++ b/src/gallium/winsys/sw/gdi/gdi_sw_winsys.h @@ -4,7 +4,7 @@ #include <windows.h> #include "pipe/p_compiler.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" void gdi_sw_display( struct sw_winsys *winsys, struct sw_displaytarget *dt, diff --git a/src/gallium/winsys/sw/hgl/SConscript b/src/gallium/winsys/sw/hgl/SConscript index 7755b00ea8c..776dd831a4b 100644 --- a/src/gallium/winsys/sw/hgl/SConscript +++ b/src/gallium/winsys/sw/hgl/SConscript @@ -12,7 +12,7 @@ if env['platform'] in ('haiku'): '#/src/gallium/include', '#/src/gallium/auxiliary', '#/src/gallium/drivers', - '#/src/gallium/state_trackers/hgl', + '#/src/gallium/frontend/hgl', ]) ws_haiku = env.ConvenienceLibrary( diff --git a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c index 35e7137b549..bcbaf9cabe5 100644 --- a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c +++ b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c @@ -34,8 +34,8 @@ #include "util/format/u_format.h" #include "util/u_math.h" #include "util/u_memory.h" -#include "state_tracker/st_api.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/api.h" +#include "frontend/sw_winsys.h" #include "bitmap_wrapper.h" #include "hgl_sw_winsys.h" diff --git a/src/gallium/winsys/sw/hgl/meson.build b/src/gallium/winsys/sw/hgl/meson.build index 8901096bd12..10096651c99 100644 --- a/src/gallium/winsys/sw/hgl/meson.build +++ b/src/gallium/winsys/sw/hgl/meson.build @@ -23,7 +23,7 @@ libswhgl = static_library( files('hgl_sw_winsys.c'), c_args : c_vis_args, include_directories : [inc_gallium, inc_include, inc_src, inc_gallium_aux, - include_directories('../../../state_trackers/hgl') + include_directories('../../../frontends/hgl') ], build_by_default : false, ) diff --git a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c index da11be2333a..b501ba0403a 100644 --- a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c +++ b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c @@ -50,8 +50,8 @@ #include "util/u_memory.h" #include "util/list.h" -#include "state_tracker/sw_winsys.h" -#include "state_tracker/drm_driver.h" +#include "frontend/sw_winsys.h" +#include "frontend/drm_driver.h" #include "kms_dri_sw_winsys.h" #ifdef DEBUG diff --git a/src/gallium/winsys/sw/null/null_sw_winsys.c b/src/gallium/winsys/sw/null/null_sw_winsys.c index e897f246d26..a39f74c879c 100644 --- a/src/gallium/winsys/sw/null/null_sw_winsys.c +++ b/src/gallium/winsys/sw/null/null_sw_winsys.c @@ -39,7 +39,7 @@ #include "pipe/p_format.h" #include "util/u_memory.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "null_sw_winsys.h" diff --git a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c index 37c499b9485..b042d4a56c4 100644 --- a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c +++ b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c @@ -29,7 +29,7 @@ #include "pipe/p_format.h" #include "pipe/p_state.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "util/u_memory.h" #include "util/u_inlines.h" diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c index 8e97f0a24af..0eea71b7523 100644 --- a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c +++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c @@ -39,7 +39,7 @@ #include "util/u_math.h" #include "util/u_memory.h" -#include "state_tracker/xlibsw_api.h" +#include "frontend/xlibsw_api.h" #include "xlib_sw_winsys.h" #include <X11/Xlib.h> diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c index 7b20636ad20..b19bdf4b6f8 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c @@ -35,7 +35,7 @@ #include "util/u_hash_table.h" #include "util/u_inlines.h" #include "util/u_pointer.h" -#include "state_tracker/drm_driver.h" +#include "frontend/drm_driver.h" #include "virgl/virgl_screen.h" #include "virgl/virgl_public.h" diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c index dbe3afe9f80..2f79909d540 100644 --- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c +++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c @@ -26,7 +26,7 @@ #include "util/format/u_format.h" #include "util/u_inlines.h" #include "util/os_time.h" -#include "state_tracker/sw_winsys.h" +#include "frontend/sw_winsys.h" #include "os/os_mman.h" #include "virgl_vtest_winsys.h" |