mesa: remove no longer needed _mesa_is_bufferobj function
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Mar 2020 03:56:07 +0000 (23:56 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Apr 2020 14:28:53 +0000 (10:28 -0400)
commit10beee8a7757e956ab0e02ec8402ec1273d8edce
treec6bce7c442f7f87ed18e973b623ccd9d49cd209a
parent58fab9a6fe258395d934b69c454f1b54bcefedf1
mesa: remove no longer needed _mesa_is_bufferobj function

All buffers have Name != 0.

Note that there is no longer the pointer dereference to get Name,
so it's faster.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
40 files changed:
src/mesa/drivers/dri/i915/intel_pixel_bitmap.c
src/mesa/drivers/dri/i915/intel_pixel_read.c
src/mesa/drivers/dri/i915/intel_tex_image.c
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_draw.c
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/nouveau/nouveau_bufferobj.h
src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
src/mesa/drivers/dri/radeon/radeon_pixel_read.c
src/mesa/drivers/x11/xm_dd.c
src/mesa/main/api_arrayelt.c
src/mesa/main/arrayobj.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/compute.c
src/mesa/main/dlist.c
src/mesa/main/draw.c
src/mesa/main/draw_validate.c
src/mesa/main/drawpix.c
src/mesa/main/objectpurge.c
src/mesa/main/pbo.c
src/mesa/main/pixel.c
src/mesa/main/readpix.c
src/mesa/main/texgetimage.c
src/mesa/main/varray.c
src/mesa/main/varray.h
src/mesa/state_tracker/st_atom_array.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_draw.c
src/mesa/tnl/t_draw.c
src/mesa/tnl/t_rebase.c
src/mesa/tnl/t_split_copy.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_minmax_index.c
src/mesa/vbo/vbo_save_api.c