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

Support SkEventTracer for profiling and debugging. #729

Open
fredizzimo opened this issue Nov 16, 2022 · 0 comments
Open

Support SkEventTracer for profiling and debugging. #729

fredizzimo opened this issue Nov 16, 2022 · 0 comments

Comments

@fredizzimo
Copy link

Skia has a lot of internal trace calls, which eventually gets added to the SkEventTracer. In the C++ code, you can make your own instance of it, and call SetInstance, to do custom tracing and logging.

I'm adding some profiling to Neovide, but all the Skia internals are blackboxes, so it does not help that much. All I know is that with my current modifications, skia flush is occassionally taking a lot longer than usual, causing some frame drops.

The actual profiling is done through Tracy, and while the event tracer is not an exact match, I belive it would be possible to transform the events into something usable if it's exposed.

So I would be very happy if this could be supported.

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