gallium: Permit surface_copy and surface_fill to be NULL.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 18 Oct 2009 04:32:56 +0000 (21:32 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Sun, 18 Oct 2009 04:32:56 +0000 (21:32 -0700)
commitbb567357bc1366df7115e0daa68c2470e3bf6ba6
tree067805d996a91f632dcd083def6032e9c2ad7736
parentbfd877e4705002d97ee8dba6fe0c1f8676582ab3
gallium: Permit surface_copy and surface_fill to be NULL.

Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc.
please make sure you are not broken, and fix yourself up if you are.

There were only two or three places where the code did not have painful
fallbacks, so I would advise st maintainers to find less painful workarounds,
or consider overhauling util_surface_copy and util_surface_fill.

Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is.

I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
14 files changed:
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_clear.h
src/gallium/drivers/r300/r300_context.c
src/gallium/include/pipe/p_context.h
src/gallium/state_trackers/dri/dri_drawable.c
src/gallium/state_trackers/egl/egl_surface.c
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/vg_tracker.c
src/gallium/state_trackers/xorg/xorg_exa.c
src/gallium/state_trackers/xorg/xorg_renderer.c
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_texture.c