• Home
Name Date Size #Lines LOC

..--

Makefile.amD03-May-20241.3 KiB347

Makefile.sourcesD03-May-2024151 109

READMED03-May-20241.1 KiB4525

SConscriptD03-May-2024188 138

meson.buildD03-May-20241.4 KiB2924

rbug_context.cD03-May-202441.4 KiB1,2751,049

rbug_context.hD03-May-20242.9 KiB10543

rbug_core.cD03-May-202424.5 KiB889658

rbug_objects.cD03-May-20247.1 KiB251168

rbug_objects.hD03-May-20245.5 KiB229154

rbug_public.hD03-May-20241.6 KiB4915

rbug_screen.cD03-May-202411.2 KiB344259

rbug_screen.hD03-May-20242.9 KiB10150

README

1                              RBUG PIPE DRIVER
2
3
4= About =
5
6This directory contains a Gallium3D remote debugger pipe driver.
7It provides remote debugging functionality.
8
9
10= Usage =
11
12Do
13
14   GALLIUM_RBUG=true progs/trivial/tri
15
16which should open gallium remote debugging session. While the program is running
17you can launch the small remote debugging application from progs/rbug. More
18information is in that directory. Also for a gui see:
19
20   http://cgit.freedesktop.org/mesa/rbug-gui
21
22
23= Integrating =
24
25You can integrate the rbug pipe driver either inside the state tracker or the
26target. The procedure on both cases is the same. Let's assume you have a
27pipe_screen obtained by the usual means (variable and function names are just
28for illustration purposes):
29
30  real_screen = real_screen_create(...);
31
32The rbug screen is then created by doing
33
34  rbug_screen = rbug_screen_create(real_screen);
35
36You can then simply use rbug_screen instead of real_screen.
37
38You can create as many contexts you wish from rbug_screen::context_create they
39are automatically wrapped by rbug_screen.
40
41
42--
43Jose Fonseca <jfonseca@vmware.com>
44Jakob Bornecrantz <jakob@vmware.com>
45