Searched refs:whandle (Results 1 - 25 of 44) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_screen.c82 struct winsys_handle *whandle,
89 ret = nouveau_bo_name_ref(dev, whandle->handle, &bo);
92 __FUNCTION__, whandle->handle, ret);
96 *out_stride = whandle->stride;
105 struct winsys_handle *whandle)
107 whandle->stride = stride;
109 if (whandle->type == DRM_API_HANDLE_TYPE_SHARED) {
110 return nouveau_bo_name_get(bo, &whandle->handle) == 0;
111 } else if (whandle->type == DRM_API_HANDLE_TYPE_KMS) {
112 whandle
81 nouveau_screen_bo_from_handle(struct pipe_screen *pscreen, struct winsys_handle *whandle, unsigned *out_stride) argument
102 nouveau_screen_bo_get_handle(struct pipe_screen *pscreen, struct nouveau_bo *bo, unsigned stride, struct winsys_handle *whandle) argument
[all...]
H A Dnouveau_screen.h56 struct winsys_handle *whandle);
59 struct winsys_handle *whandle,
/external/mesa3d/src/gallium/state_trackers/gbm/
H A Dgbm_drm.c112 struct winsys_handle whandle; local
161 memset(&whandle, 0, sizeof(whandle));
162 whandle.type = DRM_API_HANDLE_TYPE_KMS;
163 gdrm->screen->resource_get_handle(gdrm->screen, bo->resource, &whandle);
165 bo->base.base.handle.u32 = whandle.handle;
166 bo->base.base.stride = whandle.stride;
179 struct winsys_handle whandle; local
211 memset(&whandle, 0, sizeof(whandle));
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource.c22 struct winsys_handle *whandle)
27 return i915_texture_from_handle(screen, template, whandle);
20 i915_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *template, struct winsys_handle *whandle) argument
H A Di915_winsys.h171 struct winsys_handle *whandle,
181 struct winsys_handle *whandle,
H A Di915_resource.h119 struct winsys_handle *whandle);
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_resource.c38 struct winsys_handle *whandle)
43 return si_texture_from_handle(screen, templ, whandle);
36 r600_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *templ, struct winsys_handle *whandle) argument
H A Dr600_resource.h68 struct winsys_handle *whandle);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource.c49 struct winsys_handle *whandle)
54 return svga_texture_from_handle(screen, template, whandle);
47 svga_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *template, struct winsys_handle *whandle) argument
H A Dsvga_resource_texture.h125 struct winsys_handle *whandle);
H A Dsvga_winsys.h202 struct winsys_handle *whandle,
213 struct winsys_handle *whandle);
/external/mesa3d/src/gallium/include/state_tracker/
H A Dsw_winsys.h101 struct winsys_handle *whandle,
110 struct winsys_handle *whandle );
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_dri.c51 struct winsys_handle *whandle,
57 struct winsys_handle *whandle);
154 struct winsys_handle *whandle,
172 req->sid = whandle->handle;
180 whandle->handle, ret, strerror(-ret));
187 whandle->handle, rep->mip_levels[0]);
195 whandle->handle, i);
207 vsrf->sid = whandle->handle;
214 vmw_ioctl_surface_destroy(vws, whandle->handle);
222 struct winsys_handle *whandle)
153 vmw_drm_surface_from_handle(struct svga_winsys_screen *sws, struct winsys_handle *whandle, SVGA3dSurfaceFormat *format) argument
219 vmw_drm_surface_get_handle(struct svga_winsys_screen *sws, struct svga_winsys_surface *surface, unsigned stride, struct winsys_handle *whandle) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/dri/drm/
H A Ddri2.c212 struct winsys_handle whandle; local
233 memset(&whandle, 0, sizeof(whandle));
276 whandle.handle = buf->name;
277 whandle.stride = buf->pitch;
281 &templ, &whandle);
300 struct winsys_handle whandle; local
355 memset(&whandle, 0, sizeof(whandle));
356 whandle
440 struct winsys_handle whandle; local
586 struct winsys_handle whandle; local
[all...]
/external/mesa3d/src/gallium/winsys/i915/drm/
H A Di915_drm_buffer.c93 struct winsys_handle *whandle,
105 buf->bo = drm_intel_bo_gem_create_from_name(idws->gem_manager, "gallium3d_from_handle", whandle->handle);
107 buf->flink = whandle->handle;
114 *stride = whandle->stride;
127 struct winsys_handle *whandle,
132 if (whandle->type == DRM_API_HANDLE_TYPE_SHARED) {
139 whandle->handle = buf->flink;
140 } else if (whandle->type == DRM_API_HANDLE_TYPE_KMS) {
141 whandle->handle = buf->bo->handle;
147 whandle
92 i915_drm_buffer_from_handle(struct i915_winsys *iws, struct winsys_handle *whandle, enum i915_winsys_buffer_tile *tiling, unsigned *stride) argument
125 i915_drm_buffer_get_handle(struct i915_winsys *iws, struct i915_winsys_buffer *buffer, struct winsys_handle *whandle, unsigned stride) argument
[all...]
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_resource.c22 struct winsys_handle *whandle)
28 templ, whandle);
20 nvc0_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *templ, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_texture.h65 struct winsys_handle *whandle);
70 struct winsys_handle *whandle);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_resource.c43 struct winsys_handle *whandle)
48 return r600_texture_from_handle(screen, templ, whandle);
41 r600_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *templ, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/winsys/sw/null/
H A Dnull_sw_winsys.c97 struct winsys_handle *whandle,
107 struct winsys_handle *whandle)
95 null_sw_displaytarget_from_handle(struct sw_winsys *winsys, const struct pipe_resource *templet, struct winsys_handle *whandle, unsigned *stride) argument
105 null_sw_displaytarget_get_handle(struct sw_winsys *winsys, struct sw_displaytarget *dt, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/winsys/sw/wayland/
H A Dwayland_sw_winsys.c206 struct winsys_handle *whandle,
219 wldt->fd = whandle->fd;
220 wldt->stride = whandle->stride;
240 struct winsys_handle *whandle)
244 whandle->fd = wldt->fd;
245 whandle->stride = wldt->stride;
246 whandle->size = wldt->size;
204 wayland_displaytarget_from_handle(struct sw_winsys *ws, const struct pipe_resource *templet, struct winsys_handle *whandle, unsigned *stride) argument
238 wayland_displaytarget_get_handle(struct sw_winsys *ws, struct sw_displaytarget *dt, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/winsys/sw/android/
H A Dandroid_sw_winsys.cpp155 struct winsys_handle *whandle,
159 (struct android_winsys_handle *) whandle;
185 struct winsys_handle *whandle)
153 android_displaytarget_from_handle(struct sw_winsys *ws, const struct pipe_resource *templ, struct winsys_handle *whandle, unsigned *stride) argument
183 android_displaytarget_get_handle(struct sw_winsys *ws, struct sw_displaytarget *dt, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_resource.c25 struct winsys_handle *whandle)
30 return nv50_miptree_from_handle(screen, templ, whandle);
23 nv50_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *templ, struct winsys_handle *whandle) argument
H A Dnv50_resource.h78 struct winsys_handle *whandle);
83 struct winsys_handle *whandle);
/external/mesa3d/src/gallium/winsys/sw/wrapper/
H A Dwrapper_sw_winsys.c167 struct winsys_handle *whandle,
173 tex = wsw->screen->resource_from_handle(wsw->screen, templ, whandle);
183 struct winsys_handle *whandle)
189 return wsw->screen->resource_get_handle(wsw->screen, tex, whandle);
165 wsw_dt_from_handle(struct sw_winsys *ws, const struct pipe_resource *templ, struct winsys_handle *whandle, unsigned *stride) argument
181 wsw_dt_get_handle(struct sw_winsys *ws, struct sw_displaytarget *dt, struct winsys_handle *whandle) argument
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tracker.c440 struct winsys_handle whandle; local
445 memset(&whandle, 0, sizeof(whandle));
446 whandle.type = DRM_API_HANDLE_TYPE_SHARED;
447 res = screen->resource_get_handle(screen, srf->tex, &whandle);
451 *handle = whandle.handle;
452 *stride = whandle.stride;

Completed in 755 milliseconds

12