Lines Matching refs:buffer

217      * Creates a buffer in GPU memory. For a client-side buffer use GrBuffer::CreateCPUBacked.
219 * @param size size of buffer to create.
220 * @param intendedType hint to the graphics subsystem about what the buffer will be used for.
222 * @param data optional data with which to initialize the buffer.
224 * @return the buffer if successful, otherwise nullptr.
250 * @param dstColorType the color type of the destination buffer.
251 * @param buffer memory to read the rectangle into.
265 void* buffer,
274 * @param srcColorType the color type of the source buffer.
307 const void* buffer,
310 GrMipLevel mipLevel = {buffer, rowBytes, nullptr};
321 * Updates the pixels in a rectangle of a texture using a buffer. If the texture is MIP mapped,
327 * @param bufferColorType the color type of the transfer buffer's pixel data
329 * @param offset offset from the start of the buffer
330 * @param rowBytes number of bytes between consecutive rows in the buffer. Must be a
343 * Reads the pixels from a rectangle of a surface into a buffer. Use
345 * the buffer offset alignment. If the surface is a MIP mapped texture, the base level is read.
347 * If successful the row bytes in the buffer is always:
350 * Asserts that the caller has passed a properly aligned offset and that the buffer is
356 * @param bufferColorType the color type of the transfer buffer's pixel data
358 * @param offset offset from the start of the buffer
379 // provided but 'renderTarget' has a stencil buffer then that is a signal that the
380 // render target's stencil buffer should be ignored.
392 // Provides a hook for post-flush actions (e.g. Vulkan command buffer submits). This will also
617 * buffer for resolving. If the color is non-null the backing store should be cleared to the