Home | History | Annotate | Download | only in media

Lines Matching full:buffer

168                 int[] buffer = new int[1];
169 buffer[0] = mVertBufferIndex;
170 gl11.glDeleteBuffers(1, buffer, 0);
172 buffer[0] = mTextureCoordBufferIndex;
173 gl11.glDeleteBuffers(1, buffer, 0);
175 buffer[0] = mIndexBufferIndex;
176 gl11.glDeleteBuffers(1, buffer, 0);
185 * if a buffer has not already been previously allocated. Note that this
196 int[] buffer = new int[1];
198 // Allocate and fill the vertex buffer.
199 gl11.glGenBuffers(1, buffer, 0);
200 mVertBufferIndex = buffer[0];
206 // Allocate and fill the texture coordinate buffer.
207 gl11.glGenBuffers(1, buffer, 0);
208 mTextureCoordBufferIndex = buffer[0];
214 // Unbind the array buffer.
217 // Allocate and fill the index buffer.
218 gl11.glGenBuffers(1, buffer, 0);
219 mIndexBufferIndex = buffer[0];
226 // Unbind the element array buffer.