summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-04-22 15:06:42 -0700
committerValerie Hau <vhau@google.com>2019-04-23 11:38:33 -0700
commit1155c41d016a118801fe97b55af9918e531f7f84 (patch)
tree4df6744c74b193b698f01d607bcc58d0f5b35cef
parent491378a3d400c45aa63290315d4a5ab8e773de33 (diff)
downloadlibhardware-1155c41d016a118801fe97b55af9918e531f7f84.tar.gz
Make validateBufferSize and getTransportSize mandatory
Bug: 131089111 Test: build, boot Change-Id: I6c83e4ea9692fbdb185ff0679ee76b1dc826495e
-rw-r--r--include/hardware/gralloc1.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hardware/gralloc1.h b/include/hardware/gralloc1.h
index 03e84322..c211029a 100644
--- a/include/hardware/gralloc1.h
+++ b/include/hardware/gralloc1.h
@@ -675,7 +675,6 @@ typedef int32_t /*gralloc1_error_t*/ (*GRALLOC1_PFN_GET_STRIDE)(
/* getTransportSize(..., outNumFds, outNumInts)
* Function descriptor: GRALLOC1_FUNCTION_GET_TRANSPORT_SIZE
- * This function is optional for all gralloc1 devices.
*
* Get the transport size of a buffer. An imported buffer handle is a raw
* buffer handle with the process-local runtime data appended. This
@@ -710,7 +709,6 @@ typedef struct gralloc1_buffer_descriptor_info {
/* validateBufferSize(..., )
* Function descriptor: GRALLOC1_FUNCTION_VALIDATE_BUFFER_SIZE
- * This function is optional for all gralloc1 devices.
*
* Validate that the buffer can be safely accessed by a caller who assumes
* the specified descriptorInfo and stride. This must at least validate