Re: Best practices for client side buffer management

2020-06-19 Thread Brad Robinson
Hi Carsten, > i assume GetTempPath() will be looking at /tmp ... and /tmp may not be a > ramdisk. it may be a real disk... in which case your buffers may be getting > written to an actual disk. don't use /tmp. > That's kind of what was in the back of my head when I decided to post this, but bein

Re: Best practices for client side buffer management

2020-06-19 Thread Brad Robinson
Hi Scott, Thanks - memfd_create looks like a good option. I think I'll switch to that and fall back if it's not available. Sounds like one pool per window is the way to go... really didn't feel like implementing a heap allocator. Brad On Fri, Jun 19, 2020 at 1:55 PM Scott Anderson wrote: >

Re: Best practices for client side buffer management

2020-06-19 Thread The Rasterman
On Fri, 19 Jun 2020 13:24:12 +1000 Brad Robinson said: > Hi All, > > I'm fairly new to Wayland and Linux GUI programming in general, but doing > some experiments to figure out how to integrate it into my custom UI > toolkit library and have a couple of questions about client side buffer > manage

Re: [PATCH libinput 4/4] touchpad: change manual calculations of dimensions to helper functions

2020-06-19 Thread deb ackman
What that means?? ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel