summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/gr.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-12-14 18:27:09 -0800
committerMathias Agopian <mathias@google.com>2009-12-15 15:00:57 -0800
commitf96b2064d7753af7ab75f05eff9559f401e1a4ad (patch)
tree3f94f2204cf1b9f12762e83701a52fb0622358d4 /modules/gralloc/gr.h
parent058c1fce990a54b1dfdfb511c752b32914d32f6f (diff)
downloadhardware_libhardware-f96b2064d7753af7ab75f05eff9559f401e1a4ad.zip
hardware_libhardware-f96b2064d7753af7ab75f05eff9559f401e1a4ad.tar.gz
hardware_libhardware-f96b2064d7753af7ab75f05eff9559f401e1a4ad.tar.bz2
remove all references to pmem and simplify the lock/unlock hooks
this gralloc module is only used on the emulator or without a h/w renderer. therefore there is no synchronization to do in lock/unlock and pmem buffers are not relevant. hopefully this will remove some of the confusion about how gralloc should be implemented and make it more obvious that this implementation is not intended to be used by h/w renderers.
Diffstat (limited to 'modules/gralloc/gr.h')
-rw-r--r--modules/gralloc/gr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gralloc/gr.h b/modules/gralloc/gr.h
index 1775bfa..3a43aa7 100644
--- a/modules/gralloc/gr.h
+++ b/modules/gralloc/gr.h
@@ -42,6 +42,7 @@ inline size_t roundUpToPageSize(size_t x) {
int mapFrameBufferLocked(struct private_module_t* module);
int terminateBuffer(gralloc_module_t const* module, private_handle_t* hnd);
+int mapBuffer(gralloc_module_t const* module, private_handle_t* hnd);
/*****************************************************************************/