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]

'프로그램 사용 > wayland' 카테고리의 다른 글

sway + wayvnc  (0) 2022.08.10
wayvnc 0.5 릴리즈  (0) 2022.08.09
weston redraw 취소하기  (0) 2022.07.07
weston drm debug  (0) 2022.06.29
libwayland debug 메시지  (0) 2022.06.27
Posted by 구차니