summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-08-25 07:05:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-08-25 07:05:50 +0000
commit3daf07da7f8980c4e5df3d8360fe8c976d9d3520 (patch)
treea8b5abae179e65e2427420f3b470b918c1663c90
parentcf5c6c54d557ad903b5d625a4799f48c7fd7cda7 (diff)
parentf1f808432750247400b87bc70a40ced13eece62b (diff)
downloadgs201-3daf07da7f8980c4e5df3d8360fe8c976d9d3520.tar.gz
Merge "libhwc2.1: Add HistogramController class" into udc-qpr-dev
-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, {}) {}
+};