Lines Matching refs:buffer

839       /* Having no aux buffer is only okay if there's no modifier with aux. */
850 * "When MCS buffer is enabled and bound to MSRT, it is required
853 * Since we only use the MCS buffer for rendering, we just clear it
902 /* Create the aux_state for the auxiliary buffer. */
911 * Initialize the aux buffer contents.
1017 * Also add some padding to make sure the fast clear color state buffer
1082 /* Some buffer operations want some amount of alignment. The largest
1083 * buffer texture pixel size is 4 * 4 = 16B. OpenCL data is also supposed
1112 const char *name = templ->target == PIPE_BUFFER ? "buffer" : "miptree";
1185 /* Modifiers require the aux data to be in the same buffer as the main
1190 /* Allocate space for the aux buffer. */
1196 /* Allocate space for the extra aux buffer. */
1205 * Also add some padding to make sure the fast clear color state buffer
1491 /* Stencil offset in the buffer without aux. */
1813 /* If this is a buffer, stride should be 0 - no need to special case */
1894 /* Rebind the buffer, replacing any state referring to the old BO's
1919 * keep using the same underlying buffer object.
1942 /* Rebind the buffer, replacing any state referring to the old BO's
1963 /* Account for extra alignment padding in staging buffer */
2066 * Get pointer offset into stencil buffer.
2068 * The stencil buffer is W tiled. Since the GTT is incapable of W fencing, we
2139 free(map->buffer);
2153 /* The tiling and detiling functions require that the linear buffer has
2155 * over-allocate the linear buffer to get the proper alignment.
2157 map->buffer = map->ptr = malloc(xfer->layer_stride * box->depth);
2158 assert(map->buffer);
2163 * temporary buffer back out.
2239 os_free_aligned(map->buffer);
2240 map->buffer = map->ptr = NULL;
2257 /* The tiling and detiling functions require that the linear buffer has
2259 * over-allocate the linear buffer to get the proper alignment.
2261 map->buffer =
2263 assert(map->buffer);
2264 map->ptr = (char *)map->buffer + (x1 & 0xf);
2329 /* If we're writing to a section of the buffer that hasn't even been
2352 /* Replace the backing storage with a fresh buffer for non-async maps */
2423 /* GPU copies are not useful for buffer reads. Instead of stalling to
2424 * read from the original buffer, we'd simply copy it to a temporary...
2425 * then stall (a bit longer) to read from that buffer.
2453 * resolving, we copy to/from a linear temporary buffer using the GPU.
2560 * do a direct mapping, or a simple linear staging buffer.