diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2015-04-06 22:36:49 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-06 22:36:49 +0000 |
commit | 44cff8aaada6149408469ae284764b7190661b72 (patch) | |
tree | a4ba0941bce11a6e0efb2f416a811d339c1202cd /api | |
parent | 138387e45e94517da769a5ada8109f6f12593d8a (diff) | |
parent | f1d7b463a3f589e788b772e59fce9b608f4bc2d9 (diff) | |
download | rs-44cff8aaada6149408469ae284764b7190661b72.tar.gz |
Merge "Add missing USAGE values."
Diffstat (limited to 'api')
-rw-r--r-- | api/rs_object_types.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/api/rs_object_types.spec b/api/rs_object_types.spec index db41287a..d0317efa 100644 --- a/api/rs_object_types.spec +++ b/api/rs_object_types.spec @@ -96,11 +96,14 @@ end: type: rs_allocation_usage_type version: 14 enum: -value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001 +value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001, "Allocation is bound to and accessed by scripts." value: RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE = 0x0002, "Deprecated." value: RS_ALLOCATION_USAGE_GRAPHICS_VERTEX = 0x0004, "Deprecated." value: RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS = 0x0008, "Deprecated." value: RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET = 0x0010, "Deprecated." +value: RS_ALLOCATION_USAGE_IO_INPUT = 0x0020, "Allocation is used as a Surface consumer." +value: RS_ALLOCATION_USAGE_IO_OUTPUT = 0x0040, "Allocation is used as a Surface producer." +value: RS_ALLOCATION_USAGE_SHARED = 0x0080, "Allocation's backing store is shared with another object (usually a Bitmap). Copying to or from the original source Bitmap will cause a synchronization rather than a full copy." summary: Bitfield to specify the usage types for an allocation description: These values are ORed together to specify which usages or memory spaces are |