summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Gernoth <michael@gernoth.net>2016-01-08 23:56:40 +0100
committerMichael Gernoth <michael@gernoth.net>2016-01-08 23:56:40 +0100
commited9b5b7f948a5141fdd8f9d18a17a67c31590110 (patch)
tree4e9c19f6dd3be93750a72e783662b145a6b22244 /include
parent1cea79b4738502071f1bbaf44aa37f56a46d6eac (diff)
downloadhardware_ti_omap4-ed9b5b7f948a5141fdd8f9d18a17a67c31590110.zip
hardware_ti_omap4-ed9b5b7f948a5141fdd8f9d18a17a67c31590110.tar.gz
hardware_ti_omap4-ed9b5b7f948a5141fdd8f9d18a17a67c31590110.tar.bz2
gralloc: disable GRALLOC_USAGE_CURSOR
Disable the GRALLOC_USAGE_CURSOR-flag when gralloc.h is included as our gralloc-blob can not handle it. Change-Id: I88baf92de9a74939b65f89e9628b62be88cfaede
Diffstat (limited to 'include')
-rw-r--r--include/hardware/gralloc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
new file mode 100644
index 0000000..315a6d1
--- /dev/null
+++ b/include/hardware/gralloc.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2016 The CyanogenMod 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 "../../../../libhardware/include/hardware/gralloc.h"
+
+#define GRALLOC_USAGE_FLAG_DISABLED (0)
+
+#define GRALLOC_USAGE_CURSOR GRALLOC_USAGE_FLAG_DISABLED