summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-05-06 09:38:13 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-05-06 09:38:13 -0700
commit871eef0f7464087b4b0064a46870a102aeda25e2 (patch)
tree994917bfe4c52a7ef203b8e4269402670aeef5fc
parent90ad845863fbbd7c143d23cdbd61c6d3a8bf52d4 (diff)
parenteac1c3d30672342fcd348c090917ffddcf59b4c8 (diff)
downloadopengl-transport-871eef0f7464087b4b0064a46870a102aeda25e2.tar.gz
Modify gralloc0 implementation am: 9b04e0a9f4
am: eac1c3d306 Change-Id: I553b764882a4217b80c1f4f93a453ee7da2c705e
-rw-r--r--host/libs/virglrenderer/include/hardware/gralloc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/libs/virglrenderer/include/hardware/gralloc.h b/host/libs/virglrenderer/include/hardware/gralloc.h
index 8446ba4ea..3847164ed 100644
--- a/host/libs/virglrenderer/include/hardware/gralloc.h
+++ b/host/libs/virglrenderer/include/hardware/gralloc.h
@@ -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];
};