Lines Matching refs:program
109 GLuint program; in qemu_gl_create_link_program() local
113 program = glCreateProgram(); in qemu_gl_create_link_program()
114 glAttachShader(program, vert); in qemu_gl_create_link_program()
115 glAttachShader(program, frag); in qemu_gl_create_link_program()
116 glLinkProgram(program); in qemu_gl_create_link_program()
118 glGetProgramiv(program, GL_LINK_STATUS, &status); in qemu_gl_create_link_program()
120 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &length); in qemu_gl_create_link_program()
122 glGetProgramInfoLog(program, length, &length, errmsg); in qemu_gl_create_link_program()
127 return program; in qemu_gl_create_link_program()
133 GLuint vert_shader, frag_shader, program = 0; in qemu_gl_create_compile_link_program() local
141 program = qemu_gl_create_link_program(vert_shader, frag_shader); in qemu_gl_create_compile_link_program()
147 return program; in qemu_gl_create_compile_link_program()