GLuint 22 apps/opengl_demo/layout.cpp void Layout::draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label) GLuint 22 apps/opengl_demo/layout.h void draw_texture(enum location location, GLuint texture_id, int width, int height, const std::string &label); GLuint 93 apps/opengl_demo/main.cpp std::string run_opengl_filter_from_texture_to_texture(GLuint input_texture_id, GLuint output_texture_id, int width, int height) GLuint 16 apps/opengl_demo/opengl_helpers.cpp GLuint OpenGLHelpers::create_texture(int width, int height, const uint8_t *data) GLuint 18 apps/opengl_demo/opengl_helpers.cpp GLuint texture_id; GLuint 30 apps/opengl_demo/opengl_helpers.cpp void OpenGLHelpers::delete_texture(GLuint texture_id) GLuint 35 apps/opengl_demo/opengl_helpers.cpp void OpenGLHelpers::display_texture(GLuint texture_id, float x0, float x1, float y0, float y1) GLuint 14 apps/opengl_demo/opengl_helpers.h GLuint create_texture(int width, int height, const uint8_t *data); GLuint 15 apps/opengl_demo/opengl_helpers.h void delete_texture(GLuint texture_id); GLuint 16 apps/opengl_demo/opengl_helpers.h void display_texture(GLuint texture_id, float x0, float x1, float y0, float y1); GLuint 64 src/runtime/mini_opengl.h typedef void (*PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); GLuint 66 src/runtime/mini_opengl.h typedef void (*PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint *textures); GLuint 69 src/runtime/mini_opengl.h typedef void (*PFNGLGENTEXTURESPROC)(GLsizei n, GLuint *textures); GLuint 109 src/runtime/mini_opengl.h typedef void (*PFNGLGENBUFFERSPROC)(GLsizei n, GLuint *buffers); GLuint 110 src/runtime/mini_opengl.h typedef void (*PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); GLuint 111 src/runtime/mini_opengl.h typedef void (*PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); GLuint 128 src/runtime/mini_opengl.h typedef void (*PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); GLuint 129 src/runtime/mini_opengl.h typedef void (*PFNGLCOMPILESHADERPROC) (GLuint shader); GLuint 130 src/runtime/mini_opengl.h typedef GLuint (*PFNGLCREATEPROGRAMPROC) (void); GLuint 131 src/runtime/mini_opengl.h typedef GLuint (*PFNGLCREATESHADERPROC) (GLenum type); GLuint 132 src/runtime/mini_opengl.h typedef void (*PFNGLDELETEPROGRAMPROC) (GLuint program); GLuint 133 src/runtime/mini_opengl.h typedef void (*PFNGLDELETESHADERPROC) (GLuint shader); GLuint 134 src/runtime/mini_opengl.h typedef void (*PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); GLuint 135 src/runtime/mini_opengl.h typedef void (*PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); GLuint 136 src/runtime/mini_opengl.h typedef GLint (*PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); GLuint 137 src/runtime/mini_opengl.h typedef void (*PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); GLuint 138 src/runtime/mini_opengl.h typedef void (*PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); GLuint 139 src/runtime/mini_opengl.h typedef void (*PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); GLuint 140 src/runtime/mini_opengl.h typedef void (*PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); GLuint 141 src/runtime/mini_opengl.h typedef GLint (*PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); GLuint 142 src/runtime/mini_opengl.h typedef void (*PFNGLLINKPROGRAMPROC) (GLuint program); GLuint 143 src/runtime/mini_opengl.h typedef void (*PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); GLuint 144 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1FPROC) (GLuint location, GLfloat value); GLuint 145 src/runtime/mini_opengl.h typedef void (*PFNGLUNIFORM1IPROC) (GLuint location, GLint value); GLuint 149 src/runtime/mini_opengl.h typedef void (*PFNGLUSEPROGRAMPROC) (GLuint program); GLuint 150 src/runtime/mini_opengl.h typedef void (*PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); GLuint 154 src/runtime/mini_opengl.h typedef void (*PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); GLuint 177 src/runtime/mini_opengl.h typedef void (*PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); GLuint 179 src/runtime/mini_opengl.h typedef void (*PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); GLuint 180 src/runtime/mini_opengl.h typedef void (*PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); GLuint 181 src/runtime/mini_opengl.h typedef void (*PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); GLuint 183 src/runtime/mini_opengl.h typedef void (*PFNGLGENVERTEXARRAYS)(GLsizei n, GLuint *arrays); GLuint 184 src/runtime/mini_opengl.h typedef void (*PFNGLBINDVERTEXARRAY)(GLuint array); GLuint 185 src/runtime/mini_opengl.h typedef void (*PFNGLDELETEVERTEXARRAYS)(GLsizei n, const GLuint *arrays); GLuint 186 src/runtime/mini_opengl.h typedef const GLubyte *(*PFNGLGETSTRINGI)(GLenum name, GLuint index); GLuint 210 src/runtime/mini_opengl.h typedef void (*PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); GLuint 211 src/runtime/mini_opengl.h typedef void (*PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); GLuint 214 src/runtime/mini_opengl.h typedef void (*PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); GLuint 216 src/runtime/mini_opengl.h typedef void (*PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); GLuint 217 src/runtime/mini_opengl.h typedef void (*PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers); GLuint 164 src/runtime/opengl.cpp GLuint shader_id; GLuint 165 src/runtime/opengl.cpp GLuint program_id; GLuint 170 src/runtime/opengl.cpp GLuint id; GLuint 199 src/runtime/opengl.cpp GLuint framebuffer_id; GLuint 200 src/runtime/opengl.cpp GLuint vertex_array_object; GLuint 201 src/runtime/opengl.cpp GLuint vertex_buffer; GLuint 202 src/runtime/opengl.cpp GLuint element_buffer; GLuint 358 src/runtime/opengl.cpp WEAK GLuint make_shader(void *user_context, GLenum type, GLuint 370 src/runtime/opengl.cpp GLuint shader = global_state.CreateShader(type); GLuint 561 src/runtime/opengl.cpp WEAK GLuint quad_indices[] = { 0, 1, 2, 3 }; GLuint 724 src/runtime/opengl.cpp GLuint buf[2]; GLuint 908 src/runtime/opengl.cpp WEAK TextureInfo *find_texture_info(GLuint tex) { GLuint 918 src/runtime/opengl.cpp WEAK TextureInfo *new_texture_info(GLuint tex, const halide_buffer_t *buf, bool halide_allocated) { GLuint 935 src/runtime/opengl.cpp WEAK TextureInfo *unlink_texture_info(GLuint tex) { GLuint 962 src/runtime/opengl.cpp GLuint tex = 0; GLuint 986 src/runtime/opengl.cpp tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; GLuint 1066 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; GLuint 1183 src/runtime/opengl.cpp GLuint tex = (GLuint)handle; GLuint 1277 src/runtime/opengl.cpp GLuint tex = (GLuint)handle; GLuint 1543 src/runtime/opengl.cpp global_state.BindTexture(GL_TEXTURE_2D, handle == HALIDE_OPENGL_RENDER_TARGET ? 0 : (GLuint)handle); GLuint 1675 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : (GLuint)handle; GLuint 1814 src/runtime/opengl.cpp GLuint vertex_array_object = 0; GLuint 1820 src/runtime/opengl.cpp GLuint vertex_buffer_id; GLuint 1828 src/runtime/opengl.cpp GLuint element_buffer_id; GLuint 2005 src/runtime/opengl.cpp GLuint vertex_shader_id = make_shader(user_context, GLuint 2013 src/runtime/opengl.cpp GLuint fragment_shader_id = make_shader(user_context, GL_FRAGMENT_SHADER, GLuint 2016 src/runtime/opengl.cpp GLuint program = global_state.CreateProgram(); GLuint 2117 src/runtime/opengl.cpp const GLuint tex = 0; GLuint 2139 src/runtime/opengl.cpp GLuint tex = (handle == HALIDE_OPENGL_RENDER_TARGET) ? 0 : handle; GLuint 79 src/runtime/openglcompute.cpp GLuint program_id; GLuint 131 src/runtime/openglcompute.cpp << " texture_id: " << (GLuint)buf->device << "\n" GLuint 278 src/runtime/openglcompute.cpp GLuint the_buffer; GLuint 316 src/runtime/openglcompute.cpp GLuint the_buffer = (GLuint)buf->device; GLuint 349 src/runtime/openglcompute.cpp GLuint the_buffer = (GLuint)buf->device; GLuint 384 src/runtime/openglcompute.cpp GLuint the_buffer = (GLuint)buf->device; GLuint 485 src/runtime/openglcompute.cpp GLuint the_buffer = (GLuint)arg_value; GLuint 590 src/runtime/openglcompute.cpp GLuint shader = global_state.CreateShader(GL_COMPUTE_SHADER); GLuint 620 src/runtime/openglcompute.cpp GLuint program = global_state.CreateProgram(); GLuint 22 test/opengl/rewrap_texture.cpp extern "C" void glGenTextures(GLsizei, GLuint *); GLuint 24 test/opengl/rewrap_texture.cpp extern "C" void glBindTexture(GLenum, GLuint); GLuint 48 test/opengl/rewrap_texture.cpp GLuint texture_id; GLuint 19 test/opengl/save_state.cpp extern "C" void glGenTextures(GLsizei, GLuint *); GLuint 21 test/opengl/save_state.cpp extern "C" void glBindTexture(GLenum, GLuint); GLuint 23 test/opengl/save_state.cpp extern "C" GLuint glCreateProgram(); GLuint 24 test/opengl/save_state.cpp extern "C" void glAttachShader(GLuint, GLuint); GLuint 25 test/opengl/save_state.cpp extern "C" void glLinkProgram(GLuint); GLuint 26 test/opengl/save_state.cpp extern "C" void glGetProgramiv(GLuint, GLenum, GLint *); GLuint 27 test/opengl/save_state.cpp extern "C" void glGetProgramInfoLog(GLuint, GLsizei, GLsizei *, GLchar *); GLuint 28 test/opengl/save_state.cpp extern "C" GLuint glCreateShader(GLenum); GLuint 29 test/opengl/save_state.cpp extern "C" void glShaderSource(GLuint, GLsizei, const GLchar **, const GLint *); GLuint 30 test/opengl/save_state.cpp extern "C" void glCompileShader(GLuint); GLuint 31 test/opengl/save_state.cpp extern "C" void glGetShaderiv(GLuint, GLenum, GLint *); GLuint 32 test/opengl/save_state.cpp extern "C" void glGetShaderInfoLog(GLuint, GLsizei, GLsizei *, GLchar *); GLuint 39 test/opengl/save_state.cpp extern "C" void glEnableVertexAttribArray(GLuint); GLuint 40 test/opengl/save_state.cpp extern "C" void glDisableVertexAttribArray(GLuint); GLuint 41 test/opengl/save_state.cpp extern "C" void glUseProgram(GLuint); GLuint 42 test/opengl/save_state.cpp extern "C" void glGenBuffers(GLsizei, GLuint *); GLuint 44 test/opengl/save_state.cpp extern "C" void glGenFramebuffers(GLsizei, GLuint *); GLuint 45 test/opengl/save_state.cpp extern "C" void glBindBuffer(GLenum, GLuint); GLuint 46 test/opengl/save_state.cpp extern "C" void glBindFramebuffer(GLenum, GLuint); GLuint 47 test/opengl/save_state.cpp extern "C" void glGenVertexArrays(GLsizei, GLuint *); GLuint 48 test/opengl/save_state.cpp extern "C" void glBindVertexArray(GLuint); GLuint 49 test/opengl/save_state.cpp extern "C" void glGetVertexAttribiv(GLuint, GLenum, GLint *); GLuint 55 test/opengl/save_state.cpp static GLuint handle() { GLuint 72 test/opengl/save_state.cpp GLuint handle = glCreateProgram(); GLuint 90 test/opengl/save_state.cpp static GLuint compileShader(const char *label, const char *shaderString, GLenum shaderType) { GLuint 91 test/opengl/save_state.cpp const GLuint handle = glCreateShader(shaderType); GLuint 115 test/opengl/save_state.cpp GLuint gl_gen(void (*fn)(GLsizei, GLuint *)) { GLuint 116 test/opengl/save_state.cpp GLuint val; GLuint 177 test/opengl/save_state.cpp GLuint initial_array_buffer_binding; GLuint 178 test/opengl/save_state.cpp GLuint initial_element_array_buffer_binding; GLuint 179 test/opengl/save_state.cpp GLuint initial_current_program; GLuint 180 test/opengl/save_state.cpp GLuint initial_framebuffer_binding; GLuint 182 test/opengl/save_state.cpp GLuint initial_bound_textures[ntextures]; GLuint 214 test/opengl/save_state.cpp GLuint initial_vertex_array_binding;