summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-04-25 02:18:44 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-04-25 02:18:44 -0700
commit97479fd486ea2ae4d44ff27a95324e3325873b65 (patch)
tree9b9237a6fcbf75a690e4a9dab9fce51d02675842
parentc16918a2b239b6b96471eb362d446d039d09a0a5 (diff)
parentcdbe0ed9cef31497393a709f7572a682f52d740e (diff)
downloadlibhardware-97479fd486ea2ae4d44ff27a95324e3325873b65.tar.gz
Merge "Make validateBufferSize and getTransportSize mandatory" into qt-dev
am: cdbe0ed9ce Change-Id: I55322114e8b108ec80d221cf65559823954a9e3f
-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