AnsweredAssumed Answered

GPU to CPU copy taking long time

Question asked by Abhilash Abraham on Sep 28, 2015
Latest reply on Sep 28, 2015 by igorpadykov

I'm using IMX6Q and has no display. I'm doing a capture of Y16 format with 1040*768 pixels. I want to use the GPU for the processing. As a start point I configured the shaders in such a way to just pass the capture through GPU without any change in pixels. I have used glTexImage2D with the v4l2 buffer as input. The display I have configured is the framebuffer and I'm able to get the frames to framebuffer. I did a mmap to read the framebuffer to the application for streaming. I could find that the memcpy was taking 12ms for 1040*768*2 bytes. Is there any means to improve it? I'm using yocto with Linux 3.10.17.

Outcomes