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

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

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments. Created 5 years, 9 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/proxy/proxy_channel.h" 9 #include "ppapi/proxy/proxy_channel.h"
10 #include "ppapi/shared_impl/api_id.h" 10 #include "ppapi/shared_impl/api_id.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 } 198 }
199 199
200 void PpapiCommandBufferProxy::SetSurfaceVisible(bool visible) { 200 void PpapiCommandBufferProxy::SetSurfaceVisible(bool visible) {
201 NOTREACHED(); 201 NOTREACHED();
202 } 202 }
203 203
204 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() { 204 gpu::Capabilities PpapiCommandBufferProxy::GetCapabilities() {
205 return capabilities_; 205 return capabilities_;
206 } 206 }
207 207
208 int32 PpapiCommandBufferProxy::CreateImage(ClientBuffer buffer, 208 int32 PpapiCommandBufferProxy::CreateImage(ClientBuffer* const buffers,
209 size_t width, 209 size_t width,
210 size_t height, 210 size_t height,
211 unsigned internalformat) { 211 unsigned internalformat) {
212 NOTREACHED(); 212 NOTREACHED();
213 return -1; 213 return -1;
214 } 214 }
215 215
216 void PpapiCommandBufferProxy::DestroyImage(int32 id) { 216 void PpapiCommandBufferProxy::DestroyImage(int32 id) {
217 NOTREACHED(); 217 NOTREACHED();
218 } 218 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 shared_state()->Read(&last_state_); 256 shared_state()->Read(&last_state_);
257 } 257 }
258 258
259 gpu::CommandBufferSharedState* PpapiCommandBufferProxy::shared_state() const { 259 gpu::CommandBufferSharedState* PpapiCommandBufferProxy::shared_state() const {
260 return reinterpret_cast<gpu::CommandBufferSharedState*>( 260 return reinterpret_cast<gpu::CommandBufferSharedState*>(
261 shared_state_shm_->memory()); 261 shared_state_shm_->memory());
262 } 262 }
263 263
264 } // namespace proxy 264 } // namespace proxy
265 } // namespace ppapi 265 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698