xpra icon
Bug tracker and wiki

Changes between Initial Version and Version 1 of Ticket #365, comment 1


Ignore:
Timestamp:
12/12/13 06:38:01 (7 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #365, comment 1

    initial v1  
    44[[BR]]
    55
    6 * when we reach {{{window.get_image(x, y, w, h)}}} in {{{WindowSource}}}, we can start copying the display pixels to a PBO (maybe even '''asynchronously'''!) using [http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml {{{glReadPixels}}}] or [https://www.opengl.org/sdk/docs/man4/xhtml/glCopyTexImage2D.xml {{{glCopyTexImage2D}}}] and return an image wrapper for the PBO
     6* when we reach {{{window.get_image(x, y, w, h)}}} in {{{WindowSource}}}, we can start copying the display pixels to a PBO (maybe even '''asynchronously'''!) using [http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml glReadPixels] or [https://www.opengl.org/sdk/docs/man4/xhtml/glCopyTexImage2D.xml glCopyTexImage2D] and return an image wrapper for the PBO
    77* when we reach {{{driver.memcpy_htod}}} in {{{nvenc}}}, we can just skip that part and instead use [http://documen.tician.de/pycuda/gl.html pycuda]'s [http://documen.tician.de/pycuda/gl.html gl functions] to access the GL buffer (maybe it can be done as part of the NV12 CSC step anyway - even if we have to copy it to a CUDA aligned buffer, this is no big deal)
    88