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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.cc

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ppapi/proxy/ppapi_command_buffer_proxy.h" 5 #include "ppapi/proxy/ppapi_command_buffer_proxy.h"
6 6
7 #include "base/numerics/safe_conversions.h" 7 #include "base/numerics/safe_conversions.h"
8 #include "ppapi/proxy/ppapi_messages.h" 8 #include "ppapi/proxy/ppapi_messages.h"
9 #include "ppapi/shared_impl/api_id.h" 9 #include "ppapi/shared_impl/api_id.h"
10 #include "ppapi/shared_impl/host_resource.h" 10 #include "ppapi/shared_impl/host_resource.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 Send(new PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer( 155 Send(new PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer(
156 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id)); 156 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id));
157 } 157 }
158 158
159 uint32 PpapiCommandBufferProxy::CreateStreamTexture(uint32 texture_id) { 159 uint32 PpapiCommandBufferProxy::CreateStreamTexture(uint32 texture_id) {
160 NOTREACHED(); 160 NOTREACHED();
161 return 0; 161 return 0;
162 } 162 }
163 163
164 uint32 PpapiCommandBufferProxy::CreateStreamTextureImage(int32 image_id) {
165 NOTREACHED();
166 return 0;
167 }
168
164 void PpapiCommandBufferProxy::SetLock(base::Lock*) { 169 void PpapiCommandBufferProxy::SetLock(base::Lock*) {
165 NOTIMPLEMENTED(); 170 NOTIMPLEMENTED();
166 } 171 }
167 172
168 bool PpapiCommandBufferProxy::IsGpuChannelLost() { 173 bool PpapiCommandBufferProxy::IsGpuChannelLost() {
169 NOTIMPLEMENTED(); 174 NOTIMPLEMENTED();
170 return false; 175 return false;
171 } 176 }
172 177
173 uint32 PpapiCommandBufferProxy::InsertSyncPoint() { 178 uint32 PpapiCommandBufferProxy::InsertSyncPoint() {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // cached last_state_ with out-of-date data. 292 // cached last_state_ with out-of-date data.
288 message->set_unblock(true); 293 message->set_unblock(true);
289 Send(message); 294 Send(message);
290 295
291 flush_info_->flush_pending = false; 296 flush_info_->flush_pending = false;
292 flush_info_->resource.SetHostResource(0, 0); 297 flush_info_->resource.SetHostResource(0, 0);
293 } 298 }
294 299
295 } // namespace proxy 300 } // namespace proxy
296 } // namespace ppapi 301 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698