Home
last modified time | relevance | path

Searched refs:vert_shader (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_shaders_gl.c37 GLhandleARB vert_shader; member
410 data->vert_shader = ctx->glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB); in CompileShaderProgram()
411 if (!CompileShader(ctx, data->vert_shader, vert_defines, shader_source[index][0])) { in CompileShaderProgram()
422 ctx->glAttachObjectARB(data->program, data->vert_shader); in CompileShaderProgram()
444 ctx->glDeleteObjectARB(data->vert_shader); in DestroyShaderProgram()
/AliOS-Things-master/components/SDL2/test/
A Dtestshader.c33 GLhandleARB vert_shader; member
162 data->vert_shader = glCreateShaderObjectARB(GL_VERTEX_SHADER_ARB); in CompileShaderProgram()
163 if (!CompileShader(data->vert_shader, data->vert_source)) { in CompileShaderProgram()
174 glAttachObjectARB(data->program, data->vert_shader); in CompileShaderProgram()
196 glDeleteObjectARB(data->vert_shader); in DestroyShaderProgram()

Completed in 5 milliseconds