DD: Refactor BlitFramebuffer.
authorLaura Ekstrand <laura@jlekstrand.net>
Fri, 30 Jan 2015 22:03:53 +0000 (14:03 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 2 Feb 2015 21:21:20 +0000 (13:21 -0800)
commite187c2f5432466c7b49dba266026fb9b01f5f667
tree6232bca416174ed9c15bdbc69b8c6e650cad76c8
parentad2c64abbd7326be35fa1f94c7e056e868ee6185
DD: Refactor BlitFramebuffer.

In preparation for glBlitNamedFramebuffer, the DD table function
BlitFramebuffer needs to accept two arbitrary framebuffer objects rather
than assuming ctx->ReadBuffer and ctx->DrawBuffer.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
20 files changed:
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_blit.c
src/mesa/drivers/common/meta_copy_image.c
src/mesa/drivers/common/meta_tex_subimage.c
src/mesa/drivers/dri/i915/intel_fbo.c
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c
src/mesa/drivers/dri/i965/brw_meta_util.c
src/mesa/drivers/dri/i965/brw_meta_util.h
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/main/blit.c
src/mesa/main/dd.h
src/mesa/main/image.c
src/mesa/main/image.h
src/mesa/state_tracker/st_cb_blit.c
src/mesa/swrast/s_blit.c
src/mesa/swrast/s_copypix.c
src/mesa/swrast/swrast.h