Lines Matching refs:gralloc_buffer
713 private_handle_t *gralloc_buffer = (private_handle_t *)bufferHandle; in validateBufferSize() local
716 if ((size_t)gralloc_buffer->size < grallocDescriptor.size) in validateBufferSize()
719 gralloc_buffer->size, grallocDescriptor.size); in validateBufferSize()
723 if ((uint32_t)gralloc_buffer->stride != in_stride) in validateBufferSize()
726 in_stride, gralloc_buffer->stride); in validateBufferSize()
730 if (gralloc_buffer->internal_format != grallocDescriptor.internal_format) in validateBufferSize()
733 PRIx64, gralloc_buffer->internal_format, grallocDescriptor.internal_format); in validateBufferSize()
737 if ((uint32_t)gralloc_buffer->width != grallocDescriptor.width) in validateBufferSize()
740 gralloc_buffer->width, grallocDescriptor.width); in validateBufferSize()
744 if ((uint32_t)gralloc_buffer->height != grallocDescriptor.height) in validateBufferSize()
747 gralloc_buffer->height, grallocDescriptor.height); in validateBufferSize()
751 if (gralloc_buffer->layer_count != grallocDescriptor.layer_count) in validateBufferSize()
754 gralloc_buffer->layer_count, grallocDescriptor.layer_count); in validateBufferSize()