| 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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 492 |
| 493 void GLManager::SetLock(base::Lock*) { | 493 void GLManager::SetLock(base::Lock*) { |
| 494 NOTIMPLEMENTED(); | 494 NOTIMPLEMENTED(); |
| 495 } | 495 } |
| 496 | 496 |
| 497 bool GLManager::IsGpuChannelLost() { | 497 bool GLManager::IsGpuChannelLost() { |
| 498 NOTIMPLEMENTED(); | 498 NOTIMPLEMENTED(); |
| 499 return false; | 499 return false; |
| 500 } | 500 } |
| 501 | 501 |
| 502 void GLManager::EnsureWorkVisible() { |
| 503 // This is only relevant for out-of-process command buffers. |
| 504 } |
| 505 |
| 502 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { | 506 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { |
| 503 return gpu::CommandBufferNamespace::IN_PROCESS; | 507 return gpu::CommandBufferNamespace::IN_PROCESS; |
| 504 } | 508 } |
| 505 | 509 |
| 506 uint64_t GLManager::GetCommandBufferID() const { | 510 uint64_t GLManager::GetCommandBufferID() const { |
| 507 return command_buffer_id_; | 511 return command_buffer_id_; |
| 508 } | 512 } |
| 509 | 513 |
| 510 int32_t GLManager::GetExtraCommandBufferData() const { | 514 int32_t GLManager::GetExtraCommandBufferData() const { |
| 511 return 0; | 515 return 0; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 530 void GLManager::SignalSyncToken(const gpu::SyncToken& sync_token, | 534 void GLManager::SignalSyncToken(const gpu::SyncToken& sync_token, |
| 531 const base::Closure& callback) { | 535 const base::Closure& callback) { |
| 532 NOTIMPLEMENTED(); | 536 NOTIMPLEMENTED(); |
| 533 } | 537 } |
| 534 | 538 |
| 535 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 539 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { |
| 536 return false; | 540 return false; |
| 537 } | 541 } |
| 538 | 542 |
| 539 } // namespace gpu | 543 } // namespace gpu |
| OLD | NEW |