Files
compute-runtime/runtime/sharings/gl/cl_gl_api_intel.h
Mateusz Hoppe 14d8165887 Refactor GetSupportedFormats calls
Related-To: NEO-612

Change-Id: I2d6b4eeed06cfb3e3afededbfc5e4a1d1355ded7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-07-02 14:14:25 +02:00

18 lines
350 B
C

/*
* Copyright (C) 2019 Intel Corporation
*
* 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,
cl_GLenum *glFormats,
cl_uint *numTextureFormats);