opencl/source/sharings/gl/cl_gl_api_intel.h
raw| 1 | /* |
| 2 | * Copyright (C) 2019-2020 Intel Corporation |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #pragma once |
| 9 | #include "CL/cl_gl.h" |
| 10 | |
| 11 | extern cl_int CL_API_CALL clGetSupportedGLTextureFormatsINTEL( |
| 12 | cl_context context, |
| 13 | cl_mem_flags flags, |
| 14 | cl_mem_object_type imageType, |
| 15 | cl_uint numEntries, |
| 16 | cl_GLenum *glFormats, |
| 17 | cl_uint *numTextureFormats); |