Searched refs:current_program (Results 1 – 4 of 4) sorted by relevance
194 GLES2_ProgramCacheEntry *current_program; member335 data->current_program = NULL; in GLES2_ActivateRenderer()396 if (data->current_program) { in GLES2_UpdateViewport()1183 if (data->current_program && in GLES2_SelectProgram()1184 data->current_program->vertex_shader == vertex && in GLES2_SelectProgram()1185 data->current_program->fragment_shader == fragment) { in GLES2_SelectProgram()1199 data->current_program = program; in GLES2_SelectProgram()1215 data->current_program = NULL; in GLES2_SelectProgram()1256 if (SDL_memcmp(data->current_program->projection, projection, sizeof (projection)) != 0) { in GLES2_SetOrthographicProjection()1257 … const GLuint locProjection = data->current_program->uniform_locations[GLES2_UNIFORM_PROJECTION]; in GLES2_SetOrthographicProjection()[all …]
268 struct gl_program *current_program[MESA_SHADER_STAGES]; member
1320 if (st->current_program[prog->info.stage] == prog) { in st_finalize_program()
1098 GLuint current_program = m_context.getContextInfo().getInt(GL_CURRENT_PROGRAM); in verifyQueryResult() local1138 gl.useProgram(current_program); in verifyQueryResult()