I'm possibly Doing It Wrong, but...
I'm playing around with an X client, I have some shared memory full of
pixels, and I want to paint them on a window, with alpha-blending. I
also want to know when the paint is complete, so I can re-use that
shared memory buffer for different pixels.
IIUC, Rende
On Thu, Apr 9, 2015 at 6:39 PM, Chris Wilson wrote:
> You can either read cairo for an example of how to mix SHM and Render,
> or
> http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/tree/tools/virtual.c#n1819
Thanks for the tip. I'll give it more than a skim later, but one thing
looked od
On Fri, Apr 10, 2015 at 10:23 PM, Nigel Tao wrote:
> Even where SHM CreatePixmap works, I can only seem to create a
> depth-24 pixmap, which defeats the purpose of alpha-blending if the
> shared-memory image's alpha channel is implicitly fully opaque. If I
> try to create a depth
On Fri, Apr 17, 2015 at 5:53 AM, Aaron Plattner wrote:
> SHM pixmaps are only allowed if the driver enables them. It's the
> application's job to check before trying to create one. In NVIDIA's case,
> we disabled them because they can't be accelerated by the GPU and are
> generally terrible for
I'm using X Render, and want to draw a playing card image onto my
window, rotated (e.g. as part of a fan of cards in hand).
For simplicity, suppose that playing cards are square and the rotation
is by 45 degrees. The result is a diamond shape, so that in its
bounding box, the pixels in (1) and out
I sent this a few months ago, but got no response, not even a "what
you're asking for isn't possible". I'd still like to know the answer
(even if it's no), so I'm sending it out another (final) time.
On Sat, Oct 10, 2015 at 3:38 PM, Nigel Tao wrote:
>
On Wed, May 18, 2016 at 8:07 PM, Ilya Anfimov wrote:
> But anyway you can specify clip-mask with ChangePicture to use
> bitmap of enabled pixels. Whould be better IMO than restricting
> output line-by-line.
> And that mask bitmap also could be calculated by RENDER.
I suppose that will 'work