Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

How to render an SkCanvas to a GLContext?

23 views
Skip to first unread message

Aitor Gomila

unread,
Feb 7, 2025, 5:19:26 AMFeb 7
to skia-discuss
Hi!

I'm having trouble finding the most basic example of how to render a SkCanvas to a GLArea. I use the skia Rust bindings with egui_glow, but this is a general programming concept.
I need fast rendering for animations, so no SkSurface. I've heard you need to somehow "share" the opengl context with Skia, how do you do that?
Reply all
Reply to author
Forward
0 new messages