diff options
author | Brian Paul <[email protected]> | 2008-09-19 10:41:03 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-19 10:41:03 -0600 |
commit | 44d5e607c7a8794007a29a5e2399f98615ec8def (patch) | |
tree | 13774fffba8683e49b9595a7899e59653c427bc1 /src/gallium/winsys | |
parent | 0838b702750d85b0284a97be211fa379e9f8d8d8 (diff) |
cell: disable XShmPutImage for tiled surface for now
Multiple displays of same surface data causes pixels to get scrambled.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/xlib/xm_winsys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/xlib/xm_winsys.c b/src/gallium/winsys/xlib/xm_winsys.c index 3334af175bc..acb5ad8f714 100644 --- a/src/gallium/winsys/xlib/xm_winsys.c +++ b/src/gallium/winsys/xlib/xm_winsys.c @@ -352,7 +352,7 @@ xmesa_display_surface_tiled(XMesaBuffer b, const struct pipe_surface *surf) /* offset in pixels */ offset *= TILE_SIZE * TILE_SIZE; - if (XSHM_ENABLED(xm_buf)) { + if (0 && XSHM_ENABLED(xm_buf)) { ximage->data = (char *) xm_buf->data + 4 * offset; /* make copy of tile data */ memcpy(tmpTile, (uint *) ximage->data, sizeof(tmpTile)); @@ -365,7 +365,7 @@ xmesa_display_surface_tiled(XMesaBuffer b, const struct pipe_surface *surf) #endif } else { - /* twiddel from ximage buffer to temp tile */ + /* twiddle from ximage buffer to temp tile */ twiddle_tile((uint *) xm_buf->data + offset, tmpTile); /* display temp tile data */ ximage->data = (char *) tmpTile; |