mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 00:00:25 +01:00
swrastg: Use trace
This commit is contained in:
parent
19aa77313c
commit
cd502e5f5c
2 changed files with 4 additions and 2 deletions
|
|
@ -8,7 +8,8 @@ DRIVER_DEFINES = -D__NOT_HAVE_DRM_H -DGALLIUM_SOFTPIPE
|
|||
PIPE_DRIVERS = \
|
||||
$(TOP)/src/gallium/state_trackers/dri/sw/libdrisw.a \
|
||||
$(TOP)/src/gallium/winsys/sw/dri/libswdri.a \
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
|
||||
$(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
|
||||
$(TOP)/src/gallium/drivers/trace/libtrace.a
|
||||
|
||||
SWRAST_COMMON_GALLIUM_SOURCES = \
|
||||
$(TOP)/src/mesa/drivers/dri/common/utils.c \
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "state_tracker/drm_api.h"
|
||||
#include "state_tracker/sw_winsys.h"
|
||||
#include "dri_sw_winsys.h"
|
||||
#include "trace/tr_public.h"
|
||||
|
||||
/* Copied from targets/libgl-xlib */
|
||||
|
||||
|
|
@ -80,7 +81,7 @@ swrast_create_screen(struct sw_winsys *winsys)
|
|||
screen = softpipe_create_screen( winsys );
|
||||
#endif
|
||||
|
||||
return screen;
|
||||
return trace_screen_create(screen);;
|
||||
}
|
||||
|
||||
struct pipe_screen *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue