summaryrefslogtreecommitdiff
path: root/hwcomposer/sw_vsync.h
diff options
context:
space:
mode:
authorSunita Nadampalli <sunitan@ti.com>2014-11-12 14:19:30 -0600
committerSunita Nadampalli <sunitan@ti.com>2014-11-12 14:19:30 -0600
commit548ac1b45d9c5f2c802a6e12591657328b0fe6b9 (patch)
tree0bd6e90640df6697f41a067657d0652b4fe1a8c2 /hwcomposer/sw_vsync.h
parent51b3949558a28965683df0f8b8c423c46a9fe1f6 (diff)
downloaddra7xx-548ac1b45d9c5f2c802a6e12591657328b0fe6b9.tar.gz
hwcomposer: Added support for single display with EGL composition
Change-Id: I64db9786b8af605086d4e2a2278409e0ef166e9a Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'hwcomposer/sw_vsync.h')
-rw-r--r--hwcomposer/sw_vsync.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/hwcomposer/sw_vsync.h b/hwcomposer/sw_vsync.h
new file mode 100644
index 0000000..2bcb729
--- /dev/null
+++ b/hwcomposer/sw_vsync.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) Texas Instruments - http://www.ti.com/
+ *
+ * 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.
+ */
+
+#ifndef __SWVSYNC_H__
+#define __SWVSYNC_H__
+
+typedef struct omap_hwc_device omap_hwc_device_t;
+
+bool use_sw_vsync();
+void init_sw_vsync(omap_hwc_device_t *hwc_dev);
+void start_sw_vsync();
+void stop_sw_vsync();
+
+#endif