OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |