summaryrefslogtreecommitdiff
path: root/xddm/display/qxldd.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-10-11 12:21:21 +0200
committerAlon Levy <alevy@redhat.com>2012-10-14 18:41:29 +0200
commit5020ad9f4a54d632daca3ccbc5522e3d44909c33 (patch)
treeee855d08a47cbb1278665f6c1aa23bf531198960 /xddm/display/qxldd.h
parenta1889087f1f1b64227ed725770464692bbcb19d6 (diff)
only allow word aligned strides
This is a pixman requirement. If it isn't enforced spice crashes, qemu with it. That should be fixed, but there is no simple way to allow for non word aligned strides, and the only down side is that for 16 bit modes we will require even widths. And we already have the same implementation detail in the X driver, only there it is a multiple of 8, not 4. The SurfaceCreate command's stride is computed in one place: miniport:FillVidModeInfo sets ScreenStride as word aligned display:pdev->stride is set from ScreenStride A third change at GetSurfaceMemory fixes the stride used for GDI allocated surface, but since surface 0 has a fixed larger then required area this isn't required for the bug fix, just for consistency.
Diffstat (limited to 'xddm/display/qxldd.h')
0 files changed, 0 insertions, 0 deletions