Re: mmap with PROT_WRITE of dma-buf FD coming from eglExportDMABUFImageMESA

2017-02-02 Thread Daniel Vetter
On Thu, Feb 2, 2017 at 8:46 PM, Volker Vogelhuber wrote: > On Thu, Feb 02, 2017 at 05:19:58PM +0100, Volker Vogelhuber wrote: >>> I'm currently trying to mmap the memory of an OpenGL texture I've created by >>> doing the following: >>> >>> std::vector

AW: mmap with PROT_WRITE of dma-buf FD coming from eglExportDMABUFImageMESA

2017-02-02 Thread Volker Vogelhuber
On Thu, Feb 02, 2017 at 05:19:58PM +0100, Volker Vogelhuber wrote: >> I'm currently trying to mmap the memory of an OpenGL texture I've created by >> doing the following: >>  >> std::vector image_attribs = { >>         EGL_WIDTH,  static_cast(m_texWidth & 0x7FFF), >>        

Re: mmap with PROT_WRITE of dma-buf FD coming from eglExportDMABUFImageMESA

2017-02-02 Thread Daniel Vetter
On Thu, Feb 02, 2017 at 05:19:58PM +0100, Volker Vogelhuber wrote: > Hi, > > I'm currently trying to mmap the memory of an OpenGL texture I've created by > doing the following: > > std::vector image_attribs = { > EGL_WIDTH, static_cast(m_texWidth & 0x7FFF), >

mmap with PROT_WRITE of dma-buf FD coming from eglExportDMABUFImageMESA

2017-02-02 Thread Volker Vogelhuber
Hi, I'm currently trying to mmap the memory of an OpenGL texture I've created by doing the following: std::vector image_attribs = { EGL_WIDTH, static_cast(m_texWidth & 0x7FFF), EGL_HEIGHT, static_cast(m_texHeight & 0x7FFF),