diff options
author | Jeremy Kemp <jeremy@jeremykemp.co.uk> | 2020-11-28 05:47:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 21:47:01 -0800 |
commit | c65949121ec4c520177f9238dc72f5080cedba67 (patch) | |
tree | 9feccc6bc9fa1457014c4d9f52907987e2cbbdea | |
parent | ee1eff645f44d03c14f8f510b11db22bca2c2116 (diff) | |
download | OpenCL-Headers-c65949121ec4c520177f9238dc72f5080cedba67.tar.gz |
Added missing define for cl_img_use_gralloc_ptr. (#134)
-rw-r--r-- | CL/cl_ext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CL/cl_ext.h b/CL/cl_ext.h index b9ca594..1e106c0 100644 --- a/CL/cl_ext.h +++ b/CL/cl_ext.h @@ -480,8 +480,9 @@ typedef struct _cl_mem_android_native_buffer_host_ptr #define CL_COMMAND_ACQUIRE_GRALLOC_OBJECTS_IMG 0x40D2 #define CL_COMMAND_RELEASE_GRALLOC_OBJECTS_IMG 0x40D3 -/* Error code from clEnqueueReleaseGrallocObjectsIMG */ +/* Error codes from clEnqueueAcquireGrallocObjectsIMG and clEnqueueReleaseGrallocObjectsIMG */ #define CL_GRALLOC_RESOURCE_NOT_ACQUIRED_IMG 0x40D4 +#define CL_INVALID_GRALLOC_OBJECT_IMG 0x40D5 extern CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireGrallocObjectsIMG(cl_command_queue command_queue, |