mesa/src
Chia-I Wu 96c2851586 virgl: track valid buffer range for transfer sync
virgl_transfer_queue_is_queued was used to avoid flushing.  That
fails when the resource is being accessed by previous cmdbufs but
not the current one.

The new approach of tracking the valid buffer range does not apply
to textures however.  But hopefully it is fine because the goal is
to avoid waiting for this scenario

  glBufferSubData(..., offset, size, data1);
  glDrawArrays(...);
  // append new vertex data
  glBufferSubData(..., offset+size, size, data2);
  glDrawArrays(...);

If glTex(Sub)Image* turns out to be an issue, we will need to track
valid level/layer ranges as well.

v2: update virgl_buffer_transfer_extend as well
v3: do not remove virgl_transfer_queue_is_queued

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> (v1)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> (v2)
2019-05-22 09:28:19 -07:00
..
amd vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
broadcom nir: allow specifying a set of opcodes in lower_alu_to_scalar 2019-05-10 15:10:41 +00:00
compiler spirv: Drop GOOGLE suffix from names incorporated to SPIR-V 2019-05-21 11:52:41 -07:00
egl egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
freedreno vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
gallium virgl: track valid buffer range for transfer sync 2019-05-22 09:28:19 -07:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: delete demo file 2019-05-21 14:40:22 +01:00
intel vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa intel: Move brw_prog_key_set_id from i965 to the compiler. 2019-05-21 15:05:38 -07:00
util util: add missing include to build_id.h 2019-05-20 10:24:23 +10:00
vulkan vulkan: fix build dependency issue with generated files 2019-05-22 14:07:14 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00