Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a graphics debugger #12

Open
lucasw opened this issue May 15, 2017 · 3 comments
Open

use a graphics debugger #12

lucasw opened this issue May 15, 2017 · 3 comments

Comments

@lucasw
Copy link
Owner

lucasw commented May 15, 2017

No description provided.

@lucasw
Copy link
Owner Author

lucasw commented May 15, 2017

Try https://apitrace.github.io/ apitrace

@lucasw
Copy link
Owner Author

lucasw commented May 15, 2017

apitrace trace rosrun bgfx_ros bgfx_ros __name:=bgfx_ros

ctrl-c says core dumped, but now have a bgfx_ros.trace file of about a megabyte.

qapitrace bgfx_ros.trace

@lucasw
Copy link
Owner Author

lucasw commented May 15, 2017

Try a working example:

~/other/bgfx/examples/runtime$ apitrace trace ../../.build/linux64_gcc/bin/example-15-shadowmaps-simpleRelease
qapitrace example-15-shadowmaps-simpleRelease.trace

I can see individual frames in GL_BACK under 'Surfaces' in the Current State area, in my bgfx_ros.trace there is garbage in GL_BACK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant