Skip to content

Commit

Permalink
Add definitions for cl_arm_import_memory_android_hardware_buffer v1.1…
Browse files Browse the repository at this point in the history
….0 (KhronosGroup#157)

Signed-off-by: Einar Hov <[email protected]>
Signed-off-by: Kevin Petit <[email protected]>
Change-Id: I91b3738d389b1cada65869d6ac990ceca8381746
  • Loading branch information
kpet authored Feb 15, 2021
1 parent d0d6457 commit 4a70f93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CL/cl_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,12 @@ typedef intptr_t cl_import_properties_arm;
/* Data consistency with host property */
#define CL_IMPORT_DMA_BUF_DATA_CONSISTENCY_WITH_HOST_ARM 0x41E3

/* Index of plane in a multiplanar hardware buffer */
#define CL_IMPORT_ANDROID_HARDWARE_BUFFER_PLANE_INDEX_ARM 0x41EF

/* Index of layer in a multilayer hardware buffer */
#define CL_IMPORT_ANDROID_HARDWARE_BUFFER_LAYER_INDEX_ARM 0x41F0

/* Import memory size value to indicate a size for the whole buffer */
#define CL_IMPORT_MEMORY_WHOLE_ALLOCATION_ARM SIZE_MAX

Expand Down

0 comments on commit 4a70f93

Please sign in to comment.