Changeset 103999 in vbox for trunk/src/VBox/Additions/3D/win/VBoxSVGA/winsys/vmw_screen.c
- Timestamp:
- Mar 22, 2024 12:38:39 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/3D/win/VBoxSVGA/winsys/vmw_screen.c
r98103 r103999 54 54 #include "util/os_file.h" 55 55 #include "util/u_memory.h" 56 #if VBOX_MESA_V_MAJOR < 24 56 57 #include "pipe/p_compiler.h" 58 #else 59 #include "util/compiler.h" 60 #endif 57 61 #include "util/u_hash_table.h" 58 62 … … 86 90 vws->open_count = 1; 87 91 vws->ioctl.drm_fd = -1; /* not used */ 88 vws->force_coherent = FALSE;92 vws->force_coherent = false; 89 93 if (!vmw_ioctl_init(vws)) 90 94 goto out_no_ioctl; 91 95 92 96 vws->base.have_gb_dma = !vws->force_coherent; 93 vws->base.need_to_rebind_resources = FALSE;97 vws->base.need_to_rebind_resources = false; 94 98 vws->base.have_transfer_from_buffer_cmd = vws->base.have_vgpu10; 95 vws->base.have_constant_buffer_offset_cmd = FALSE; 96 vws->cache_maps = FALSE; 99 #if VBOX_MESA_V_MAJOR < 24 100 vws->base.have_constant_buffer_offset_cmd = false; 101 #else 102 vws->base.have_constant_buffer_offset_cmd = 103 vws->ioctl.have_drm_2_20 && vws->base.have_sm5; 104 vws->base.have_index_vertex_buffer_offset_cmd = false; 105 vws->base.have_rasterizer_state_v2_cmd = 106 vws->ioctl.have_drm_2_20 && vws->base.have_sm5; 107 #endif 108 109 vws->cache_maps = false; 97 110 vws->fence_ops = vmw_fence_ops_create(vws); 98 111 if (!vws->fence_ops)
Note:
See TracChangeset
for help on using the changeset viewer.