News for hackers. Stuff that matters.
Re:GTK: Introducing Graphics Offload by DonHopkins on Saturday November 18, 2023 @04:15PM (#38324532)
I misunderstood the article saying "exports the resulting texture" as meaning it exported it to CPU memory, but audidude explained how it actually works.

I believe GL_TEXTURE_EXTERNAL_OES is an Android-only OpenGL extension that takes the place of some uses of DMABUF but is not as flexible and general.

ChatGPT seems to know more about them, but I can't guarantee how accurate and up-to-date it is:

https://chat.openai.com/share/abff036b-3020-4093-a13b-86cbf0...

The tricky bit may be teaching pytorch to accept dmabuf handles and read and write dmabuf GPU buffers. (And ffmpeg too!)

There are no comments on this comment yet.