Revert "i965/wm: use proper API buffer size for the surfaces."
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 5 Jan 2016 00:48:08 +0000 (19:48 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 5 Jan 2016 06:29:49 +0000 (01:29 -0500)
commita1d664a0b7dbd8bbab0ff7a179e8960c25a52c0b
tree2130ae72303c3e87ed640175a2e8865298bf070a
parent2123bfcc9c8b375ba46bb59d493ddeac1b7291a6
Revert "i965/wm: use proper API buffer size for the surfaces."

This reverts commit 8cf2e892fca20c4776b4a07c39918343cb2d4e0e. It's
entirely bogus to attempt to store anything about the binding in the
buffer object itself, which might be bound any number of times.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Cc: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_buffer_objects.c
src/mesa/main/bufferobj.c
src/mesa/main/mtypes.h