diff options
author | Yin-Chia Yeh <yinchiayeh@google.com> | 2017-02-02 18:24:26 -0800 |
---|---|---|
committer | Yin-Chia Yeh <yinchiayeh@google.com> | 2017-02-03 14:43:08 -0800 |
commit | 469c67b027d91096ac1643569bb3161d6fb5047c (patch) | |
tree | 88a2c77fbdcd81cb6383ba02c97b0962c4b36755 /camera/device/3.2/default/CameraDeviceSession.cpp | |
parent | adbf844ad811a601d711f8862167c81467669ed7 (diff) |
Camera: remove BINDERIZED flag
No longer needed. This also enable us to switch to
defaultPassthroughImplementation.
Also rename camera device wrapper library to signal it's not a
top level HAL entry.
Test: marlin camera app with passthrough/binderzied mode
Bug: 34817742
Change-Id: I78ad5afbf78b2679be3efe0e82f430958ef6bfea
Diffstat (limited to 'camera/device/3.2/default/CameraDeviceSession.cpp')
-rw-r--r-- | camera/device/3.2/default/CameraDeviceSession.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/camera/device/3.2/default/CameraDeviceSession.cpp b/camera/device/3.2/default/CameraDeviceSession.cpp index 26b7b738ef..b47a220db0 100644 --- a/camera/device/3.2/default/CameraDeviceSession.cpp +++ b/camera/device/3.2/default/CameraDeviceSession.cpp @@ -118,9 +118,6 @@ public: private: bool mInitialized; - // Some existing gralloc drivers do not support retaining more than once, - // when we are in passthrough mode. -#ifdef BINDERIZED bool openGralloc() { const hw_module_t* module; @@ -209,12 +206,6 @@ private: // gralloc0 const gralloc_module_t* mModule; -#else - bool openGralloc() { return true; } - void closeGralloc() {} - buffer_handle_t cloneBuffer(buffer_handle_t handle) { return handle; } - void releaseBuffer(buffer_handle_t) {} -#endif }; HandleImporter sHandleImporter; |