typedef struct {
unsigned long base_id;
+#ifdef _F_PUT_ON_PIXMAP_
+ unsigned int type;
+#else
unsigned char type;
+#endif
char *name;
int nEncodings;
XvEncodingPtr pEncodings;
if (pa->pScreen != pDraw->pScreen) return BadMatch;
+#ifdef _F_PUT_ON_PIXMAP_
+ if (!((pDraw->type == DRAWABLE_PIXMAP && pa->type & XvPixmapMask) ||
+ (pDraw->type == DRAWABLE_WINDOW && pa->type & XvWindowMask)))
+ return BadMatch;
+#endif
+
nf = pa->nFormats;
pf = pa->pFormats;
+xorg-server (2:1.9.3-22slp2) unstable; urgency=low
+
+ * fix error of applying patch
+ * Git: 165.213.180.234:slp/pkgs/xorg/server/xorg-server
+ * Tag: xorg-server_1.9.3-22slp2
+
+ -- Boram Park <boram1288.park@samsung.com> Tue, 14 Feb 2012 19:35:42 +0900
+
+xorg-server (2:1.9.3-21slp2) unstable; urgency=low
+
+ * put video on pixmap
+ * Git: 165.213.180.234:slp/pkgs/xorg/server/xorg-server
+ * Tag: xorg-server_1.9.3-21slp2
+
+ -- Boram Park <boram1288.park@samsung.com> Tue, 14 Feb 2012 09:51:15 +0900
+
xorg-server (2:1.9.3-20slp2) unstable; urgency=low
* Add libkms1 into "Depends" section for xserver-xorg-core pkg
CFLAGS += -D_F_COMP_OVL_PATCH
# enable gesture support
CFLAGS += -D_F_GESTURE_EXTENSION_
+# put video on pixman
+CFLAGS += -D_F_PUT_ON_PIXMAP_
###########################################################################################
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
int ret = Success;
Bool clippedAway = FALSE;
+#ifndef _F_PUT_ON_PIXMAP_
if (pDraw->type != DRAWABLE_WINDOW)
return BadAlloc;
+#endif
if(!portPriv->pScrn->vtSema) return Success; /* Success ? */
RegionUninit(&VPReg);
}
+#ifdef _F_PUT_ON_PIXMAP_
+ if (pDraw->type == DRAWABLE_WINDOW)
+ {
+#endif
/* If we are changing windows, unregister our port in the old window */
if(portPriv->pDraw && (portPriv->pDraw != pDraw))
xf86XVRemovePortFromWindow((WindowPtr)(portPriv->pDraw), portPriv);
/* Register our port with the new window */
ret = xf86XVEnlistPortInWindow((WindowPtr)pDraw, portPriv);
if(ret != Success) goto PUT_IMAGE_BAILOUT;
+#ifdef _F_PUT_ON_PIXMAP_
+ }
+#endif
if(!RegionNotEmpty(&ClipRegion)) {
clippedAway = TRUE;