mesa/src/gallium/auxiliary
Marek Olšák 71f5fe36b7 gallium/u_vbuf: use signed vertex buffers offsets for optimal uploads
Uploaded data must start at (stride * start), because we can't modify
start in all cases. If it's the first allocation, it's also the amount
of memory wasted. If the starting offset is larger than the size of
the upload buffer, the buffer is re-created, used for 1 upload, and then
thrown away. If the upload is small, most of the buffer space is unused
and wasted. Keep doing that and the OOM killer comes. It's actually
pretty quick.

With signed VB offsets, we can set min_out_offset = 0
in u_upload_alloc/u_upload_data.

This fixes OOM situations with SPECviewperf.
2017-11-06 19:09:12 +01:00
..
cso_cache cso: inline a few frequently-used functions 2017-06-22 01:51:02 +02:00
draw gallium: s/unsigned/enum pipe_prim_type/ 2017-10-27 16:26:26 -06:00
gallivm gallivm: allow arch rounding with avx512 2017-11-02 10:24:54 -05:00
hud gallium/hud: always use two-dimensional constant references 2017-09-04 13:43:59 +02:00
indices gallium: remove pipe_index_buffer and set_index_buffer 2017-05-10 19:00:16 +02:00
nir nir: Get rid of nir_shader::stage 2017-10-20 12:49:17 -07:00
os gallium/os: fix align_malloc() / os_malloc_aligned() comment mix-up 2017-10-27 09:54:26 -06:00
pipe-loader meson: build gallium winsys for dri, null, and wrapper 2017-10-16 16:32:43 -07:00
pipebuffer gallium: Fix Thomas's email address 2017-07-28 13:41:51 -07:00
postprocess pp: always use two-dimensional constant references 2017-09-04 13:44:01 +02:00
rbug gallium: decrease the size of pipe_resource - 64 -> 48 bytes 2017-04-04 11:14:43 +02:00
renderonly renderonly/etnaviv: stop importing resource from renderonly 2017-07-19 16:26:49 +02:00
rtasm gallium/util: replace pipe_mutex_unlock() with mtx_unlock() 2017-03-07 08:53:05 +11:00
target-helpers broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268. 2017-10-10 11:42:04 -07:00
tgsi gallium: add more exceptions to tgsi_util_get_inst_usage_mask 2017-10-19 12:49:32 -05:00
translate translate: whitespace fixes in translate_generic.c 2017-06-20 07:56:34 -06:00
util gallium/u_vbuf: use signed vertex buffers offsets for optimal uploads 2017-11-06 19:09:12 +01:00
vl gallium/vl: don't use the template keyword 2017-09-30 19:03:07 +02:00
Android.mk gallium: auxiliary: Fix standalone Android build of u_cpu_detect (v2) 2017-07-19 13:28:23 +01:00
Makefile.am auxiliary/vl: use vl_*_screen_create stubs when building w/o platform 2017-05-19 19:46:41 +01:00
Makefile.sources gallium/util: Remove unused keymap 2017-09-21 20:42:38 +02:00
meson.build meson: use dep_m in libgallium 2017-10-31 08:10:37 +01:00
SConscript scons: whitespace cleanup 2016-05-25 12:23:12 -06:00