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

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

Issue 1943513002: [Reland 1] 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: Comments from sunnyps and piman. 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::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
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
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