gallium: remove trace module injection from various state trackers
Components such as state trackers, drivers, etc, should be free to be recombined in arbtrary ways to build driver stacks. They should not be reaching out and trying to build the stack themselves - this is now expected to be handled by the "target" abstraction.
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include "util/u_math.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "util/u_simple_shaders.h"
|
||||
#include "trace/tr_public.h"
|
||||
|
||||
#include "st_device.h"
|
||||
#include "st_winsys.h"
|
||||
@@ -85,10 +84,6 @@ st_device_create(boolean hardware)
|
||||
else
|
||||
screen = st_software_screen_create();
|
||||
|
||||
screen = trace_screen_create(screen);
|
||||
if (!screen)
|
||||
goto no_screen;
|
||||
|
||||
st_dev = CALLOC_STRUCT(st_device);
|
||||
if (!st_dev)
|
||||
goto no_device;
|
||||
|
Reference in New Issue
Block a user