summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk2
-rw-r--r--include/hardware/gralloc.h21
2 files changed, 22 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index ab0f86c..a9983a6 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -28,7 +28,7 @@ TARGET_ARCH_VARIANT := armv7-a-neon
USE_OPENGL_RENDERER := true
# Global include changes
-#TARGET_SPECIFIC_HEADER_PATH += $(OMAP4_NEXT_FOLDER)/include
+TARGET_SPECIFIC_HEADER_PATH += $(OMAP4_NEXT_FOLDER)/include
# TI Enhancement Settings
OMAP_ENHANCEMENT := true
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