Index: gpu/command_buffer/client/gles2_implementation.cc |
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc |
index 6c276f5fdf67dc937a7a2a8e733a79980ab4e778..3e6991143c74dac46e8892592fa5d6c70d003436 100644 |
--- a/gpu/command_buffer/client/gles2_implementation.cc |
+++ b/gpu/command_buffer/client/gles2_implementation.cc |
@@ -21,6 +21,7 @@ |
#include "gpu/command_buffer/client/query_tracker.h" |
#include "gpu/command_buffer/client/transfer_buffer.h" |
#include "gpu/command_buffer/client/vertex_array_object_manager.h" |
+#include "gpu/command_buffer/common/gpu_control.h" |
no sievers
2013/09/27 18:13:04
nit: already included in line 26
|
#include "gpu/command_buffer/common/gles2_cmd_utils.h" |
#include "gpu/command_buffer/common/gpu_control.h" |
#include "gpu/command_buffer/common/trace_event.h" |
@@ -3661,7 +3662,8 @@ void GLES2Implementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) { |
GLuint GLES2Implementation::InsertSyncPointCHROMIUM() { |
GPU_CLIENT_SINGLE_THREAD_CHECK(); |
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glInsertSyncPointCHROMIUM"); |
- return helper_->InsertSyncPointCHROMIUM(); |
+ helper_->CommandBufferHelper::Flush(); |
+ return gpu_control_->InsertSyncPoint(); |
} |
GLuint GLES2Implementation::CreateImageCHROMIUMHelper( |