summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-08-25 08:48:38 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-25 08:48:38 +0000
commite512c51f1f75d13ecbed29fd40c28196dd3ea053 (patch)
treea8b5abae179e65e2427420f3b470b918c1663c90
parent2ad4902f4d15c5e2165b11fcc6e0e30db1f77344 (diff)
parent97711d77e870e488ca2b1c3f7ae357e1fac9daf0 (diff)
downloadgs201-e512c51f1f75d13ecbed29fd40c28196dd3ea053.tar.gz
Merge "libhwc2.1: Add HistogramController class" into udc-qpr-dev am: 3daf07da7f am: 97711d77e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs201/+/23669445 Change-Id: Ia84c1ab0bc820b6788972bee0c87fdfabc978f01 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--libhwc2.1/libdevice/HistogramController.h22
1 files changed, 22 insertions, 0 deletions
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, {}) {}
+};