Lines Matching defs:handle
92 src.handle = src_handle;
97 dst.handle = dst_handle;
159 svga_texture_copy_region(svga, src_tex->handle,
166 src_tex->handle,
196 struct svga_winsys_surface *handle = NULL;
239 handle = tex->backed_handle;
243 handle = svga_screen_surface_create(ss, bind_flags, PIPE_USAGE_DEFAULT,
248 tex->backed_handle = handle;
253 if (!handle) {
258 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture view)\n", handle);
264 svga_texture_copy_handle_resource(svga, tex, handle,
274 return handle;
395 s->handle = svga_texture_view_surface(svga, tex, bind, flags,
400 if (!s->handle) {
416 s->handle = tex->handle;
490 else if (s->backed->handle != tex->handle &&
500 assert(bs->handle);
515 svga_texture_copy_handle_resource(svga, tex, bs->handle,
555 if (svga_check_sampler_view_resource_collision(svga, s->handle, shader)) {
558 s->handle);
586 assert(stex->handle);
593 SVGA_RETRY(svga, SVGA3D_InvalidateGBSurface(svga->swc, stex->handle));
613 s->handle,
639 s->handle,
677 /* Destroy the surface handle if this is a backed handle and
680 if (s->handle != t->handle && s->handle != t->backed_handle) {
681 SVGA_DBG(DEBUG_DMA, "unref sid %p (tex surface)\n", s->handle);
684 &s->handle);
728 if (s->handle == tex->handle) {
743 if (s->handle == tex->handle)
804 if (s->handle != tex->handle) {
842 s->handle, srcSubResource, 0, 0, 0,
843 tex->handle, dstSubResource, 0, 0, zslice,
851 s->handle, 0, 0, 0, srcLevel,
853 tex->handle, 0, 0, zslice, dstLevel,
867 if (tex->backed_handle == s->handle) {
915 return s->dirty && s->handle != tex->handle;