OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/mus/gles2/command_buffer_impl.h" | 5 #include "components/mus/gles2/command_buffer_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "components/mus/gles2/command_buffer_driver.h" | 10 #include "components/mus/gles2/command_buffer_driver.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 driver_.get(), base::Bind(&CommandBufferImpl::DestroyImageOnGpuThread, | 130 driver_.get(), base::Bind(&CommandBufferImpl::DestroyImageOnGpuThread, |
131 base::Unretained(this), id)); | 131 base::Unretained(this), id)); |
132 } | 132 } |
133 | 133 |
134 void CommandBufferImpl::CreateStreamTexture( | 134 void CommandBufferImpl::CreateStreamTexture( |
135 uint32_t client_texture_id, | 135 uint32_t client_texture_id, |
136 const mojom::CommandBuffer::CreateStreamTextureCallback& callback) { | 136 const mojom::CommandBuffer::CreateStreamTextureCallback& callback) { |
137 NOTIMPLEMENTED(); | 137 NOTIMPLEMENTED(); |
138 } | 138 } |
139 | 139 |
140 void CommandBufferImpl::TakeFrontBuffer(const gpu::Mailbox& mailbox) { | 140 void CommandBufferImpl::ProduceFrontBuffer(const gpu::Mailbox& mailbox) { |
141 NOTIMPLEMENTED(); | 141 NOTIMPLEMENTED(); |
142 } | 142 } |
143 | 143 |
144 void CommandBufferImpl::ReturnFrontBuffer(const gpu::Mailbox& mailbox, | |
145 bool is_lost) { | |
146 NOTIMPLEMENTED(); | |
147 } | |
148 | |
149 void CommandBufferImpl::SignalQuery(uint32_t query, uint32_t signal_id) { | 144 void CommandBufferImpl::SignalQuery(uint32_t query, uint32_t signal_id) { |
150 NOTIMPLEMENTED(); | 145 NOTIMPLEMENTED(); |
151 } | 146 } |
152 | 147 |
153 void CommandBufferImpl::SignalSyncToken(const gpu::SyncToken& sync_token, | 148 void CommandBufferImpl::SignalSyncToken(const gpu::SyncToken& sync_token, |
154 uint32_t signal_id) { | 149 uint32_t signal_id) { |
155 NOTIMPLEMENTED(); | 150 NOTIMPLEMENTED(); |
156 } | 151 } |
157 | 152 |
158 void CommandBufferImpl::WaitForGetOffsetInRange( | 153 void CommandBufferImpl::WaitForGetOffsetInRange( |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 bool CommandBufferImpl::DeleteOnGpuThread() { | 284 bool CommandBufferImpl::DeleteOnGpuThread() { |
290 delete this; | 285 delete this; |
291 return true; | 286 return true; |
292 } | 287 } |
293 | 288 |
294 void CommandBufferImpl::DeleteOnGpuThread2() { | 289 void CommandBufferImpl::DeleteOnGpuThread2() { |
295 delete this; | 290 delete this; |
296 } | 291 } |
297 | 292 |
298 } // namespace mus | 293 } // namespace mus |
OLD | NEW |