Skip to content
Snippets Groups Projects
Commit 9b04e0a9 authored by Valerie Hau's avatar Valerie Hau
Browse files

Modify gralloc0 implementation

Add validateBufferSize and getTransportSize

Bug: 131089111
Test: build, boot
Change-Id: I052f9537fa1b37a4a7b2f5d82309aff3d2e1f2f3
parent 90ad8458
No related branches found
No related tags found
No related merge requests found
......@@ -42,5 +42,8 @@ struct gralloc_module_t {
int (*unlockAsync)(gralloc_module_t const*, buffer_handle_t, int*);
int (*lockAsync_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
android_ycbcr*, int);
void* reserved_proc[3];
int32_t (*getTransportSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t);
int32_t (*validateBufferSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t,
int32_t, int, uint32_t);
void* reserved_proc[1];
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment