drm_hwcomposer: Reformat using clang-format-5.0
Run the new clang-format style over the codebase to make things
compatible.
Change-Id: I267d5070929aaa7965d58655da841402debdcb6c
Signed-off-by: Sean Paul <seanpaul@chromium.org>
diff --git a/platformhisi.cpp b/platformhisi.cpp
index 3ff355f..5a1ac1b 100644
--- a/platformhisi.cpp
+++ b/platformhisi.cpp
@@ -16,19 +16,18 @@
#define LOG_TAG "hwc-platform-hisi"
+#include "platformhisi.h"
#include "drmdevice.h"
#include "platform.h"
-#include "platformhisi.h"
-
#include <drm/drm_fourcc.h>
-#include <cinttypes>
#include <stdatomic.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
+#include <cinttypes>
-#include <log/log.h>
#include <hardware/gralloc.h>
+#include <log/log.h>
#include "gralloc_priv.h"
#define MALI_ALIGN(value, base) (((value) + ((base)-1)) & ~((base)-1))
@@ -72,8 +71,8 @@
}
int HisiImporter::ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) {
- private_handle_t const *hnd =
- reinterpret_cast<private_handle_t const *>(handle);
+ private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(
+ handle);
if (!hnd)
return -EINVAL;
@@ -138,4 +137,4 @@
planner->AddStage<PlanStageGreedy>();
return planner;
}
-}
+} // namespace android