[tbb-dev] Debugging/Seeing the trace of an execution of WebGL code
tom at ritter.vg
Wed Jun 26 20:38:24 UTC 2019
I think your best bet would be to explain in #gfx on Mozilla's irc
network what exactly you are trying to accomplish and asking for
feedback and suggestions. It might take a few days, so I would idle
there and ask politely every 12 hours or so depending on how much
conversation has taken place since the last time you asked.
On Wed, 26 Jun 2019 at 19:19, Rishabh Raj <rishabhstpaul at gmail.com> wrote:
> I also noticed that any fprintf statements that I write in gfx folder (like inside angle or skia), it never gets printed. I am guessing that it's because, it doesn't get compiled again and again and I feel, that would be where data might be going inside to the GPU (If I think of it as a layer structure with WebGL at the top, ANGEL in the middle and GPU in the bottom). So, I would like to know how to open this up and look at the inner details involving ANGEL and GPU.
> On Tue, Jun 25, 2019 at 5:13 PM Rishabh Raj <rishabhstpaul at gmail.com> wrote:
>> Hello everyone,
>> So, how do I figure this out? Initially, I had tried using a bunch of fprintf's, but I always get lost after, say `fBufferData()` [I noticed that many `API()` end up with `fAPI()` in the source code]. In addition, I couldn't figure out when the ANGLE part comes into the picture since I tried putting fprintf's in there as well, but nothing got printed. Basically I am trying to find the right place to hook, just after all calculations on the data are done and before the control is sent to the GPU. So, do I have to attach a debugger, say gdb, to a running instance of tor-browser (incidentally, there are three processes that commence when tor browser is run). Basically, I need some help figuring out how to put all of this together. I would really appreciate if you could provide me with some suggestions.
>> Warm Regards,
> tbb-dev mailing list
> tbb-dev at lists.torproject.org
More information about the tbb-dev