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/vsyncworker.cpp b/vsyncworker.cpp
index e8a9332..d022887 100644
--- a/vsyncworker.cpp
+++ b/vsyncworker.cpp
@@ -16,18 +16,18 @@
#define LOG_TAG "hwc-vsync-worker"
-#include "drmdevice.h"
#include "vsyncworker.h"
+#include "drmdevice.h"
#include "worker.h"
-#include <map>
#include <stdlib.h>
#include <time.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
+#include <map>
-#include <log/log.h>
#include <hardware/hardware.h>
+#include <log/log.h>
namespace android {
@@ -99,8 +99,9 @@
ALOGW("Vsync worker active with conn=%p refresh=%f\n", conn,
conn ? conn->active_mode().v_refresh() : 0.0f);
- int64_t phased_timestamp = GetPhasedVSync(
- kOneSecondNs / refresh, vsync.tv_sec * kOneSecondNs + vsync.tv_nsec);
+ int64_t phased_timestamp = GetPhasedVSync(kOneSecondNs / refresh,
+ vsync.tv_sec * kOneSecondNs +
+ vsync.tv_nsec);
vsync.tv_sec = phased_timestamp / kOneSecondNs;
vsync.tv_nsec = phased_timestamp - (vsync.tv_sec * kOneSecondNs);
do {
@@ -172,4 +173,4 @@
callback->Callback(display, timestamp);
last_timestamp_ = timestamp;
}
-}
+} // namespace android