Screenshot for draw/frame

38 views
Skip to first unread message

Abhishek Deshpande

unread,
Nov 28, 2024, 1:25:40 AM11/28/24
to angleproject
Hi,

I am using below arrangement

GLES APP => ANGLE (built with Vulkan BackEnd) => In House Vulkan loader/driver => HW

How do I get a screenshot (bmp/jpg) of a particular GLES draw/frame ?

Can LunarG screenshot layer help here ?
Or is there some ANGLE specific extension/switch that I can use ?

Thanks in advance,
AD

Geoff Lang

unread,
Nov 28, 2024, 2:35:29 PM11/28/24
to abhi...@gmail.com, angleproject
You can use glReadPixels to read back the data from an OpenGL framebuffer and then save that data to an image yourself. Libraries like stb_image can do the image file compression.

--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/angleproject/f6059367-e18a-4b57-8174-363345c09e3an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages