| 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 } | 577 } |
| 578 | 578 |
| 579 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) { | 579 void GLManager::SignalQuery(uint32_t query, const base::Closure& callback) { |
| 580 NOTIMPLEMENTED(); | 580 NOTIMPLEMENTED(); |
| 581 } | 581 } |
| 582 | 582 |
| 583 void GLManager::SetLock(base::Lock*) { | 583 void GLManager::SetLock(base::Lock*) { |
| 584 NOTIMPLEMENTED(); | 584 NOTIMPLEMENTED(); |
| 585 } | 585 } |
| 586 | 586 |
| 587 bool GLManager::IsGpuChannelLost() { | |
| 588 NOTIMPLEMENTED(); | |
| 589 return false; | |
| 590 } | |
| 591 | |
| 592 void GLManager::EnsureWorkVisible() { | 587 void GLManager::EnsureWorkVisible() { |
| 593 // This is only relevant for out-of-process command buffers. | 588 // This is only relevant for out-of-process command buffers. |
| 594 } | 589 } |
| 595 | 590 |
| 596 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { | 591 gpu::CommandBufferNamespace GLManager::GetNamespaceID() const { |
| 597 return gpu::CommandBufferNamespace::IN_PROCESS; | 592 return gpu::CommandBufferNamespace::IN_PROCESS; |
| 598 } | 593 } |
| 599 | 594 |
| 600 CommandBufferId GLManager::GetCommandBufferID() const { | 595 CommandBufferId GLManager::GetCommandBufferID() const { |
| 601 return command_buffer_id_; | 596 return command_buffer_id_; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 | 632 |
| 638 // Something went wrong, just run the callback now. | 633 // Something went wrong, just run the callback now. |
| 639 callback.Run(); | 634 callback.Run(); |
| 640 } | 635 } |
| 641 | 636 |
| 642 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 637 bool GLManager::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { |
| 643 return false; | 638 return false; |
| 644 } | 639 } |
| 645 | 640 |
| 646 } // namespace gpu | 641 } // namespace gpu |
| OLD | NEW |