i965: Move singlesample_mt to the renderbuffer.
authorEric Anholt <eric@anholt.net>
Thu, 13 Feb 2014 18:45:35 +0000 (10:45 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2014 18:01:45 +0000 (10:01 -0800)
commit4e0924c5de5f3964e4ca81f923d877dbb59fad0a
treee9af3ff446a6e9c3b87f82db7c2b075d895ca826
parent019560c127778dc3b08bdc7c3acdc68dbbb80ea0
i965: Move singlesample_mt to the renderbuffer.

Since only window system renderbuffers can have a singlesample_mt, this
lets us drop a bunch of sanity checking to make sure that we're just a
renderbuffer-like thing.

v2: Fix a badly-written comment (thanks Kenneth!), drop the now trivial
    helper function for set_needs_downsample.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/drivers/dri/i965/intel_fbo.h
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h