/third_party/mesa3d/src/gallium/winsys/sw/null/ |
D | null_sw_winsys.c | 74 null_sw_displaytarget_destroy(struct sw_winsys *winsys, in null_sw_displaytarget_destroy() argument 82 null_sw_displaytarget_create(struct sw_winsys *winsys, in null_sw_displaytarget_create() argument 96 null_sw_displaytarget_from_handle(struct sw_winsys *winsys, in null_sw_displaytarget_from_handle() argument 106 null_sw_displaytarget_get_handle(struct sw_winsys *winsys, in null_sw_displaytarget_get_handle() argument 116 null_sw_displaytarget_display(struct sw_winsys *winsys, in null_sw_displaytarget_display() argument 126 null_sw_destroy(struct sw_winsys *winsys) in null_sw_destroy() argument 128 FREE(winsys); in null_sw_destroy() 135 static struct sw_winsys *winsys; in null_sw_create() local 137 winsys = CALLOC_STRUCT(sw_winsys); in null_sw_create() 138 if (!winsys) in null_sw_create() [all …]
|
/third_party/mesa3d/src/gallium/winsys/sw/hgl/ |
D | hgl_sw_winsys.cpp | 80 hgl_winsys_destroy(struct sw_winsys* winsys) in hgl_winsys_destroy() argument 82 FREE(winsys); in hgl_winsys_destroy() 87 hgl_winsys_is_displaytarget_format_supported(struct sw_winsys* winsys, in hgl_winsys_is_displaytarget_format_supported() argument 109 hgl_winsys_displaytarget_create(struct sw_winsys* winsys, in hgl_winsys_displaytarget_create() argument 152 hgl_winsys_displaytarget_destroy(struct sw_winsys* winsys, in hgl_winsys_displaytarget_destroy() argument 172 hgl_winsys_displaytarget_from_handle(struct sw_winsys* winsys, in hgl_winsys_displaytarget_from_handle() argument 181 hgl_winsys_displaytarget_get_handle(struct sw_winsys* winsys, in hgl_winsys_displaytarget_get_handle() argument 189 hgl_winsys_displaytarget_map(struct sw_winsys* winsys, in hgl_winsys_displaytarget_map() argument 203 hgl_winsys_displaytarget_unmap(struct sw_winsys* winsys, in hgl_winsys_displaytarget_unmap() argument 211 hgl_winsys_displaytarget_display(struct sw_winsys* winsys, in hgl_winsys_displaytarget_display() argument [all …]
|
/third_party/mesa3d/src/gallium/winsys/sw/gdi/ |
D | gdi_sw_winsys.c | 111 gdi_sw_displaytarget_destroy(struct sw_winsys *winsys, in gdi_sw_displaytarget_destroy() argument 122 gdi_sw_displaytarget_create(struct sw_winsys *winsys, in gdi_sw_displaytarget_create() argument 175 gdi_sw_displaytarget_from_handle(struct sw_winsys *winsys, in gdi_sw_displaytarget_from_handle() argument 186 gdi_sw_displaytarget_get_handle(struct sw_winsys *winsys, in gdi_sw_displaytarget_get_handle() argument 196 gdi_sw_display( struct sw_winsys *winsys, in gdi_sw_display() argument 209 gdi_sw_displaytarget_display(struct sw_winsys *winsys, in gdi_sw_displaytarget_display() argument 218 gdi_sw_display(winsys, dt, hDC); in gdi_sw_displaytarget_display() 223 gdi_sw_destroy(struct sw_winsys *winsys) in gdi_sw_destroy() argument 225 FREE(winsys); in gdi_sw_destroy() 231 static struct sw_winsys *winsys; in gdi_create_sw_winsys() local [all …]
|
/third_party/mesa3d/src/gallium/targets/wgl/ |
D | wgl.c | 80 wgl_screen_create_by_name(HDC hDC, const char* driver, struct sw_winsys *winsys) in wgl_screen_create_by_name() argument 86 screen = llvmpipe_create_screen(winsys); in wgl_screen_create_by_name() 93 screen = d3d12_wgl_create_screen(winsys, hDC); in wgl_screen_create_by_name() 100 screen = zink_create_screen(winsys, NULL); in wgl_screen_create_by_name() 107 screen = softpipe_create_screen(winsys); in wgl_screen_create_by_name() 117 struct sw_winsys *winsys; in wgl_screen_create() local 120 winsys = gdi_create_sw_winsys(); in wgl_screen_create() 121 if (!winsys) in wgl_screen_create() 144 struct pipe_screen* screen = wgl_screen_create_by_name(hDC, drivers[i], winsys); in wgl_screen_create() 153 winsys->destroy(winsys); in wgl_screen_create() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/target-helpers/ |
D | sw_helper.h | 42 sw_screen_create_named(struct sw_winsys *winsys, const struct pipe_screen_config *config, const cha… in sw_screen_create_named() argument 48 screen = llvmpipe_create_screen(winsys); in sw_screen_create_named() 54 vws = virgl_vtest_winsys_wrap(winsys); in sw_screen_create_named() 61 screen = softpipe_create_screen(winsys); in sw_screen_create_named() 66 screen = zink_create_screen(winsys, config); in sw_screen_create_named() 71 screen = d3d12_create_dxcore_screen(winsys, NULL); in sw_screen_create_named() 76 screen = agx_screen_create(winsys); in sw_screen_create_named() 83 sw_screen_create_vk(struct sw_winsys *winsys, const struct pipe_screen_config *config, bool sw_vk) in sw_screen_create_vk() argument 103 struct pipe_screen *screen = sw_screen_create_named(winsys, config, drivers[i]); in sw_screen_create_vk() 114 sw_screen_create_zink(struct sw_winsys *winsys, const struct pipe_screen_config *config, bool whate… in sw_screen_create_zink() argument [all …]
|
D | inline_sw_helper.h | 38 sw_screen_create_named(struct sw_winsys *winsys, const char *driver) in sw_screen_create_named() argument 44 screen = llvmpipe_create_screen(winsys); in sw_screen_create_named() 50 vws = virgl_vtest_winsys_wrap(winsys); in sw_screen_create_named() 57 screen = softpipe_create_screen(winsys); in sw_screen_create_named() 62 screen = zink_create_screen(winsys, NULL); in sw_screen_create_named() 67 screen = d3d12_create_dxcore_screen(winsys, NULL); in sw_screen_create_named() 72 screen = agx_screen_create(winsys); in sw_screen_create_named() 80 sw_screen_create_vk(struct sw_winsys *winsys, bool sw_vk) in sw_screen_create_vk() argument 100 struct pipe_screen *screen = sw_screen_create_named(winsys, drivers[i]); in sw_screen_create_vk() 111 sw_screen_create_zink(struct sw_winsys *winsys, const struct pipe_screen_config *config, bool whate… in sw_screen_create_zink() argument [all …]
|
D | sw_helper_public.h | 8 sw_screen_create_vk(struct sw_winsys *winsys, const struct pipe_screen_config *config, bool sw_vk); 10 sw_screen_create_zink(struct sw_winsys *winsys, const struct pipe_screen_config *config, bool whate… 13 sw_screen_create(struct sw_winsys *winsys);
|
/third_party/mesa3d/src/gallium/ |
D | meson.build | 23 inc_gallium_winsys = include_directories('winsys') 24 inc_gallium_winsys_sw = include_directories('winsys/sw') 28 subdir('winsys/sw/null') 30 subdir('winsys/sw/dri') 35 subdir('winsys/sw/kms-dri') 40 subdir('winsys/sw/gdi') 44 subdir('winsys/sw/wrapper') 46 subdir('winsys/sw/hgl') 62 subdir('winsys/radeon/drm') 75 subdir('winsys/amdgpu/drm') [all …]
|
/third_party/mesa3d/src/gallium/targets/d3d10sw/ |
D | d3d10_gdi.c | 47 struct sw_winsys *winsys; in d3d10_create_screen() local 49 winsys = gdi_create_sw_winsys(); in d3d10_create_screen() 50 if(!winsys) in d3d10_create_screen() 63 screen = llvmpipe_create_screen( winsys ); in d3d10_create_screen() 70 screen = softpipe_create_screen( winsys ); in d3d10_create_screen() 79 winsys->destroy(winsys); in d3d10_create_screen()
|
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader_sw.c | 68 .winsys = { 99 .winsys = { 217 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_sw_probe_dri() 218 if (strcmp(sdev->dd->winsys[i].name, "dri") == 0) { in pipe_loader_sw_probe_dri() 219 sdev->ws = sdev->dd->winsys[i].create_winsys(drisw_lf); in pipe_loader_sw_probe_dri() 247 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_vk_probe_dri() 248 if (strcmp(sdev->dd->winsys[i].name, "dri") == 0) { in pipe_loader_vk_probe_dri() 249 sdev->ws = sdev->dd->winsys[i].create_winsys(drisw_lf); in pipe_loader_vk_probe_dri() 283 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_sw_probe_kms() 284 if (strcmp(sdev->dd->winsys[i].name, "kms_dri") == 0) { in pipe_loader_sw_probe_kms() [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 134 struct sw_winsys *winsys = softpipe_screen(screen)->winsys; in softpipe_displaytarget_layout() local 138 spr->dt = winsys->displaytarget_create(winsys, in softpipe_displaytarget_layout() 207 struct sw_winsys *winsys = screen->winsys; in softpipe_resource_destroy() local 208 winsys->displaytarget_destroy(winsys, spr->dt); in softpipe_resource_destroy() 225 struct sw_winsys *winsys = softpipe_screen(screen)->winsys; in softpipe_resource_from_handle() local 238 spr->dt = winsys->displaytarget_from_handle(winsys, in softpipe_resource_from_handle() 260 struct sw_winsys *winsys = softpipe_screen(screen)->winsys; in softpipe_resource_get_handle() local 267 return winsys->displaytarget_get_handle(winsys, spr->dt, whandle); in softpipe_resource_get_handle() 362 struct sw_winsys *winsys = softpipe_screen(pipe->screen)->winsys; in softpipe_transfer_map() local 436 map = winsys->displaytarget_map(winsys, spr->dt, usage); in softpipe_transfer_map() [all …]
|
D | sp_screen.c | 400 struct sw_winsys *winsys = softpipe_screen(screen)->winsys; in softpipe_is_format_supported() local 424 if(!winsys->is_displaytarget_format_supported(winsys, bind, format)) in softpipe_is_format_supported() 490 struct sw_winsys *winsys = sp_screen->winsys; in softpipe_destroy_screen() local 492 if(winsys->destroy) in softpipe_destroy_screen() 493 winsys->destroy(winsys); in softpipe_destroy_screen() 510 struct sw_winsys *winsys = screen->winsys; in softpipe_flush_frontbuffer() local 515 winsys->displaytarget_display(winsys, texture->dt, context_private, sub_box); in softpipe_flush_frontbuffer() 582 softpipe_create_screen(struct sw_winsys *winsys) in softpipe_create_screen() argument 591 screen->winsys = winsys; in softpipe_create_screen()
|
D | sp_state_sampler.c | 266 struct sw_winsys *winsys = screen->winsys; in prepare_shader_sampling() local 267 addr = winsys->displaytarget_map(winsys, sp_tex->dt, in prepare_shader_sampling() 294 struct sw_winsys *winsys = screen->winsys; in sp_sampler_view_display_target_unmap() local 295 winsys->displaytarget_unmap(winsys, sp_tex->dt); in sp_sampler_view_display_target_unmap()
|
/third_party/mesa3d/src/gallium/targets/libgl-xlib/ |
D | xlib.c | 51 struct sw_winsys *winsys; in swrast_xlib_create_screen() local 57 winsys = xlib_create_sw_winsys( display ); in swrast_xlib_create_screen() 58 if (winsys == NULL) in swrast_xlib_create_screen() 63 screen = sw_screen_create( winsys ); in swrast_xlib_create_screen() 72 if (winsys) in swrast_xlib_create_screen() 73 winsys->destroy( winsys ); in swrast_xlib_create_screen()
|
/third_party/mesa3d/src/gallium/targets/osmesa/ |
D | target.c | 37 struct sw_winsys *winsys; in osmesa_create_screen() local 43 winsys = null_sw_create(); in osmesa_create_screen() 44 if (!winsys) in osmesa_create_screen() 48 screen = sw_screen_create(winsys); in osmesa_create_screen() 50 winsys->destroy(winsys); in osmesa_create_screen()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | meson.build | 36 'winsys/powervr/pvr_drm.c', 37 'winsys/pvr_winsys.c', 38 'winsys/pvr_winsys_helper.c', 66 include_directories('winsys'), 85 'winsys/pvrsrvkm/pvr_srv.c', 86 'winsys/pvrsrvkm/pvr_srv_bo.c', 87 'winsys/pvrsrvkm/pvr_srv_bridge.c', 88 'winsys/pvrsrvkm/pvr_srv_job_common.c', 89 'winsys/pvrsrvkm/pvr_srv_job_compute.c', 90 'winsys/pvrsrvkm/pvr_srv_job_null.c', [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_cache.h | 57 void *winsys; member 66 void (*destroy_buffer)(void *winsys, struct pb_buffer *buf); 67 bool (*can_reclaim)(void *winsys, struct pb_buffer *buf); 80 void *winsys, 81 void (*destroy_buffer)(void *winsys, struct pb_buffer *buf), 82 bool (*can_reclaim)(void *winsys, struct pb_buffer *buf));
|
D | pb_cache.c | 50 mgr->destroy_buffer(mgr->winsys, buf); in destroy_buffer_locked() 100 mgr->destroy_buffer(mgr->winsys, buf); in pb_cache_add_buffer() 139 return mgr->can_reclaim(mgr->winsys, buf) ? 1 : -1; in pb_cache_is_buffer_compat() 283 void *winsys, in pb_cache_init() argument 284 void (*destroy_buffer)(void *winsys, struct pb_buffer *buf), in pb_cache_init() argument 285 bool (*can_reclaim)(void *winsys, struct pb_buffer *buf)) in pb_cache_init() argument 297 mgr->winsys = winsys; in pb_cache_init()
|
D | pb_buffer.h | 150 void (*destroy)(void *winsys, struct pb_buffer *buf); 253 pb_destroy(void *winsys, struct pb_buffer *buf) in pb_destroy() argument 259 buf->vtbl->destroy(winsys, buf); in pb_destroy() 275 pb_reference_with_winsys(void *winsys, in pb_reference_with_winsys() argument 282 pb_destroy(winsys, old); in pb_reference_with_winsys()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | meson.build | 36 'winsys/null/radv_null_bo.c', 37 'winsys/null/radv_null_bo.h', 38 'winsys/null/radv_null_cs.c', 39 'winsys/null/radv_null_cs.h', 40 'winsys/null/radv_null_winsys.c', 41 'winsys/null/radv_null_winsys_public.h', 105 'winsys/amdgpu/radv_amdgpu_bo.c', 106 'winsys/amdgpu/radv_amdgpu_bo.h', 107 'winsys/amdgpu/radv_amdgpu_cs.c', 108 'winsys/amdgpu/radv_amdgpu_cs.h', [all …]
|
/third_party/mesa3d/src/gallium/targets/libgl-d3d12/ |
D | libgl_d3d12.c | 45 struct sw_winsys *winsys; in gdi_screen_create() local 47 winsys = gdi_create_sw_winsys(); in gdi_screen_create() 48 if(!winsys) in gdi_screen_create() 51 screen = d3d12_wgl_create_screen( winsys, hDC ); in gdi_screen_create() 59 winsys->destroy(winsys); in gdi_screen_create()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 208 struct sw_winsys *winsys = screen->winsys; in llvmpipe_displaytarget_layout() local 216 lpr->dt = winsys->displaytarget_create(winsys, in llvmpipe_displaytarget_layout() 445 struct sw_winsys *winsys = screen->winsys; in llvmpipe_resource_destroy() local 446 winsys->displaytarget_destroy(winsys, lpr->dt); in llvmpipe_resource_destroy() 494 struct sw_winsys *winsys = screen->winsys; in llvmpipe_resource_map() local 508 map = winsys->displaytarget_map(winsys, lpr->dt, dt_usage); in llvmpipe_resource_map() 539 struct sw_winsys *winsys = lp_screen->winsys; in llvmpipe_resource_unmap() local 544 winsys->displaytarget_unmap(winsys, lpr->dt); in llvmpipe_resource_unmap() 567 struct sw_winsys *winsys = screen->winsys; in llvmpipe_resource_from_handle() local 591 lpr->dt = winsys->displaytarget_from_handle(winsys, in llvmpipe_resource_from_handle() [all …]
|
D | lp_screen.c | 669 struct sw_winsys *winsys = screen->winsys; in llvmpipe_is_format_supported() local 790 if(!winsys->is_displaytarget_format_supported(winsys, bind, format)) in llvmpipe_is_format_supported() 832 struct sw_winsys *winsys = screen->winsys; in llvmpipe_flush_frontbuffer() local 840 winsys->displaytarget_display(winsys, texture->dt, context_private, sub_box); in llvmpipe_flush_frontbuffer() 848 struct sw_winsys *winsys = screen->winsys; in llvmpipe_destroy_screen() local 862 if(winsys->destroy) in llvmpipe_destroy_screen() 863 winsys->destroy(winsys); in llvmpipe_destroy_screen() 1025 llvmpipe_create_screen(struct sw_winsys *winsys) in llvmpipe_create_screen() argument 1046 screen->winsys = winsys; in llvmpipe_create_screen()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_dri_vgem.c | 49 struct sw_winsys *winsys = kms_dri_create_winsys(fd); in vl_vgem_drm_screen_create() local 50 if (winsys == NULL) in vl_vgem_drm_screen_create() 53 vscreen->pscreen = sw_screen_create(winsys); in vl_vgem_drm_screen_create()
|
/third_party/mesa3d/src/gallium/targets/graw-gdi/ |
D | graw_gdi.c | 67 struct sw_winsys *winsys = NULL; in graw_create_window_and_screen() local 78 winsys = gdi_create_sw_winsys(); in graw_create_window_and_screen() 79 if (winsys == NULL) in graw_create_window_and_screen() 82 screen = sw_screen_create(winsys); in graw_create_window_and_screen()
|