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