Lines Matching refs:GL_ARRAY_BUFFER
78 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
86 glBufferData(GL_ARRAY_BUFFER, 0, NULL, -1); in init()
91 glBufferData(GL_ARRAY_BUFFER, -1, NULL, GL_STREAM_DRAW); in init()
96 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
97 glBufferData(GL_ARRAY_BUFFER, 0, NULL, GL_STREAM_DRAW); in init()
107 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
108 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
116 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
117 glBufferSubData(GL_ARRAY_BUFFER, 1, 1, 0); in init()
127 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
128 glBufferData(GL_ARRAY_BUFFER, 10, 0, GL_STREAM_DRAW); in init()
131 glBufferSubData(GL_ARRAY_BUFFER, -1, 1, 0); in init()
133 glBufferSubData(GL_ARRAY_BUFFER, -1, -1, 0); in init()
135 glBufferSubData(GL_ARRAY_BUFFER, 1, -1, 0); in init()
137 glBufferSubData(GL_ARRAY_BUFFER, 15, 1, 0); in init()
139 glBufferSubData(GL_ARRAY_BUFFER, 1, 15, 0); in init()
141 glBufferSubData(GL_ARRAY_BUFFER, 8, 8, 0); in init()