| Index: gpu/command_buffer/client/gles2_implementation.cc
|
| ===================================================================
|
| --- gpu/command_buffer/client/gles2_implementation.cc (revision 36127)
|
| +++ gpu/command_buffer/client/gles2_implementation.cc (working copy)
|
| @@ -66,6 +66,16 @@
|
| helper_->DrawElements(mode, count, type, ToGLuint(indices));
|
| }
|
|
|
| +void GLES2Implementation::Finish() {
|
| + helper_->Finish();
|
| + WaitForCmd();
|
| +}
|
| +
|
| +void GLES2Implementation::SwapBuffers() {
|
| + helper_->SwapBuffers();
|
| + Finish();
|
| +}
|
| +
|
| GLint GLES2Implementation::GetAttribLocation(
|
| GLuint program, const char* name) {
|
| helper_->GetAttribLocationImmediate(
|
|
|