Home
last modified time | relevance | path

Searched refs:winsys (Results 1 – 25 of 86) sorted by relevance

1234

/external/mesa3d/src/gallium/winsys/sw/null/
Dnull_sw_winsys.c74 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 …]
/external/mesa3d/src/gallium/winsys/sw/hgl/
Dhgl_sw_winsys.c78 hgl_winsys_destroy(struct sw_winsys* winsys) in hgl_winsys_destroy() argument
80 FREE(winsys); in hgl_winsys_destroy()
85 hgl_winsys_is_displaytarget_format_supported(struct sw_winsys* winsys, in hgl_winsys_is_displaytarget_format_supported() argument
107 hgl_winsys_displaytarget_create(struct sw_winsys* winsys, in hgl_winsys_displaytarget_create() argument
142 hgl_winsys_displaytarget_destroy(struct sw_winsys* winsys, in hgl_winsys_displaytarget_destroy() argument
159 hgl_winsys_displaytarget_from_handle(struct sw_winsys* winsys, in hgl_winsys_displaytarget_from_handle() argument
168 hgl_winsys_displaytarget_get_handle(struct sw_winsys* winsys, in hgl_winsys_displaytarget_get_handle() argument
176 hgl_winsys_displaytarget_map(struct sw_winsys* winsys, in hgl_winsys_displaytarget_map() argument
187 hgl_winsys_displaytarget_unmap(struct sw_winsys* winsys, in hgl_winsys_displaytarget_unmap() argument
195 hgl_winsys_displaytarget_display(struct sw_winsys* winsys, in hgl_winsys_displaytarget_display() argument
[all …]
/external/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c111 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 …]
/external/mesa3d/src/gallium/
DAndroid.mk37 SUBDIRS += winsys/sw/dri drivers/softpipe
38 SUBDIRS += winsys/freedreno/drm drivers/freedreno
39 SUBDIRS += winsys/i915/drm drivers/i915
40 SUBDIRS += winsys/nouveau/drm drivers/nouveau
41 SUBDIRS += winsys/pl111/drm drivers/pl111
42 SUBDIRS += winsys/radeon/drm drivers/r300
43 SUBDIRS += winsys/radeon/drm drivers/r600
44 SUBDIRS += winsys/radeon/drm winsys/amdgpu/drm drivers/radeonsi drivers/radeon
45 SUBDIRS += winsys/vc4/drm drivers/vc4
46 SUBDIRS += winsys/virgl/drm winsys/virgl/vtest drivers/virgl
[all …]
DMakefile.am22 SUBDIRS += drivers/freedreno winsys/freedreno/drm
27 SUBDIRS += drivers/i915 winsys/i915/drm
32 SUBDIRS += drivers/nouveau winsys/nouveau/drm
37 SUBDIRS += drivers/svga winsys/svga/drm
58 SUBDIRS += winsys/amdgpu/drm
63 SUBDIRS += winsys/radeon/drm
67 SUBDIRS += drivers/etnaviv winsys/etnaviv/drm
71 SUBDIRS += drivers/imx winsys/imx/drm
75 SUBDIRS += drivers/pl111 winsys/pl111/drm
94 SUBDIRS += drivers/vc4 winsys/vc4/drm
[all …]
Dmeson.build23 inc_gallium_winsys = include_directories('winsys')
31 subdir('winsys/sw/null')
33 subdir('winsys/sw/dri')
38 subdir('winsys/sw/kms-dri')
42 subdir('winsys/sw/wrapper')
60 subdir('winsys/radeon/drm')
73 subdir('winsys/amdgpu/drm')
80 subdir('winsys/nouveau/drm')
86 subdir('winsys/freedreno/drm')
92 subdir('winsys/vc4/drm')
[all …]
DSConscript29 'winsys/sw/null/SConscript',
30 'winsys/sw/wrapper/SConscript',
35 'winsys/sw/xlib/SConscript',
40 'winsys/sw/gdi/SConscript',
45 'winsys/sw/hgl/SConscript',
50 'winsys/sw/dri/SConscript',
51 'winsys/svga/drm/SConscript',
DAutomake.inc19 -I$(top_srcdir)/src/gallium/winsys \
30 -I$(top_srcdir)/src/gallium/winsys \
41 -I$(top_srcdir)/src/gallium/winsys \
72 $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
73 $(top_builddir)/src/gallium/winsys/sw/wrapper/libwsw.la
77 $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la
82 $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la \
/external/mesa3d/src/gallium/targets/libgl-gdi/
Dlibgl_gdi.c67 struct sw_winsys *winsys; in gdi_screen_create() local
69 winsys = gdi_create_sw_winsys(); in gdi_screen_create()
70 if(!winsys) in gdi_screen_create()
85 screen = llvmpipe_create_screen( winsys ); in gdi_screen_create()
92 screen = swr_create_screen( winsys ); in gdi_screen_create()
100 screen = softpipe_create_screen( winsys ); in gdi_screen_create()
109 winsys->destroy(winsys); in gdi_screen_create()
130 struct sw_winsys *winsys = NULL; in gdi_present() local
135 winsys = llvmpipe_screen(screen)->winsys; in gdi_present()
137 gdi_sw_display(winsys, dt, hDC); in gdi_present()
[all …]
/external/mesa3d/src/amd/vulkan/
DMakefile.sources23 winsys/amdgpu/radv_amdgpu_bo.c \
24 winsys/amdgpu/radv_amdgpu_bo.h \
25 winsys/amdgpu/radv_amdgpu_cs.c \
26 winsys/amdgpu/radv_amdgpu_cs.h \
27 winsys/amdgpu/radv_amdgpu_surface.c \
28 winsys/amdgpu/radv_amdgpu_surface.h \
29 winsys/amdgpu/radv_amdgpu_winsys.c \
30 winsys/amdgpu/radv_amdgpu_winsys.h \
31 winsys/amdgpu/radv_amdgpu_winsys_public.h
Dmeson.build51 'winsys/amdgpu/radv_amdgpu_bo.c',
52 'winsys/amdgpu/radv_amdgpu_bo.h',
53 'winsys/amdgpu/radv_amdgpu_cs.c',
54 'winsys/amdgpu/radv_amdgpu_cs.h',
55 'winsys/amdgpu/radv_amdgpu_surface.c',
56 'winsys/amdgpu/radv_amdgpu_surface.h',
57 'winsys/amdgpu/radv_amdgpu_winsys.c',
58 'winsys/amdgpu/radv_amdgpu_winsys.h',
59 'winsys/amdgpu/radv_amdgpu_winsys_public.h',
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c134 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 …]
Dsp_screen.c385 struct sw_winsys *winsys = softpipe_screen(screen)->winsys; in softpipe_is_format_supported() local
408 if(!winsys->is_displaytarget_format_supported(winsys, bind, format)) in softpipe_is_format_supported()
474 struct sw_winsys *winsys = sp_screen->winsys; in softpipe_destroy_screen() local
476 if(winsys->destroy) in softpipe_destroy_screen()
477 winsys->destroy(winsys); in softpipe_destroy_screen()
493 struct sw_winsys *winsys = screen->winsys; in softpipe_flush_frontbuffer() local
498 winsys->displaytarget_display(winsys, texture->dt, context_private, sub_box); in softpipe_flush_frontbuffer()
565 softpipe_create_screen(struct sw_winsys *winsys) in softpipe_create_screen() argument
572 screen->winsys = winsys; in softpipe_create_screen()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.c206 struct sw_winsys *winsys = screen->winsys; in llvmpipe_displaytarget_layout() local
214 lpr->dt = winsys->displaytarget_create(winsys, in llvmpipe_displaytarget_layout()
226 void *map = winsys->displaytarget_map(winsys, lpr->dt, in llvmpipe_displaytarget_layout()
232 winsys->displaytarget_unmap(winsys, lpr->dt); in llvmpipe_displaytarget_layout()
325 struct sw_winsys *winsys = screen->winsys; in llvmpipe_resource_destroy() local
326 winsys->displaytarget_destroy(winsys, lpr->dt); in llvmpipe_resource_destroy()
371 struct sw_winsys *winsys = screen->winsys; in llvmpipe_resource_map() local
385 map = winsys->displaytarget_map(winsys, lpr->dt, dt_usage); in llvmpipe_resource_map()
416 struct sw_winsys *winsys = lp_screen->winsys; in llvmpipe_resource_unmap() local
421 winsys->displaytarget_unmap(winsys, lpr->dt); in llvmpipe_resource_unmap()
[all …]
Dlp_screen.c447 struct sw_winsys *winsys = screen->winsys; in llvmpipe_is_format_supported() local
507 if(!winsys->is_displaytarget_format_supported(winsys, bind, format)) in llvmpipe_is_format_supported()
553 struct sw_winsys *winsys = screen->winsys; in llvmpipe_flush_frontbuffer() local
558 winsys->displaytarget_display(winsys, texture->dt, context_private, sub_box); in llvmpipe_flush_frontbuffer()
565 struct sw_winsys *winsys = screen->winsys; in llvmpipe_destroy_screen() local
572 if(winsys->destroy) in llvmpipe_destroy_screen()
573 winsys->destroy(winsys); in llvmpipe_destroy_screen()
627 llvmpipe_create_screen(struct sw_winsys *winsys) in llvmpipe_create_screen() argument
648 screen->winsys = winsys; in llvmpipe_create_screen()
/external/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_sw.c58 .winsys = {
142 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_sw_probe_dri()
143 if (strcmp(sdev->dd->winsys[i].name, "dri") == 0) { in pipe_loader_sw_probe_dri()
144 sdev->ws = sdev->dd->winsys[i].create_winsys(drisw_lf); in pipe_loader_sw_probe_dri()
176 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_sw_probe_kms()
177 if (strcmp(sdev->dd->winsys[i].name, "kms_dri") == 0) { in pipe_loader_sw_probe_kms()
178 sdev->ws = sdev->dd->winsys[i].create_winsys(fd); in pipe_loader_sw_probe_kms()
207 for (i = 0; sdev->dd->winsys[i].name; i++) { in pipe_loader_sw_probe_null()
208 if (strcmp(sdev->dd->winsys[i].name, "null") == 0) { in pipe_loader_sw_probe_null()
209 sdev->ws = sdev->dd->winsys[i].create_winsys(); in pipe_loader_sw_probe_null()
[all …]
/external/mesa3d/src/gallium/auxiliary/target-helpers/
Dsw_helper.h33 sw_screen_create_named(struct sw_winsys *winsys, const char *driver) in sw_screen_create_named() argument
39 screen = llvmpipe_create_screen(winsys); in sw_screen_create_named()
45 vws = virgl_vtest_winsys_wrap(winsys); in sw_screen_create_named()
52 screen = softpipe_create_screen(winsys); in sw_screen_create_named()
57 screen = swr_create_screen(winsys); in sw_screen_create_named()
65 sw_screen_create(struct sw_winsys *winsys) in sw_screen_create() argument
81 return sw_screen_create_named(winsys, driver); in sw_screen_create()
Dinline_sw_helper.h31 sw_screen_create_named(struct sw_winsys *winsys, const char *driver) in sw_screen_create_named() argument
37 screen = llvmpipe_create_screen(winsys); in sw_screen_create_named()
43 vws = virgl_vtest_winsys_wrap(winsys); in sw_screen_create_named()
50 screen = softpipe_create_screen(winsys); in sw_screen_create_named()
55 screen = swr_create_screen(winsys); in sw_screen_create_named()
63 sw_screen_create(struct sw_winsys *winsys) in sw_screen_create() argument
79 return sw_screen_create_named(winsys, driver); in sw_screen_create()
/external/mesa3d/src/gallium/targets/libgl-xlib/
Dxlib.c51 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()
/external/mesa3d/src/gallium/targets/osmesa/
Dtarget.c37 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()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_screen.cpp91 struct sw_winsys *winsys = screen->winsys; in swr_is_format_supported() local
112 if (!winsys->is_displaytarget_format_supported(winsys, bind, format)) in swr_is_format_supported()
634 struct sw_winsys *winsys = screen->winsys; in swr_displaytarget_layout() local
641 dt = winsys->displaytarget_create(winsys, in swr_displaytarget_layout()
651 void *map = winsys->displaytarget_map(winsys, dt, 0); in swr_displaytarget_layout()
660 winsys->displaytarget_unmap(winsys, dt); in swr_displaytarget_layout()
979 struct sw_winsys *winsys = screen->winsys; in swr_resource_destroy() local
980 winsys->displaytarget_destroy(winsys, spr->display_target); in swr_resource_destroy()
1024 struct sw_winsys *winsys = screen->winsys; in swr_flush_frontbuffer() local
1042 void *map = winsys->displaytarget_map(winsys, spr->display_target, in swr_flush_frontbuffer()
[all …]
/external/mesa3d/src/gallium/targets/pipe-loader/
DMakefile.am30 -I$(top_srcdir)/src/gallium/winsys \
88 $(top_builddir)/src/gallium/winsys/i915/drm/libi915drm.la \
102 $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \
116 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
130 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
144 $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
145 $(top_builddir)/src/gallium/winsys/amdgpu/drm/libamdgpuwinsys.la \
163 $(top_builddir)/src/gallium/winsys/freedreno/drm/libfreedrenodrm.la \
178 $(top_builddir)/src/gallium/winsys/svga/drm/libsvgadrm.la \
/external/mesa3d/src/gallium/targets/graw-gdi/
Dgraw_gdi.c67 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()
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c83 dri_sw_displaytarget_create(struct sw_winsys *winsys, in dri_sw_displaytarget_create() argument
163 dri_sw_displaytarget_from_handle(struct sw_winsys *winsys, in dri_sw_displaytarget_from_handle() argument
173 dri_sw_displaytarget_get_handle(struct sw_winsys *winsys, in dri_sw_displaytarget_get_handle() argument
212 dri_destroy_sw_winsys(struct sw_winsys *winsys) in dri_destroy_sw_winsys() argument
214 FREE(winsys); in dri_destroy_sw_winsys()
/external/mesa3d/src/gallium/targets/graw-xlib/
Dgraw_xlib.c27 struct sw_winsys *winsys = NULL; in graw_create_screen() local
32 winsys = xlib_create_sw_winsys( graw.display ); in graw_create_screen()
33 if (winsys == NULL) in graw_create_screen()
36 screen = sw_screen_create( winsys ); in graw_create_screen()

1234