Lines Matching refs:prg_id
34 int loc = glGetUniformLocation(prg_id, #NAME); \
37 EIGEN_CAT(glGetUniform,SUFFIX)(prg_id,loc,data.data()); \
47 int loc = glGetUniformLocation(prg_id, #NAME); \
50 glGetUniformiv(prg_id,loc,(GLint*)data.data()); \
74 GLint prg_id = glCreateProgram(); in createShader() local
95 glAttachShader(prg_id, vtx_id); in createShader()
96 glAttachShader(prg_id, frg_id); in createShader()
97 glLinkProgram(prg_id); in createShader()
98 glGetProgramiv(prg_id,GL_LINK_STATUS,&ok); in createShader()
103 printInfoLog(prg_id); in createShader()
105 glUseProgram(prg_id); in createShader()
106 return prg_id; in createShader()
236 GLint prg_id = createShader(vtx,frg); in test_openglsupport() local
264 GLint prg_id = createShader(vtx,frg); in test_openglsupport() local
294 GLint prg_id = createShader(vtx,frg); in test_openglsupport() local
319 GLint prg_id = createShader(vtx,frg); in test_openglsupport() local