Lines Matching defs:view
201 "svga: Create surface view: layer %d zslice %d mips %d..%d\n",
242 SVGA_DBG(DEBUG_DMA, "surface_create for texture view\n");
258 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture view)\n", handle);
279 * A helper function to create a surface view.
281 * for the surface view.
362 "New backed surface view: resource %p, level %u layer %u z %u, %p\n",
392 /* When we clone the surface view resource, use the format used in
411 "New surface view: resource %p, level %u, layer %u, z %u, %p\n",
439 boolean view = FALSE;
444 view = TRUE;
448 view = TRUE;
451 view = TRUE;
454 view = FALSE;
456 surf = svga_create_surface_view(pipe, pt, surf_tmpl, view);
465 * Create an alternate surface view and clone the resource if specified
548 * target view and a shader resource view simultaneously.
549 * So first check if the resource bound to this surface view collides with
550 * a sampler view. If so, then we will clone this surface view and its
551 * associated resource. We will then use the cloned surface view for
570 * Create an alternate surface view for the specified context if the
571 * view was created for another context.
606 /* Create depth stencil view only if the resource is created
620 /* Create render target view only if the resource is created
626 /* Can't create RGBA render target view of a RGBX surface so adjust
627 * the view format. We do something similar for texture samplers in
671 /* Destroy the backed view surface if it exists */
689 * render target view or depth stencil view is destroyed from
691 * Similar to shader resource view, in this case, we will skip
740 * Note: we age the texture for backed surface view only when the
756 /* For VGPU10, mark the dirty bit in the rendertarget/depth stencil view surface.
861 /* Sync the surface view age with the texture age */