summaryrefslogtreecommitdiff
path: root/cros_gralloc/gralloc3/CrosGralloc3Mapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cros_gralloc/gralloc3/CrosGralloc3Mapper.cc')
-rw-r--r--cros_gralloc/gralloc3/CrosGralloc3Mapper.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/cros_gralloc/gralloc3/CrosGralloc3Mapper.cc b/cros_gralloc/gralloc3/CrosGralloc3Mapper.cc
index 08da016..a0b19f0 100644
--- a/cros_gralloc/gralloc3/CrosGralloc3Mapper.cc
+++ b/cros_gralloc/gralloc3/CrosGralloc3Mapper.cc
@@ -23,13 +23,6 @@ using android::hardware::graphics::mapper::V3_0::Error;
using android::hardware::graphics::mapper::V3_0::IMapper;
using android::hardware::graphics::mapper::V3_0::YCbCrLayout;
-CrosGralloc3Mapper::CrosGralloc3Mapper() : mDriver(std::make_unique<cros_gralloc_driver>()) {
- if (mDriver->init()) {
- drv_log("Failed to initialize driver.\n");
- mDriver = nullptr;
- }
-}
-
Return<void> CrosGralloc3Mapper::createDescriptor(const BufferDescriptorInfo& description,
createDescriptor_cb hidlCb) {
hidl_vec<uint32_t> descriptor;