| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // Not implemented in proxy. | 165 // Not implemented in proxy. |
| 166 NOTREACHED(); | 166 NOTREACHED(); |
| 167 } | 167 } |
| 168 | 168 |
| 169 void CommandBufferClientImpl::SetContextLostReason( | 169 void CommandBufferClientImpl::SetContextLostReason( |
| 170 gpu::error::ContextLostReason reason) { | 170 gpu::error::ContextLostReason reason) { |
| 171 // Not implemented in proxy. | 171 // Not implemented in proxy. |
| 172 NOTREACHED(); | 172 NOTREACHED(); |
| 173 } | 173 } |
| 174 | 174 |
| 175 gpu::Capabilities CommandBufferClientImpl::GetCapabilities() { | |
| 176 // TODO(piman) | |
| 177 NOTIMPLEMENTED(); | |
| 178 return gpu::Capabilities(); | |
| 179 } | |
| 180 | |
| 181 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( | 175 gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( |
| 182 size_t width, | 176 size_t width, |
| 183 size_t height, | 177 size_t height, |
| 184 unsigned internalformat, | 178 unsigned internalformat, |
| 185 int32* id) { | 179 int32* id) { |
| 186 // TODO(piman) | 180 // TODO(piman) |
| 187 NOTIMPLEMENTED(); | 181 NOTIMPLEMENTED(); |
| 188 return NULL; | 182 return NULL; |
| 189 } | 183 } |
| 190 | 184 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 return; | 270 return; |
| 277 } | 271 } |
| 278 } | 272 } |
| 279 | 273 |
| 280 void CommandBufferClientImpl::DrawAnimationFrame() { | 274 void CommandBufferClientImpl::DrawAnimationFrame() { |
| 281 delegate_->DrawAnimationFrame(); | 275 delegate_->DrawAnimationFrame(); |
| 282 } | 276 } |
| 283 | 277 |
| 284 } // namespace gles2 | 278 } // namespace gles2 |
| 285 } // namespace mojo | 279 } // namespace mojo |
| OLD | NEW |