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

Add instrumentation to OpenGL calls #112

Open
heyx3 opened this issue Sep 29, 2023 · 0 comments
Open

Add instrumentation to OpenGL calls #112

heyx3 opened this issue Sep 29, 2023 · 0 comments
Labels
META:internal Created by Billy PRI:vital High priority, core functionality RE:GL About something within the GL module SIZE:big Conceptually hard, AND large in scope TYPE:enhancement Adding something new to B+

Comments

@heyx3
Copy link
Owner

heyx3 commented Sep 29, 2023

Julia can't handle having external OpenGL debuggers attached to it. It's also hard to make forum posts for help, or report driver bugs, without throwing a bunch of Julia code at people who've probably never even heard of Julia before.

The obvious but painful solution to this problem is to wrap OpenGL calls in a special macro that can make the call, and optionally record it to some log format. The use of logging, and the particular format that the output takes, can be handled through an abstract interface.

The data provided to the logger would be something like "Function Name, Function Arguments, binary data pointed to by certain parameters, the output size of output parameters", plus the ability to insert nested group ID's for log formats that want to support that.

@heyx3 heyx3 added TYPE:enhancement Adding something new to B+ RE:GL About something within the GL module SIZE:big Conceptually hard, AND large in scope PRI:vital High priority, core functionality labels Sep 29, 2023
@heyx3 heyx3 added the META:internal Created by Billy label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
META:internal Created by Billy PRI:vital High priority, core functionality RE:GL About something within the GL module SIZE:big Conceptually hard, AND large in scope TYPE:enhancement Adding something new to B+
Projects
None yet
Development

No branches or pull requests

1 participant