SWDEV-398472 - [ABI Break] Added new include file for openGL interop APIs

Change-Id: Ic6debaadbffd6e773015cb365943bd0ae6f71966
Этот коммит содержится в:
Ioannis Assiouras
2023-08-06 20:26:45 +01:00
коммит произвёл Rakesh Roy
родитель 31201b6e25
Коммит ae9a956fd3
2 изменённых файлов: 9 добавлений и 1 удалений
+7 -1
Просмотреть файл
@@ -23,6 +23,9 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_AMD_HIP_GL_INTEROP_H
#define HIP_INCLUDE_AMD_HIP_GL_INTEROP_H
#if defined(__cplusplus)
extern "C" {
#endif
/**
*-------------------------------------------------------------------------------------------------
*-------------------------------------------------------------------------------------------------
@@ -89,4 +92,7 @@ hipError_t hipGraphicsGLRegisterBuffer(hipGraphicsResource** resource, GLuint bu
hipError_t hipGraphicsGLRegisterImage(hipGraphicsResource** resource, GLuint image,
GLenum target, unsigned int flags);
#endif
#if defined(__cplusplus)
}
#endif /* __cplusplus */
#endif /* HIP_INCLUDE_AMD_HIP_GL_INTEROP_H */
+2
Просмотреть файл
@@ -7,6 +7,8 @@
#define _HIP_PROF_STR_H
#define HIP_PROF_VER 1
#include <hip/amd_detail/amd_hip_gl_interop.h>
// HIP API callbacks ID enumeration
enum hip_api_id_t {
HIP_API_ID_NONE = 0,