Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1011)

Side by Side Diff: components/mus/gles2/command_buffer_impl.cc

Issue 1937173002: Revert of Pepper takes ownership of a mailbox before passing it to the texture layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « components/mus/gles2/command_buffer_impl.h ('k') | components/mus/public/interfaces/command_buffer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698