프로그램 사용/wayland
capture drm screen
구차니
2022. 8. 8. 08:29
openGL 컨텍스트를 이용해서 빼내거나
mmap 으로 빼내라고 하는데 어떤 주소값을 복사해야 하는지 이야기가 없네.
[링크 : https://stackoverflow.com/questions/47428631/get-screenshot-of-egl-drm-kms-application]
+
22.08.09
void glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * data); void glReadnPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); |
[링크 : https://registry.khronos.org/OpenGL-Refpages/es3/html/glReadPixels.xhtml]
[링크 : https://community.nxp.com/t5/i-MX-Processors/Rendering-with-OpenGL-ES-2-x-3-x-to-a-DMA-buffer-physical-memory/m-p/1229007]
[링크 : https://community.nxp.com/t5/i-MX-Processors/Zero-copy-between-GPU-and-VPU/m-p/1044158]
[링크 : https://stackoverflow.com/questions/3191978/how-to-use-glut-opengl-to-render-to-a-file]