Home
last modified time | relevance | path

Searched refs:sws (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen.c100 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_paramf() local
115 if(!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_ANISOTROPY, &result)) in svga_get_paramf()
137 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_param() local
154 if(!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_RENDER_TARGETS, &result)) in svga_get_param()
178 if (sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_WIDTH, &result)) in svga_get_param()
182 if (sws->get_cap(sws, SVGA3D_DEVCAP_MAX_TEXTURE_HEIGHT, &result)) in svga_get_param()
190 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_VOLUME_EXTENT, &result)) in svga_get_param()
270 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_shader_param() local
292 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_FRAGMENT_SHADER_TEMPS, &result)) in svga_get_shader_param()
328 if (!sws->get_cap(sws, SVGA3D_DEVCAP_MAX_VERTEX_SHADER_INSTRUCTIONS, &result)) in svga_get_shader_param()
[all …]
Dsvga_screen_cache.c96 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_lookup() local
119 sws->fence_signalled(sws, entry->fence, 0) == 0) { in svga_screen_cache_lookup()
122 assert(sws->surface_is_flushed(sws, entry->handle)); in svga_screen_cache_lookup()
169 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_shrink() local
182 sws->surface_reference(sws, &entry->handle, NULL); in svga_screen_cache_shrink()
206 struct svga_winsys_screen *sws = svgascreen->sws; in svga_screen_cache_add() local
224 sws->surface_reference(sws, &handle, NULL); in svga_screen_cache_add()
242 sws->surface_reference(sws, &handle, NULL); in svga_screen_cache_add()
264 sws->surface_reference(sws, &entry->handle, NULL); in svga_screen_cache_add()
285 sws->surface_reference(sws, &handle, NULL); in svga_screen_cache_add()
[all …]
Dsvga_winsys.h135 (*destroy)(struct svga_winsys_screen *sws);
138 (*get_hw_version)(struct svga_winsys_screen *sws);
141 (*get_cap)(struct svga_winsys_screen *sws,
156 (*context_create)(struct svga_winsys_screen *sws);
189 (*surface_create)(struct svga_winsys_screen *sws,
201 (*surface_from_handle)(struct svga_winsys_screen *sws,
210 (*surface_get_handle)(struct svga_winsys_screen *sws,
219 (*surface_is_flushed)(struct svga_winsys_screen *sws,
227 (*surface_reference)(struct svga_winsys_screen *sws,
240 (*buffer_create)( struct svga_winsys_screen *sws,
[all …]
Dsvga_pipe_query.c73 struct svga_winsys_screen *sws = svgascreen->sws; in svga_create_query() local
91 sq->queryResult = (SVGA3dQueryResult *)sws->buffer_map(sws, in svga_create_query()
106 sws->buffer_unmap(sws, sq->hwbuf); in svga_create_query()
111 sws->buffer_destroy(sws, sq->hwbuf); in svga_create_query()
122 struct svga_winsys_screen *sws = svgascreen->sws; in svga_destroy_query() local
126 sws->buffer_destroy(sws, sq->hwbuf); in svga_destroy_query()
127 sws->fence_reference(sws, &sq->fence, NULL); in svga_destroy_query()
135 struct svga_winsys_screen *sws = svgascreen->sws; in svga_begin_query() local
165 sws->fence_reference(sws, &sq->fence, NULL); in svga_begin_query()
214 struct svga_winsys_screen *sws = svgascreen->sws; in svga_get_query_result() local
[all …]
Dsvga_resource_texture.c110 struct svga_winsys_screen *sws = screen->sws; in svga_transfer_dma() local
131 sws->fence_finish(sws, fence, 0); in svga_transfer_dma()
132 sws->fence_reference(sws, &fence, NULL); in svga_transfer_dma()
166 hw = sws->buffer_map(sws, st->hwbuf, usage); in svga_transfer_dma()
170 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
185 sws->fence_finish(sws, fence, 0); in svga_transfer_dma()
187 hw = sws->buffer_map(sws, st->hwbuf, PIPE_TRANSFER_READ); in svga_transfer_dma()
191 sws->buffer_unmap(sws, st->hwbuf); in svga_transfer_dma()
204 struct svga_winsys_screen *sws = svga_winsys_screen(texture->screen); in svga_texture_get_handle() local
211 return sws->surface_get_handle(sws, svga_texture(texture)->handle, stride, whandle); in svga_texture_get_handle()
[all …]
Dsvga_resource_buffer_upload.c57 struct svga_winsys_screen *sws = svgascreen->sws; in svga_winsys_buffer_create() local
61 buf = sws->buffer_create(sws, alignment, usage, size); in svga_winsys_buffer_create()
68 buf = sws->buffer_create(sws, alignment, usage, size); in svga_winsys_buffer_create()
78 struct svga_winsys_screen *sws = ss->sws; in svga_buffer_destroy_hw_storage() local
83 sws->buffer_destroy(sws, sbuf->hwbuf); in svga_buffer_destroy_hw_storage()
102 struct svga_winsys_screen *sws = ss->sws; in svga_buffer_create_hw_storage() local
107 sbuf->hwbuf = sws->buffer_create(sws, alignment, usage, size); in svga_buffer_create_hw_storage()
430 map = ss->sws->buffer_map(ss->sws, sbuf->hwbuf, PIPE_TRANSFER_WRITE); in svga_buffer_update_hw()
439 ss->sws->buffer_unmap(ss->sws, sbuf->hwbuf); in svga_buffer_update_hw()
468 struct svga_winsys_screen *sws = ss->sws; in svga_buffer_upload_piecewise() local
[all …]
Dsvga_resource_buffer.c210 struct svga_winsys_screen *sws = ss->sws; in svga_buffer_transfer_map() local
212 map = sws->buffer_map(sws, sbuf->hwbuf, transfer->usage); in svga_buffer_transfer_map()
252 struct svga_winsys_screen *sws = ss->sws; in svga_buffer_transfer_unmap() local
263 sws->buffer_unmap(sws, sbuf->hwbuf); in svga_buffer_transfer_unmap()
Dsvga_context.c100 svga->swc = svgascreen->sws->context_create(svgascreen->sws); in svga_context_create()
241 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); in svga_context_flush()
243 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL); in svga_context_flush()
Dsvga_format.c565 struct svga_winsys_screen *sws = ss->sws; in svga_get_format_cap() local
568 if (sws->get_cap(sws, entry->index, &result)) { in svga_get_format_cap()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c53 vmw_svga_winsys_buffer_create(struct svga_winsys_screen *sws, in vmw_svga_winsys_buffer_create() argument
58 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); in vmw_svga_winsys_buffer_create()
92 vmw_svga_winsys_buffer_map(struct svga_winsys_screen *sws, in vmw_svga_winsys_buffer_map() argument
96 (void)sws; in vmw_svga_winsys_buffer_map()
102 vmw_svga_winsys_buffer_unmap(struct svga_winsys_screen *sws, in vmw_svga_winsys_buffer_unmap() argument
105 (void)sws; in vmw_svga_winsys_buffer_unmap()
111 vmw_svga_winsys_buffer_destroy(struct svga_winsys_screen *sws, in vmw_svga_winsys_buffer_destroy() argument
115 (void)sws; in vmw_svga_winsys_buffer_destroy()
121 vmw_svga_winsys_fence_reference(struct svga_winsys_screen *sws, in vmw_svga_winsys_fence_reference() argument
125 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); in vmw_svga_winsys_fence_reference()
[all …]
Dvmw_screen_dri.c50 vmw_drm_surface_from_handle(struct svga_winsys_screen *sws,
54 vmw_drm_surface_get_handle(struct svga_winsys_screen *sws,
153 vmw_drm_surface_from_handle(struct svga_winsys_screen *sws, in vmw_drm_surface_from_handle() argument
159 struct vmw_winsys_screen *vws = vmw_winsys_screen(sws); in vmw_drm_surface_from_handle()
219 vmw_drm_surface_get_handle(struct svga_winsys_screen *sws, in vmw_drm_surface_get_handle() argument
/external/mesa3d/src/gallium/targets/egl-static/
Degl_pipe.c94 struct radeon_winsys *sws; in pipe_r300_create_screen() local
97 sws = radeon_drm_winsys_create(fd); in pipe_r300_create_screen()
98 if (!sws) in pipe_r300_create_screen()
101 screen = r300_screen_create(sws); in pipe_r300_create_screen()
163 struct svga_winsys_screen *sws; in pipe_vmwgfx_create_screen() local
166 sws = svga_drm_winsys_screen_create(fd); in pipe_vmwgfx_create_screen()
167 if (!sws) in pipe_vmwgfx_create_screen()
170 screen = svga_screen_create(sws); in pipe_vmwgfx_create_screen()
/external/mesa3d/src/gallium/auxiliary/target-helpers/
Dinline_wrapper_sw_helper.h16 struct sw_winsys *sws; in sw_screen_wrap() local
24 sws = wrapper_sw_winsys_wrap_pipe_screen(screen); in sw_screen_wrap()
25 if (!sws) in sw_screen_wrap()
28 sw_screen = sw_screen_create_named(sws, driver); in sw_screen_wrap()
36 return wrapper_sw_winsys_dewrap_pipe_screen(sws); in sw_screen_wrap()
/external/drm_gralloc/
Dgralloc_drm_pipe.c319 struct radeon_winsys *sws = radeon_drm_winsys_create(pm->fd); in pipe_init_screen() local
321 if (sws) { in pipe_init_screen()
322 screen = r300_screen_create(sws); in pipe_init_screen()
324 sws->destroy(sws); in pipe_init_screen()
330 struct radeon_winsys *sws = radeon_drm_winsys_create(pm->fd); in pipe_init_screen() local
332 if (sws) { in pipe_init_screen()
333 screen = r600_screen_create(sws); in pipe_init_screen()
335 sws->destroy(sws); in pipe_init_screen()
341 struct svga_winsys_screen *sws = in pipe_init_screen() local
344 if (sws) { in pipe_init_screen()
[all …]
/external/mesa3d/src/gallium/targets/dri-r300/
Dtarget.c9 struct radeon_winsys *sws; in create_screen() local
12 sws = radeon_drm_winsys_create(fd); in create_screen()
13 if (!sws) in create_screen()
16 screen = r300_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/xorg-r600/
Dtarget.c10 struct radeon_winsys *sws; in create_screen() local
13 sws = radeon_drm_winsys_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = r600_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/xorg-r300/
Dtarget.c10 struct radeon_winsys *sws; in create_screen() local
13 sws = radeon_drm_winsys_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = r300_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/xa-vmwgfx/
Dvmw_target.c10 struct svga_winsys_screen *sws; in create_screen() local
13 sws = svga_drm_winsys_screen_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = svga_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/xorg-radeonsi/
Dtarget.c10 struct radeon_winsys *sws; in create_screen() local
13 sws = radeon_drm_winsys_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = radeonsi_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/pipe-loader/
Dpipe_vmwgfx.c10 struct svga_winsys_screen *sws; in create_screen() local
13 sws = svga_drm_winsys_screen_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = svga_screen_create(sws); in create_screen()
Dpipe_r300.c10 struct radeon_winsys *sws; in create_screen() local
13 sws = radeon_drm_winsys_create(fd); in create_screen()
14 if (!sws) in create_screen()
17 screen = r300_screen_create(sws); in create_screen()
/external/mesa3d/src/gallium/targets/dri-vmwgfx/
Dtarget.c11 struct svga_winsys_screen *sws; in create_screen() local
14 sws = svga_drm_winsys_screen_create(fd); in create_screen()
15 if (!sws) in create_screen()
18 screen = svga_screen_create(sws); in create_screen()
/external/curl/tests/server/
DMakefile.inc1 noinst_PROGRAMS = getpart resolve rtspd sockfilt sws tftpd fake_ntlm
57 sws.c \
D.gitignore6 sws
/external/e2fsprogs/lib/blkid/
Dprobe.c944 struct swap_id_block *sws; in probe_swap1() local
953 sws = (struct swap_id_block *) get_buffer(probe, 1024, 1024); in probe_swap1()
954 if (!sws) in probe_swap1()
959 (sws->sws_version != 1 || sws->sws_lastpage == 0)) in probe_swap1()
963 if (sws->sws_pad[32] == 0 && sws->sws_pad[33] == 0) { in probe_swap1()
964 if (sws->sws_volume[0]) in probe_swap1()
965 blkid_set_tag(probe->dev, "LABEL", sws->sws_volume, in probe_swap1()
966 sizeof(sws->sws_volume)); in probe_swap1()
967 if (sws->sws_uuid[0]) in probe_swap1()
968 set_uuid(probe->dev, sws->sws_uuid, 0); in probe_swap1()

12