Lines Matching defs:image
51 * width0, height0, depth0 are the dimensions of the level 0 image
202 * Check if a texture image can be pulled into a unified mipmap texture.
207 const struct gl_texture_image *image)
214 if (image->Border)
217 /* Check if this image's format matches the established texture's format.
219 if (st_mesa_format_to_pipe_format(st, image->TexFormat) != pt->format)
222 st_gl_texture_dims_to_pipe_dims(image->TexObject->Target,
223 image->Width, image->Height, image->Depth,
226 /* Test if this image's size matches what's expected in the
229 if (ptWidth != u_minify(pt->width0, image->Level) ||
230 ptHeight != u_minify(pt->height0, image->Level) ||
231 ptDepth != u_minify(pt->depth0, image->Level) ||
235 if (image->Level > pt->last_level)
243 * Map a texture image and return the address for a particular 2D face/slice/
247 * \param x, y, w, h the region of interest of the 2D image.
347 * Copy the image at level=0 in 'src' to the 'dst' resource at 'dstLevel'.
367 /* The source image size doesn't match the destination image size.
387 /* Loop over 3D image slices */
469 * Destroy bound image handles for the given stage.
495 * Destroy all bound image handles in the context.
535 * Create an image handle from an image unit.
598 * Make all bindless images bound to image units resident in the context.
610 /* Remove previous bound image handles for this stage. */
617 struct gl_bindless_image *image = &prog->sh.BindlessImages[i];
619 if (!image->bound)
622 /* Request a new image handle from the driver and make it resident. */
623 handle = st_create_image_handle_from_unit(st, prog, image->unit);
629 /* Overwrite the image unit value by the resident handle before uploading
632 *(uint64_t *)image->data = handle;