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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.cc

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mojo/gles2/command_buffer_client_impl.h" 5 #include "mojo/gles2/command_buffer_client_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 gpu::Capabilities CommandBufferClientImpl::GetCapabilities() { 157 gpu::Capabilities CommandBufferClientImpl::GetCapabilities() {
158 // TODO(piman) 158 // TODO(piman)
159 NOTIMPLEMENTED(); 159 NOTIMPLEMENTED();
160 return gpu::Capabilities(); 160 return gpu::Capabilities();
161 } 161 }
162 162
163 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( 163 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer(
164 size_t width, 164 size_t width,
165 size_t height, 165 size_t height,
166 unsigned internalformat, 166 unsigned internalformat,
167 unsigned usage,
167 int32* id) { 168 int32* id) {
168 // TODO(piman) 169 // TODO(piman)
169 NOTIMPLEMENTED(); 170 NOTIMPLEMENTED();
170 return NULL; 171 return NULL;
171 } 172 }
172 173
173 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) { 174 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) {
174 // TODO(piman) 175 // TODO(piman)
175 NOTIMPLEMENTED(); 176 NOTIMPLEMENTED();
176 } 177 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 return; 259 return;
259 } 260 }
260 } 261 }
261 262
262 void CommandBufferClientImpl::DrawAnimationFrame() { 263 void CommandBufferClientImpl::DrawAnimationFrame() {
263 delegate_->DrawAnimationFrame(); 264 delegate_->DrawAnimationFrame();
264 } 265 }
265 266
266 } // namespace gles2 267 } // namespace gles2
267 } // namespace mojo 268 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698