summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-05-07 03:15:36 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-05-07 03:15:36 +0000
commit48fa5169ca5d7ec5119ca6b3f2c7397918c29d2b (patch)
tree994917bfe4c52a7ef203b8e4269402670aeef5fc
parent90a8b77bf0ed9c83741b8f3e42cd41dfa16d6abf (diff)
parent9b04e0a9f435cdb103c76144a0ee32f72808204c (diff)
downloaddevice_generic_opengl-transport-android10-s1-release.tar.gz
device_generic_opengl-transport-android10-s1-release.tar.bz2
device_generic_opengl-transport-android10-s1-release.zip
Change-Id: Ie504e9bd8fe9a635781732ef90ccc6b3dd4d6c37
-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];
};