summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2012-11-24 14:51:44 +0100
committercodeworkx <codeworkx@cyanogenmod.org>2012-11-25 10:16:03 +0100
commit1e5774b19126dfe844580e32d8692bb386edc2ea (patch)
treef425be74a31f88b263d82e34c77d86cb1942e245 /include
parent2b77c3e473c4347e34d2fae9dcf32366fd629b33 (diff)
downloadframeworks_native-1e5774b19126dfe844580e32d8692bb386edc2ea.zip
frameworks_native-1e5774b19126dfe844580e32d8692bb386edc2ea.tar.gz
frameworks_native-1e5774b19126dfe844580e32d8692bb386edc2ea.tar.bz2
exynos4: ui: define USAGE_HW_FIMC1 to support gralloc
Source: http://git.insignal.co.kr/samsung/exynos/android/platform/frameworks/native/commit/?h=exynos-jb&id=5179fef67cadaa10d72cfe6764629565bc9a1e4e Change-Id: Id194446eb332869f677dfb7e94c73aa3f52ee4b0
Diffstat (limited to 'include')
-rw-r--r--include/ui/GraphicBuffer.h5
-rw-r--r--include/ui/GraphicBufferAllocator.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h
index f318cd8..1c84d0e 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -64,7 +64,10 @@ public:
USAGE_HW_2D = GRALLOC_USAGE_HW_2D,
USAGE_HW_COMPOSER = GRALLOC_USAGE_HW_COMPOSER,
USAGE_HW_VIDEO_ENCODER = GRALLOC_USAGE_HW_VIDEO_ENCODER,
- USAGE_HW_MASK = GRALLOC_USAGE_HW_MASK
+ USAGE_HW_MASK = GRALLOC_USAGE_HW_MASK,
+#ifdef EXYNOS4_ENHANCEMENTS
+ USAGE_HW_FIMC1 = GRALLOC_USAGE_HW_FIMC1
+#endif
};
GraphicBuffer();
diff --git a/include/ui/GraphicBufferAllocator.h b/include/ui/GraphicBufferAllocator.h
index dffa788..0f2a492 100644
--- a/include/ui/GraphicBufferAllocator.h
+++ b/include/ui/GraphicBufferAllocator.h
@@ -56,7 +56,10 @@ public:
USAGE_HW_TEXTURE = GRALLOC_USAGE_HW_TEXTURE,
USAGE_HW_RENDER = GRALLOC_USAGE_HW_RENDER,
USAGE_HW_2D = GRALLOC_USAGE_HW_2D,
- USAGE_HW_MASK = GRALLOC_USAGE_HW_MASK
+ USAGE_HW_MASK = GRALLOC_USAGE_HW_MASK,
+#ifdef EXYNOS4_ENHANCEMENTS
+ USAGE_HW_FIMC1 = GRALLOC_USAGE_HW_FIMC1
+#endif
};
static inline GraphicBufferAllocator& get() { return getInstance(); }