diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-24 16:54:44 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-24 20:36:52 -0700 |
commit | 689fa73c067e1618bbdb62f32c2a34750b8ec48b (patch) | |
tree | 6d870b55c36740a2aec2d8a098d30a67129779ba /modules/gralloc | |
parent | 31802ca9c030b8f9a137f32826e9c9a76d0d6e17 (diff) | |
download | hardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.zip hardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.tar.gz hardware_libhardware-689fa73c067e1618bbdb62f32c2a34750b8ec48b.tar.bz2 |
copybit now uses a native_handle_t* instead of a fd/offset
Diffstat (limited to 'modules/gralloc')
-rw-r--r-- | modules/gralloc/gralloc_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h index 8adb4f4..7ec07ef 100644 --- a/modules/gralloc/gralloc_priv.h +++ b/modules/gralloc/gralloc_priv.h @@ -34,6 +34,8 @@ /*****************************************************************************/ +struct private_module_t; + inline size_t roundUpToPageSize(size_t x) { return (x + (PAGESIZE-1)) & ~(PAGESIZE-1); } |