diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-08 14:27:40 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-08 14:27:40 +0000 |
commit | 6c462de39a4b9980a5f034a95e580efdfcb8173b (patch) | |
tree | 39c6a6aeade1d7627d9584e52fccbd97b110ccae | |
parent | b42da9160df9f47224e5b3291b972f41767aa6e5 (diff) |
egl/x11: disable texture_blanket usage
-rw-r--r-- | src/gallium/state_trackers/egl/x11/native_ximage.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_ximage.c b/src/gallium/state_trackers/egl/x11/native_ximage.c index 3421c1951a..a94b1ca6c6 100644 --- a/src/gallium/state_trackers/egl/x11/native_ximage.c +++ b/src/gallium/state_trackers/egl/x11/native_ximage.c @@ -156,6 +156,11 @@ ximage_surface_alloc_buffer(struct native_surface *nsurf, templ.depth0 = 1; templ.tex_usage = PIPE_TEXTURE_USAGE_RENDER_TARGET; +#if 0 + /* Interesting and suprising use of texture_blanket + + * user_buffer_create... To be superceded by the sw_winsys branch, + * but currently disabled. + */ if (xbuf->shm_info) { struct pipe_buffer *pbuf; unsigned stride, size; @@ -188,7 +193,9 @@ ximage_surface_alloc_buffer(struct native_surface *nsurf, } } } - else { + else +#endif + { xbuf->texture = screen->texture_create(screen, &templ); } |