summaryrefslogtreecommitdiff
path: root/src/cl_mem_gl.h
blob: 717ccfbb1de42bbfff0bb7aaac84065139e0f3e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __CL_MEM_GL_H__
#define __CL_MEM_GL_H__
#include "cl_mem.h"

cl_mem cl_mem_new_gl_buffer(cl_context ctx,
                            cl_mem_flags flags,
                            GLuint buf_obj,
                            cl_int *errcode_ret);

cl_mem cl_mem_new_gl_texture(cl_context ctx,
                             cl_mem_flags flags,
                             GLenum texture_target,
                             GLint miplevel,
                             GLuint texture,
                             cl_int *errcode_ret);

#endif