summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-11-21 16:51:47 -0800
committerJamie Gennis <jgennis@google.com>2011-11-21 17:48:19 -0800
commitb7d87c40ef3f922fb10f6a4f24e6e1437ab3c7ae (patch)
tree963fa88583873e26e4b9398170dc62d0f9d1b3ee /include/ui
parente011aa2b0f8c13bb821505b49c70b7e9a5e2f29d (diff)
downloadframeworks_native-b7d87c40ef3f922fb10f6a4f24e6e1437ab3c7ae.zip
frameworks_native-b7d87c40ef3f922fb10f6a4f24e6e1437ab3c7ae.tar.gz
frameworks_native-b7d87c40ef3f922fb10f6a4f24e6e1437ab3c7ae.tar.bz2
SurfaceMediaSource: use the vid enc usage bit
This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when allocating its GraphicBuffers rather than the HW_TEXTURE bit. Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/GraphicBuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h
index b9deafc..6ab01f4 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -63,6 +63,7 @@ public:
USAGE_HW_RENDER = GRALLOC_USAGE_HW_RENDER,
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
};