| 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 852410b7e156bf5324edf3840a6e17d2199cafc5..47ce4cd8b73b0266b45968b5066f954737c5b8d3 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation.cc
|
| @@ -2847,27 +2847,6 @@ void GLES2Implementation::GetVertexAttribiv(
|
| CheckGLError();
|
| }
|
|
|
| -void GLES2Implementation::Swap() {
|
| - SwapBuffers();
|
| - gpu_control_->Echo(
|
| - base::Bind(&GLES2Implementation::OnSwapBuffersComplete,
|
| - weak_ptr_factory_.GetWeakPtr()));
|
| -}
|
| -
|
| -void GLES2Implementation::PartialSwapBuffers(const gfx::Rect& sub_buffer) {
|
| - PostSubBufferCHROMIUM(sub_buffer.x(),
|
| - sub_buffer.y(),
|
| - sub_buffer.width(),
|
| - sub_buffer.height());
|
| - gpu_control_->Echo(base::Bind(&GLES2Implementation::OnSwapBuffersComplete,
|
| - weak_ptr_factory_.GetWeakPtr()));
|
| -}
|
| -
|
| -void GLES2Implementation::SetSwapBuffersCompleteCallback(
|
| - const base::Closure& swap_buffers_complete_callback) {
|
| - swap_buffers_complete_callback_ = swap_buffers_complete_callback;
|
| -}
|
| -
|
| static GLenum GetGLESOverlayTransform(gfx::OverlayTransform plane_transform) {
|
| switch (plane_transform) {
|
| case gfx::OVERLAY_TRANSFORM_INVALID:
|
| @@ -2908,11 +2887,6 @@ void GLES2Implementation::ScheduleOverlayPlane(
|
| uv_rect.height());
|
| }
|
|
|
| -void GLES2Implementation::OnSwapBuffersComplete() {
|
| - if (!swap_buffers_complete_callback_.is_null())
|
| - swap_buffers_complete_callback_.Run();
|
| -}
|
| -
|
| GLboolean GLES2Implementation::EnableFeatureCHROMIUM(
|
| const char* feature) {
|
| GPU_CLIENT_SINGLE_THREAD_CHECK();
|
|
|