Merge branch 'gallium-noblocks'
authorRoland Scheidegger <sroland@vmware.com>
Thu, 3 Dec 2009 23:35:14 +0000 (00:35 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 3 Dec 2009 23:35:14 +0000 (00:35 +0100)
Conflicts:
src/gallium/state_trackers/xorg/xorg_exa.c

14 files changed:
1  2 
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/include/pipe/p_state.h
src/gallium/state_trackers/python/retrace/interpreter.py
src/gallium/state_trackers/xorg/xorg_crtc.c
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/gallium/state_trackers/xorg/xorg_xv.c
src/gallium/winsys/xlib/xlib_cell.c
src/mesa/state_tracker/st_cb_drawpixels.c

Simple merge
index aa46cd45f1668ad505c0ba19cdfdd94ffa9236e9,c02ed39ca1cd3154f1449d936d53b4b041317638..55b87aefa15a1a8594159ef4144fdadd3c5b98eb
@@@ -899,16 -761,8 +899,15 @@@ ExaModifyPixmapHeader(PixmapPtr pPixmap
        memset(&template, 0, sizeof(template));
        template.target = PIPE_TEXTURE_2D;
        exa_get_pipe_format(depth, &template.format, &bitsPerPixel, &priv->picture_format);
-       pf_get_block(template.format, &template.block);
 -      template.width0 = width;
 -      template.height0 = height;
 +        if (ROUND_UP_TEXTURES && priv->flags == 0) {
 +           template.width0 = util_next_power_of_two(width);
 +           template.height0 = util_next_power_of_two(height);
 +        }
 +        else {
 +           template.width0 = width;
 +           template.height0 = height;
 +        }
 +
        template.depth0 = 1;
        template.last_level = 0;
        template.tex_usage = PIPE_TEXTURE_USAGE_RENDER_TARGET | priv->flags;
Simple merge