mesa: add & use a new driver flag for UBO updates instead of _NEW_BUFFER_OBJECT
authorMarek Olšák <maraeo@gmail.com>
Fri, 26 Apr 2013 12:21:09 +0000 (14:21 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 11 May 2013 21:45:01 +0000 (23:45 +0200)
commit77d8fbcfd4b79fa022c021ed52bda157d72e1ca9
tree0fafc941894d9e67a4dbba6cf16a34876cd8b4f0
parent081c789c3e1c6896bd8446d67db4a6740efdf92d
mesa: add & use a new driver flag for UBO updates instead of _NEW_BUFFER_OBJECT

v2: move the flagging from intel_bufferobj_data to intel_bufferobj_alloc_buffer

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
13 files changed:
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/main/bufferobj.c
src/mesa/main/mtypes.h
src/mesa/main/uniforms.c
src/mesa/state_tracker/st_atom_constbuf.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h