summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-04-24 20:52:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-04-24 20:52:57 +0000
commitcdbe0ed9cef31497393a709f7572a682f52d740e (patch)
tree9b9237a6fcbf75a690e4a9dab9fce51d02675842
parentae6d8a3e339315b6317d01ff5452da9d89a16c1e (diff)
parent1155c41d016a118801fe97b55af9918e531f7f84 (diff)
downloadlibhardware-cdbe0ed9cef31497393a709f7572a682f52d740e.tar.gz
Merge "Make validateBufferSize and getTransportSize mandatory" into qt-dev
-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