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