Remember me

Lost Password?

Register now!


Who's Online
116 user(s) are online (97 user(s) are browsing Forums)

Members: 0
Guests: 116


Support us!


Report message:*

Porting apitrace

Subject: Porting apitrace
by Hans on 2019/3/29 6:34:17

Continuing the discussion about porting a tool like apitrace to AmigaOS to make debugging of OpenGL and Warp3D Nova easier from here.


Regarding API tracing, I would contribute to such a project. I have no idea how portable these open source tools are, but I guess it would be possible to "patch" each OGLES2/Warp3D(Nova) call to capture data. Or how would you approach the issue?

The basics are pretty easy. For the ogles2.library you can use IExec->SetMethod() to patch the library calls. I'm not sure if it's patchable on a per-application basis; that probably depends on whether the ogles2.library provides each app with its own interface clone or not.

With Warp3D Nova it's a little different. The driver context has its own set of function pointers, so you can just replace them with your own.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project