summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-08-10 11:48:07 -0700
committerJamie Gennis <jgennis@google.com>2011-08-22 14:56:29 -0700
commitd52c14df02a0d6db42f643e80e248b52fe5e2fdd (patch)
tree3917f03cac376b3a6703171c0fd09e529342cfa0 /include
parent7a12d6ba14a35276fd3afb314d6c95055da4c6f0 (diff)
downloadframeworks_base-d52c14df02a0d6db42f643e80e248b52fe5e2fdd.zip
frameworks_base-d52c14df02a0d6db42f643e80e248b52fe5e2fdd.tar.gz
frameworks_base-d52c14df02a0d6db42f643e80e248b52fe5e2fdd.tar.bz2
SurfaceFlinger: use the HWC gralloc usage bit
This change makes SurfaceFlinger always use the GRALLOC_USAGE_HW_COMPOSER usage bit when allocating buffers that may be passed to the HWComposer. Change-Id: I70362a8ede2b359fb2046853f85149d597465817
Diffstat (limited to 'include')
-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 370253a..b9deafc 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -62,6 +62,7 @@ public:
USAGE_HW_TEXTURE = GRALLOC_USAGE_HW_TEXTURE,
USAGE_HW_RENDER = GRALLOC_USAGE_HW_RENDER,
USAGE_HW_2D = GRALLOC_USAGE_HW_2D,
+ USAGE_HW_COMPOSER = GRALLOC_USAGE_HW_COMPOSER,
USAGE_HW_MASK = GRALLOC_USAGE_HW_MASK
};