SWDEV-398472 - [ABI Break] Added new include file for openGL interop APIs
Change-Id: Ic6debaadbffd6e773015cb365943bd0ae6f71966
This commit is contained in:
committed by
Rakesh Roy
parent
31201b6e25
commit
ae9a956fd3
@@ -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 */
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user