/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_screen.c | 82 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 D | nouveau_screen.h | 56 struct winsys_handle *whandle); 59 struct winsys_handle *whandle,
|
/external/mesa3d/src/gallium/state_trackers/gbm/ |
H A D | gbm_drm.c | 112 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 D | i915_resource.c | 22 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 D | i915_winsys.h | 171 struct winsys_handle *whandle, 181 struct winsys_handle *whandle,
|
H A D | i915_resource.h | 119 struct winsys_handle *whandle);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | r600_resource.c | 38 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 D | r600_resource.h | 68 struct winsys_handle *whandle);
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource.c | 49 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 D | svga_resource_texture.h | 125 struct winsys_handle *whandle);
|
H A D | svga_winsys.h | 202 struct winsys_handle *whandle, 213 struct winsys_handle *whandle);
|
/external/mesa3d/src/gallium/include/state_tracker/ |
H A D | sw_winsys.h | 101 struct winsys_handle *whandle, 110 struct winsys_handle *whandle );
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_screen_dri.c | 51 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 D | dri2.c | 212 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 D | i915_drm_buffer.c | 93 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 D | nvc0_resource.c | 22 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 D | r300_texture.h | 65 struct winsys_handle *whandle); 70 struct winsys_handle *whandle);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_resource.c | 43 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 D | null_sw_winsys.c | 97 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 D | wayland_sw_winsys.c | 206 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 D | android_sw_winsys.cpp | 155 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 D | nv50_resource.c | 25 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 D | nv50_resource.h | 78 struct winsys_handle *whandle); 83 struct winsys_handle *whandle);
|
/external/mesa3d/src/gallium/winsys/sw/wrapper/ |
H A D | wrapper_sw_winsys.c | 167 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 D | xa_tracker.c | 440 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;
|