Results 1 to 3 of 3

Thread: Screen grabber on GPU for openCL/openGL/cuda

  1. #1

    Screen grabber on GPU for openCL/openGL/cuda

    I have problem. I want to get actual frame what is displayed into gpu memory CUDA/OpenCL for compression in future before transfer it to host.

    My program will be like screen saver with compression into gpu before transfer data gpu -> cpu

    DISPLAY -> GET ACTUAL FRAME TO GPU MEMORY -> COMPRESSION -> TRANSFER TO HOST

  2. #2
    Junior Member
    Join Date
    Dec 2009
    Posts
    17

    Re: Screen grabber on GPU for openCL/openGL/cuda

    You are mistaken on how OpenCL and OpenGL actually work as CUDA nor OpenCL NEVER display anything. They do not have the ability to display. They have buffers that can be displayed by OpenGL or DirectX but again to be clear there is NO part of the OpenCL or CUDA api/spec which displays data to the screen.

    Also you seem to believe that OpenCL or CUDA does compression which it does not. There are libraries which are built on top of both which do compression but not on the screen data so you seem to be asking for something that simply doesn't make since.

    I would recommend reading some of the Introductions to OpenCL/Programmers guide from both ATI and Nvidia to get more familer with the subject.

  3. #3
    Senior Member
    Join Date
    Aug 2011
    Posts
    271

    Re: Screen grabber on GPU for openCL/openGL/cuda

    thesmileman, i think dszynkarczyn just wants to grab the screen - the rest of the flow-chart is the software he wants to write.

    I dunno, an accelerated/hardware assisted screen movie maker seems to make sense to me ...

    Screen capture is normally some horrible/slow operating system function (there are security implications to allowing it, or digital restrictions management rubbish to get in the way) and in any event falls outside of the scope of api's like opengl.

    But if it's content you're generating, then that's easy.

Similar Threads

  1. openCL and cuda on the same GPU (GTX260)
    By deNorma in forum OpenCL
    Replies: 1
    Last Post: 01-21-2010, 02:06 AM
  2. Screen Freezes and black screen during game execution on Win
    By Leena in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 0
    Last Post: 07-29-2009, 11:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •