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

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

Issue 1385883002: Leave CreateStreamTexture route id out of the GL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing TOT! Created 5 years, 1 month 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
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 163 }
164 164
165 void PpapiCommandBufferProxy::DestroyTransferBuffer(int32 id) { 165 void PpapiCommandBufferProxy::DestroyTransferBuffer(int32 id) {
166 if (last_state_.error != gpu::error::kNoError) 166 if (last_state_.error != gpu::error::kNoError)
167 return; 167 return;
168 168
169 Send(new PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer( 169 Send(new PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer(
170 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id)); 170 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id));
171 } 171 }
172 172
173 uint32 PpapiCommandBufferProxy::CreateStreamTexture(uint32 texture_id) {
174 NOTREACHED();
175 return 0;
176 }
177
178 void PpapiCommandBufferProxy::SetLock(base::Lock*) { 173 void PpapiCommandBufferProxy::SetLock(base::Lock*) {
179 NOTIMPLEMENTED(); 174 NOTIMPLEMENTED();
180 } 175 }
181 176
182 bool PpapiCommandBufferProxy::IsGpuChannelLost() { 177 bool PpapiCommandBufferProxy::IsGpuChannelLost() {
183 NOTIMPLEMENTED(); 178 NOTIMPLEMENTED();
184 return false; 179 return false;
185 } 180 }
186 181
187 gpu::CommandBufferNamespace PpapiCommandBufferProxy::GetNamespaceID() const { 182 gpu::CommandBufferNamespace PpapiCommandBufferProxy::GetNamespaceID() const {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 message->set_unblock(true); 332 message->set_unblock(true);
338 Send(message); 333 Send(message);
339 334
340 flush_info_->flush_pending = false; 335 flush_info_->flush_pending = false;
341 flush_info_->resource.SetHostResource(0, 0); 336 flush_info_->resource.SetHostResource(0, 0);
342 flushed_fence_sync_release_ = pending_fence_sync_release_; 337 flushed_fence_sync_release_ = pending_fence_sync_release_;
343 } 338 }
344 339
345 } // namespace proxy 340 } // namespace proxy
346 } // namespace ppapi 341 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698