2019-06-03 15:54:55 +08:00
|
|
|
/*
|
2020-02-22 16:28:27 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-06-03 15:54:55 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "CL/cl_gl.h"
|
|
|
|
|
|
|
|
extern cl_int CL_API_CALL clGetSupportedGLTextureFormatsINTEL(
|
|
|
|
cl_context context,
|
|
|
|
cl_mem_flags flags,
|
|
|
|
cl_mem_object_type imageType,
|
|
|
|
cl_uint numEntries,
|
2019-06-25 22:09:50 +08:00
|
|
|
cl_GLenum *glFormats,
|
|
|
|
cl_uint *numTextureFormats);
|