summaryrefslogtreecommitdiffstats
path: root/include/hardware/hwcomposer.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-03-25 01:09:35 -0700
committerMathias Agopian <mathias@google.com>2012-03-25 01:11:43 -0700
commit81c323dd54d5f0ea1e75ab392187608049b2326c (patch)
tree5640bc43aee7f37056b98b702bf64775c28ba5b9 /include/hardware/hwcomposer.h
parenteb8fb508148d809166a30783a14e186fda0e31c9 (diff)
downloadhardware_libhardware-81c323dd54d5f0ea1e75ab392187608049b2326c.zip
hardware_libhardware-81c323dd54d5f0ea1e75ab392187608049b2326c.tar.gz
hardware_libhardware-81c323dd54d5f0ea1e75ab392187608049b2326c.tar.bz2
improve HWC versioning
Change-Id: Ieb50629f23c0d2b7af12c5541a8278a0979d2ee4
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r--include/hardware/hwcomposer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h
index b78746c..32ba90c 100644
--- a/include/hardware/hwcomposer.h
+++ b/include/hardware/hwcomposer.h
@@ -28,7 +28,10 @@ __BEGIN_DECLS
/*****************************************************************************/
-#define HWC_API_VERSION HARDWARE_DEVICE_API_VERSION(0,2)
+#define HWC_DEVICE_API_VERSION HARDWARE_DEVICE_API_VERSION(0, 2)
+#define HWC_MODULE_API_VERSION HARDWARE_MODULE_API_VERSION(0, 1)
+// for compatibility
+#define HWC_API_VERSION HWC_DEVICE_API_VERSION
/**
* The id of this module