decode: Split decoder and reuse outside of intel_gpu_dump

Introduce a second decoder that simpler operates on a file so that it
can be run on dumped batchbuffers independent of the gpu.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2009-11-30 15:20:29 +00:00
parent 9e9c9f24f5
commit 94a180c0c9
6 changed files with 2125 additions and 1936 deletions
+7
View File
@@ -1,5 +1,6 @@
bin_PROGRAMS = \
intel_audio_dump \
intel_decode \
intel_gpu_dump \
intel_gpu_top \
intel_gpu_time \
@@ -9,6 +10,12 @@ bin_PROGRAMS = \
intel_gpu_dump_SOURCES = \
intel_gpu_dump.c \
intel_decode.c \
intel_decode.h
intel_decode_SOURCES = \
intel_decode_file.c \
intel_decode.c \
intel_decode.h
LDADD = ../lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS)