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::ProduceFrontBuffer(const gpu::Mailbox& mailbox) { | 140 void CommandBufferImpl::TakeFrontBuffer(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 |
144 void CommandBufferImpl::SignalQuery(uint32_t query, uint32_t signal_id) { | 149 void CommandBufferImpl::SignalQuery(uint32_t query, uint32_t signal_id) { |
145 NOTIMPLEMENTED(); | 150 NOTIMPLEMENTED(); |
146 } | 151 } |
147 | 152 |
148 void CommandBufferImpl::SignalSyncToken(const gpu::SyncToken& sync_token, | 153 void CommandBufferImpl::SignalSyncToken(const gpu::SyncToken& sync_token, |
149 uint32_t signal_id) { | 154 uint32_t signal_id) { |
150 NOTIMPLEMENTED(); | 155 NOTIMPLEMENTED(); |
151 } | 156 } |
152 | 157 |
153 void CommandBufferImpl::WaitForGetOffsetInRange( | 158 void CommandBufferImpl::WaitForGetOffsetInRange( |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 bool CommandBufferImpl::DeleteOnGpuThread() { | 289 bool CommandBufferImpl::DeleteOnGpuThread() { |
285 delete this; | 290 delete this; |
286 return true; | 291 return true; |
287 } | 292 } |
288 | 293 |
289 void CommandBufferImpl::DeleteOnGpuThread2() { | 294 void CommandBufferImpl::DeleteOnGpuThread2() { |
290 delete this; | 295 delete this; |
291 } | 296 } |
292 | 297 |
293 } // namespace mus | 298 } // namespace mus |
OLD | NEW |