summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/gralloc_priv.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-07 17:53:43 -0700
committerMathias Agopian <mathias@google.com>2009-07-07 17:53:43 -0700
commitbd80b38f2945ac918f66fb336c149b28b9dd030e (patch)
treede39a66516d8503e266ade1b98f3326188c4fb95 /modules/gralloc/gralloc_priv.h
parent440d4e4741a2641173b44bd9b810c9a4960206c2 (diff)
downloadhardware_libhardware-bd80b38f2945ac918f66fb336c149b28b9dd030e.zip
hardware_libhardware-bd80b38f2945ac918f66fb336c149b28b9dd030e.tar.gz
hardware_libhardware-bd80b38f2945ac918f66fb336c149b28b9dd030e.tar.bz2
more fixes for [1965730]. We now free (unmap) both ashmem and pmem regions.
Diffstat (limited to 'modules/gralloc/gralloc_priv.h')
-rw-r--r--modules/gralloc/gralloc_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h
index aa757b1..bfd3635 100644
--- a/modules/gralloc/gralloc_priv.h
+++ b/modules/gralloc/gralloc_priv.h
@@ -37,12 +37,14 @@
/*****************************************************************************/
struct private_module_t;
+struct private_handle_t;
inline size_t roundUpToPageSize(size_t x) {
return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1);
}
int mapFrameBufferLocked(struct private_module_t* module);
+int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
/*****************************************************************************/