| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/service/in_process_command_buffer.h" | 5 #include "gpu/command_buffer/service/in_process_command_buffer.h" |
| 6 | 6 |
| 7 #include <queue> | 7 #include <queue> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include <GLES2/gl2.h> | 10 #include <GLES2/gl2.h> |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 | 745 |
| 746 bool InProcessCommandBuffer::Initialize() { | 746 bool InProcessCommandBuffer::Initialize() { |
| 747 NOTREACHED(); | 747 NOTREACHED(); |
| 748 return false; | 748 return false; |
| 749 } | 749 } |
| 750 | 750 |
| 751 void InProcessCommandBuffer::SetGetOffset(int32 get_offset) { NOTREACHED(); } | 751 void InProcessCommandBuffer::SetGetOffset(int32 get_offset) { NOTREACHED(); } |
| 752 | 752 |
| 753 void InProcessCommandBuffer::SetToken(int32 token) { NOTREACHED(); } | 753 void InProcessCommandBuffer::SetToken(int32 token) { NOTREACHED(); } |
| 754 | 754 |
| 755 void InProcessCommandBuffer::SetSerial(uint32 serial) { NOTREACHED(); } |
| 756 |
| 755 void InProcessCommandBuffer::SetParseError(gpu::error::Error error) { | 757 void InProcessCommandBuffer::SetParseError(gpu::error::Error error) { |
| 756 NOTREACHED(); | 758 NOTREACHED(); |
| 757 } | 759 } |
| 758 | 760 |
| 759 void InProcessCommandBuffer::SetContextLostReason( | 761 void InProcessCommandBuffer::SetContextLostReason( |
| 760 gpu::error::ContextLostReason reason) { | 762 gpu::error::ContextLostReason reason) { |
| 761 NOTREACHED(); | 763 NOTREACHED(); |
| 762 } | 764 } |
| 763 | 765 |
| 764 namespace { | 766 namespace { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 g_gpu_queue.Get().RunTasks(); | 821 g_gpu_queue.Get().RunTasks(); |
| 820 } | 822 } |
| 821 | 823 |
| 822 // static | 824 // static |
| 823 void InProcessCommandBuffer::SetGpuMemoryBufferFactory( | 825 void InProcessCommandBuffer::SetGpuMemoryBufferFactory( |
| 824 GpuMemoryBufferFactory* factory) { | 826 GpuMemoryBufferFactory* factory) { |
| 825 g_gpu_memory_buffer_factory = factory; | 827 g_gpu_memory_buffer_factory = factory; |
| 826 } | 828 } |
| 827 | 829 |
| 828 } // namespace gpu | 830 } // namespace gpu |
| OLD | NEW |