summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorRiley Andrews <riandrews@google.com>2014-07-01 14:22:59 -0700
committerRiley Andrews <riandrews@google.com>2014-07-28 22:07:41 +0000
commit03414a1cfe6c1222fd7723949bd622f9cba145aa (patch)
treec4b15dbf1bb03636c6e9612082b2b3f23ba495b1 /include/ui
parentd8e5e813433c5c5e4fea29a24d993b5cfe436fe0 (diff)
downloadframeworks_native-03414a1cfe6c1222fd7723949bd622f9cba145aa.zip
frameworks_native-03414a1cfe6c1222fd7723949bd622f9cba145aa.tar.gz
frameworks_native-03414a1cfe6c1222fd7723949bd622f9cba145aa.tar.bz2
Turn on support for async cursor update in surfaceflinger.
If available, surfaceflinger will use the hwc setCursorPositionAsync() api to change the position of supported cursor layers outside of the usual prepare/set loop. Change-Id: Ib3fc5c0c390b3489ddbba202379840a1d2748917
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/GraphicBuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h
index ddc4635..7630faa 100644
--- a/include/ui/GraphicBuffer.h
+++ b/include/ui/GraphicBuffer.h
@@ -64,7 +64,9 @@ 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,
+
+ USAGE_CURSOR = GRALLOC_USAGE_CURSOR,
};
GraphicBuffer();