combining Render's Composite + SHM's PutImage

Nigel Tao nigeltao at golang.org
Thu Apr 9 02:22:34 PDT 2015


On Thu, Apr 9, 2015 at 6:39 PM, Chris Wilson <chris at chris-wilson.co.uk> 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 odd in that virtual.c code. Lines 1855-1856 say:

} else if (c->dst.pixmap) {
DBG(DRAW, ("%s-%s using SHM pixmap\n",

Should that "dst.pixmap" be "dst.use_shm_pixmap"?? That would be
consistent with the

if (c->dst.use_shm_pixmap) {

at line 1827.


More information about the xorg mailing list