summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 22:07:13 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 22:07:13 +0000
commit2ca1d4fd4ea550fe16be3a6732726a5c725cfce9 (patch)
treeedd423d34cb852de84040ddb5bbef41ec8057491
parentef84ce6fd89770238e4d297dd55302bce9dbfb39 (diff)
parent8e34fdb764620702900939458d162d00dfa2d246 (diff)
downloadgs201-2ca1d4fd4ea550fe16be3a6732726a5c725cfce9.tar.gz
Snap for 10843824 from 8e34fdb764620702900939458d162d00dfa2d246 to 24Q1-release
Change-Id: I038937abbff397bdbbe6612d60bf4f49ffde2f47
-rw-r--r--.clang-format4
-rw-r--r--libhwc2.1/libdevice/HistogramController.h22
2 files changed, 26 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 03af56d..f63f670 100644
--- a/.clang-format
+++ b/.clang-format
@@ -11,3 +11,7 @@ ContinuationIndentWidth: 8
IndentWidth: 4
PenaltyBreakBeforeFirstCallParameter: 100000
SpacesBeforeTrailingComments: 1
+IncludeBlocks: Preserve
+
+DerivePointerAlignment: false
+PointerAlignment: Left
diff --git a/libhwc2.1/libdevice/HistogramController.h b/libhwc2.1/libdevice/HistogramController.h
new file mode 100644
index 0000000..e907943
--- /dev/null
+++ b/libhwc2.1/libdevice/HistogramController.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2023 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "HistogramDevice.h"
+
+class HistogramController : public HistogramDevice {
+public:
+ HistogramController(ExynosDisplay *display) : HistogramDevice(display, 1, {}) {}
+};