| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/command_buffer/tests/gl_manager.h" | 5 #include "gpu/command_buffer/tests/gl_manager.h" |
| 6 | 6 |
| 7 #include <GLES2/gl2.h> | 7 #include <GLES2/gl2.h> |
| 8 #include <GLES2/gl2ext.h> | 8 #include <GLES2/gl2ext.h> |
| 9 #include <GLES2/gl2extchromium.h> | 9 #include <GLES2/gl2extchromium.h> |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 } | 569 } |
| 570 | 570 |
| 571 void GLManager::SetLock(base::Lock*) { | 571 void GLManager::SetLock(base::Lock*) { |
| 572 NOTIMPLEMENTED(); | 572 NOTIMPLEMENTED(); |
| 573 } | 573 } |
| 574 | 574 |
| 575 void GLManager::EnsureWorkVisible() { | 575 void GLManager::EnsureWorkVisible() { |
| 576 // This is only relevant for out-of-process command buffers. | 576 // This is only relevant for out-of-process command buffers. |
| 577 } | 577 } |
| 578 | 578 |
| 579 void GLManager::EnsureWorkVisibleAsync() {} |
| 580 |
| 579 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { | 581 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { |
| 580 return gpu::CommandBufferNamespace::IN_PROCESS; | 582 return gpu::CommandBufferNamespace::IN_PROCESS; |
| 581 } | 583 } |
| 582 | 584 |
| 583 CommandBufferId GLManager::GetCommandBufferID() const { | 585 CommandBufferId GLManager::GetCommandBufferID() const { |
| 584 return command_buffer_id_; | 586 return command_buffer_id_; |
| 585 } | 587 } |
| 586 | 588 |
| 587 int32_t GLManager::GetExtraCommandBufferData() const { | 589 int32_t GLManager::GetExtraCommandBufferData() const { |
| 588 return 0; | 590 return 0; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 void GLManager::WaitSyncTokenHint(const gpu::SyncToken& sync_token) {} | 628 void GLManager::WaitSyncTokenHint(const gpu::SyncToken& sync_token) {} |
| 627 | 629 |
| 628 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken& sync_token) { | 630 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken& sync_token) { |
| 629 return false; | 631 return false; |
| 630 } | 632 } |
| 631 | 633 |
| 632 void GLManager::AddLatencyInfo( | 634 void GLManager::AddLatencyInfo( |
| 633 const std::vector<ui::LatencyInfo>& latency_info) {} | 635 const std::vector<ui::LatencyInfo>& latency_info) {} |
| 634 | 636 |
| 635 } // namespace gpu | 637 } // namespace gpu |
| OLD | NEW |