[oe-commits] org.oe.dev xserver-kdrive-imageon X11R7.1-1.1.0 : Fixes a bug in randr coordinates

sirfred commit openembedded-commits at lists.openembedded.org
Fri Jun 15 21:48:32 UTC 2007


xserver-kdrive-imageon X11R7.1-1.1.0 : Fixes a bug in randr coordinates 
transformation
Bumped up package version

Author: sirfred at openembedded.org
Branch: org.openembedded.dev
Revision: dcf5a8a0ff71cf06020e1db14987020b861053d6
ViewMTN: http://monotone.openembedded.org/revision.psp?id=dcf5a8a0ff71cf06020e1db14987020b861053d6
Files:
1
packages/xorg-xserver/xserver-kdrive/kdrive-imageon.patch
packages/xorg-xserver/xserver-kdrive-imageon_X11R7.1-1.1.0.bb
Diffs:

#
# mt diff -r54839053b2085cd6d2347b4cc13d77cc4d192647 -rdcf5a8a0ff71cf06020e1db14987020b861053d6
#
# 
# 
# patch "packages/xorg-xserver/xserver-kdrive/kdrive-imageon.patch"
#  from [5d471a401096c47b2af2cca2b4ae928b4de203da]
#    to [d6cd89b479c89e66be4ef54d871ec602d3b399a1]
# 
# patch "packages/xorg-xserver/xserver-kdrive-imageon_X11R7.1-1.1.0.bb"
#  from [e50e21de6bb56a5110430b82427d3b8f908786ef]
#    to [f52a82f7568e8682ad0100a9dc5e8e3963c78cbc]
# 
============================================================
--- packages/xorg-xserver/xserver-kdrive/kdrive-imageon.patch	5d471a401096c47b2af2cca2b4ae928b4de203da
+++ packages/xorg-xserver/xserver-kdrive/kdrive-imageon.patch	d6cd89b479c89e66be4ef54d871ec602d3b399a1
@@ -902,7 +902,7 @@
 +#endif
 --- /dev/null
 +++ xorg-server-X11R7.1-1.1.0.work/hw/kdrive/imageon/imageon_cursor.c
-@@ -0,0 +1,565 @@
+@@ -0,0 +1,569 @@
 +/*
 + * Copyright © 2007 Manuel Teira
 + *
@@ -1253,8 +1253,12 @@
 +        W100_HOST2CARD(pCurPriv->area->vidmem->base
 +                       + pCurPriv->area->offset);
 +    DBG_IMAGEON(("W100MoveCursor dst(x:%d,y:%d),"
++                 "hwpos(hpos.start:%d,hpos.end:%d,vpos.start:%d,vpos.end:%d),"
 +                 "mapped(x:%d,y:%d,xoffs:%d,yoffs:%d)\n",
-+                 x, y, deviceBox.x1, deviceBox.y1, xoffs, yoffs));
++                 x, y, 
++                 hpos.f.cur_h_start, hpos.f.cur_h_end,
++                 vpos.f.cur_v_start, vpos.f.cur_v_end,
++                 deviceBox.x1, deviceBox.y1, xoffs, yoffs));
 +
 +    W100DisableDisplayUpdate(w100c);
 +    MMIO_OUT32(mmCURSOR1_OFFSET, cursor_offset.val);
@@ -7009,7 +7013,7 @@
 +        dst->x1 = src->y1;
 +        dst->y1 = w100c->hw_window.width - src->x2 - 1;
 +        dst->x2 = src->y2;
-+        dst->y2 = w100c->hw_window.height - src->x1 - 1;
++        dst->y2 = w100c->hw_window.width - src->x1 - 1;
 +        break;
 +    }
 +    DBG_IMAGEON(("MapToDevice (x1:%d,y1:%d,x2:%d,y2:%d)->(x1:%d,y1:%d,x2:%d,y2:%d)\n",
@@ -7731,7 +7735,7 @@
 +        
 --- /dev/null
 +++ xorg-server-X11R7.1-1.1.0.work/hw/kdrive/imageon/imageon_video.c
-@@ -0,0 +1,1170 @@
+@@ -0,0 +1,1172 @@
 +/*
 + * Copyright © 2007 Manuel Teira
 + *
@@ -8625,12 +8629,14 @@
 +    for (i = 0; i < NUM_OVL_RESIZERS; i++) {
 +        w = (ovlBox.x2 - x + 1) >> ovlResizers[i].xfactor;
 +        h = (ovlBox.y2 - y + 1) >> ovlResizers[i].yfactor;
-+        DBG_IMAGEON(("Before aligning w=%d, h=%d\n", w, h));
 +        w = W100_ALIGN(w, OVL_W_ALIGN);
 +        h = W100_ALIGN(h, OVL_H_ALIGN);
-+        DBG_IMAGEON(("Trying overlay surface (%d,%d,%d,%d)\n",
-+                     x, y, w, h));
 +        port->ovl.size = W100SurfaceSize(port, w, h);
++        DBG_IMAGEON(("Trying overlay surface (x:%d,y:%d,w:%d,h:%d). Size %d."
++                     " xfactor:%d, yfactor:%d\n",
++                     x, y, w, h, port->ovl.size,
++                     ovlResizers[i].xfactor,
++                     ovlResizers[i].yfactor));
 +        if (port->ovl.size <= port->ovl.maxSize) {
 +            ErrorF("Using (x=%d,y=%d,w=%d,h=%d) overlay surface (%d bytes). "
 +                   "Resizer(xfactor:%d,yfactor:%d)\n",
============================================================
--- packages/xorg-xserver/xserver-kdrive-imageon_X11R7.1-1.1.0.bb	e50e21de6bb56a5110430b82427d3b8f908786ef
+++ packages/xorg-xserver/xserver-kdrive-imageon_X11R7.1-1.1.0.bb	f52a82f7568e8682ad0100a9dc5e8e3963c78cbc
@@ -11,7 +11,7 @@ RPROVIDES = "virtual/xserver"
 PROVIDES = "virtual/xserver"
 RPROVIDES = "virtual/xserver"
 
-PR = "r2"
+PR = "r3"
 
 FILESPATH = "${FILE_DIRNAME}/xserver-kdrive"
 






More information about the Openembedded-commits mailing list