450451452453454455456457458
gl.viewport(x, y, width, height); } @Override public void glAttachShader (int program, int shader) { WebGLProgram glProgram = programs.get(program); WebGLShader glShader = shaders.get(shader); gl.attachShader(glProgram, glShader); }
457458459460461462463464
gl.attachShader(glProgram, glShader); } @Override public void glBindAttribLocation (int program, int index, String name) { WebGLProgram glProgram = programs.get(program); gl.bindAttribLocation(glProgram, index, name); }
531532533534535536537538
gl.compileShader(glShader); } @Override public int glCreateProgram () { WebGLProgram program = gl.createProgram(); return allocateProgramId(program); }
563564565566567568569570571
} } @Override public void glDeleteProgram (int program) { WebGLProgram prog = programs.get(program); deallocateProgramId(program); gl.deleteProgram(prog); }
671672673674675676677678
throw new GdxRuntimeException("not implemented"); } @Override public int glGetAttribLocation (int program, String name) { WebGLProgram prog = programs.get(program); return gl.getAttribLocation(prog, name); }
464465466467468469470471472
471472473474475476477478
545546547548549550551552
577578579580581582583584585
685686687688689690691692