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