Lines Matching refs:buffer
33 * allocated buffer, but does not necessarily represent the offset in
41 * allocated buffer.
46 * The number of image layers that must be in the allocated buffer.
61 * Validate that the buffer can be safely accessed by a caller who assumes
63 * that the buffer size is large enough. Validating the buffer against
64 * individual buffer attributes is optional.
66 * @param buffer is the buffer to validate against.
67 * @param descriptorInfo specifies the attributes of the buffer.
68 * @param stride is the buffer stride returned by IAllocator::allocate.
70 * BAD_BUFFER when the buffer is invalid.
71 * BAD_VALUE when buffer cannot be safely accessed
73 validateBufferSize(pointer buffer,
79 * Get the transport size of a buffer. An imported buffer handle is a raw
80 * buffer handle with the process-local runtime data appended. This
82 * runtime data at the tail when serializing the imported buffer handle.
85 * data when sending an imported buffer handle. The mapper must support
88 * @param buffer is the buffer to get the transport size from.
90 * BAD_BUFFER when the buffer is invalid.
94 getTransportSize(pointer buffer)
103 * Creates a buffer descriptor. The descriptor can be used with IAllocator
106 * Since the buffer descriptor fully describes a buffer, any device
119 * @return descriptor is the newly created buffer descriptor.