Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 325831
Collapse All | Expand All

(-)include.orig/cudaGL.h (-1 / +1 lines)
Lines 59-65 Link Here
59
typedef enum CUGLmap_flags_enum {
59
typedef enum CUGLmap_flags_enum {
60
    CU_GL_MAP_RESOURCE_FLAGS_NONE          = 0x00,
60
    CU_GL_MAP_RESOURCE_FLAGS_NONE          = 0x00,
61
    CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY     = 0x01,
61
    CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY     = 0x01,
62
    CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02,    
62
    CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02
63
} CUGLmap_flags;
63
} CUGLmap_flags;
64
64
65
CUresult CUDAAPI cuGLInit(void);
65
CUresult CUDAAPI cuGLInit(void);
(-)include.orig/cuda_gl_interop.h (-1 / +1 lines)
Lines 83-89 Link Here
83
{
83
{
84
  cudaGLMapFlagsNone         = 0,  ///< Default; Assume resource can be read/written
84
  cudaGLMapFlagsNone         = 0,  ///< Default; Assume resource can be read/written
85
  cudaGLMapFlagsReadOnly     = 1,  ///< CUDA kernels will not write to this resource
85
  cudaGLMapFlagsReadOnly     = 1,  ///< CUDA kernels will not write to this resource
86
  cudaGLMapFlagsWriteDiscard = 2,  ///< CUDA kernels will only write to and will not read from this resource
86
  cudaGLMapFlagsWriteDiscard = 2   ///< CUDA kernels will only write to and will not read from this resource
87
};
87
};
88
88
89
extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
89
extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);

Return to bug 325831