From 5da246944a787b933a509f0b65bab466574c3339 Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Mon, 15 Nov 2010 14:53:21 -0500 Subject: gallium/noop: no operation gallium driver This driver is a fake swdri driver that perform no operations beside allocation gallium structure and buffer for upper layer usage. It's purpose is to help profiling core mesa/gallium without having pipe driver overhead hidding hot spot of core code. scons file are likely inadequate i am unfamiliar with this build system. To use it simply rename is to swrast_dri.so and properly set LIBGL_DRIVERS_PATH env variable. Signed-off-by: Jerome Glisse --- src/gallium/drivers/noop/SConscript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/gallium/drivers/noop/SConscript (limited to 'src/gallium/drivers/noop/SConscript') diff --git a/src/gallium/drivers/noop/SConscript b/src/gallium/drivers/noop/SConscript new file mode 100644 index 0000000000..a4d0dcaf27 --- /dev/null +++ b/src/gallium/drivers/noop/SConscript @@ -0,0 +1,15 @@ +####################################################################### +# SConscript for noop convenience library + +Import('*') + +env = env.Clone() + +noop = env.ConvenienceLibrary( + target = 'noop', + source = [ + 'noop_pipe.c', + 'noop_state.c' + ] + ) + extra +Export('noop') -- cgit v1.2.3