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

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: Build 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 gpu::Capabilities CommandBufferClientImpl::GetCapabilities() { 162 gpu::Capabilities CommandBufferClientImpl::GetCapabilities() {
163 // TODO(piman) 163 // TODO(piman)
164 NOTIMPLEMENTED(); 164 NOTIMPLEMENTED();
165 return gpu::Capabilities(); 165 return gpu::Capabilities();
166 } 166 }
167 167
168 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( 168 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer(
169 size_t width, 169 size_t width,
170 size_t height, 170 size_t height,
171 unsigned internalformat, 171 unsigned internalformat,
172 unsigned usage,
172 int32* id) { 173 int32* id) {
173 // TODO(piman) 174 // TODO(piman)
174 NOTIMPLEMENTED(); 175 NOTIMPLEMENTED();
175 return NULL; 176 return NULL;
176 } 177 }
177 178
178 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) { 179 void CommandBufferClientImpl::DestroyGpuMemoryBuffer(int32 id) {
179 // TODO(piman) 180 // TODO(piman)
180 NOTIMPLEMENTED(); 181 NOTIMPLEMENTED();
181 } 182 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 return; 264 return;
264 } 265 }
265 } 266 }
266 267
267 void CommandBufferClientImpl::DrawAnimationFrame() { 268 void CommandBufferClientImpl::DrawAnimationFrame() {
268 delegate_->DrawAnimationFrame(); 269 delegate_->DrawAnimationFrame();
269 } 270 }
270 271
271 } // namespace gles2 272 } // namespace gles2
272 } // namespace mojo 273 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698