diff options
author | Glenn Kasten <gkasten@google.com> | 2011-01-19 16:58:31 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-01-27 17:54:12 -0800 |
commit | 7cb277a5c26447df01196bb19650235603062e93 (patch) | |
tree | 13ed6d3d95e63d9a5b99437445892344a8f7fd22 | |
parent | d8c4b8c0500f266849ac3f21e8efc09bad08cb30 (diff) | |
download | hardware_libhardware-7cb277a5c26447df01196bb19650235603062e93.zip hardware_libhardware-7cb277a5c26447df01196bb19650235603062e93.tar.gz hardware_libhardware-7cb277a5c26447df01196bb19650235603062e93.tar.bz2 |
Protected surface API
Change-Id: I63a16e77228b4a440ad08b9f21d8fbbacef3698e
-rw-r--r-- | include/hardware/gralloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h index f4fc215..5eefe79 100644 --- a/include/hardware/gralloc.h +++ b/include/hardware/gralloc.h @@ -77,6 +77,14 @@ enum { */ GRALLOC_USAGE_EXTERNAL_DISP = 0x00002000, + /* Must have a hardware-protected path to external display sink for + * this buffer. If a hardware-protected path is not available, then + * either don't composite only this buffer (preferred) to the + * external sink, or (less desirable) do not route the entire + * composition to the external sink. + */ + GRALLOC_USAGE_PROTECTED = 0x00004000, + /* implementation-specific private usage flags */ GRALLOC_USAGE_PRIVATE_0 = 0x10000000, GRALLOC_USAGE_PRIVATE_1 = 0x20000000, |