| OLD | NEW |
| 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 "gpu/gles2_conform_support/egl/display.h" | 5 #include "gpu/gles2_conform_support/egl/display.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "gpu/command_buffer/client/gles2_implementation.h" | 10 #include "gpu/command_buffer/client/gles2_implementation.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 DCHECK(IsValidContext(ctx)); | 276 DCHECK(IsValidContext(ctx)); |
| 277 gles2::SetGLContext(context_.get()); | 277 gles2::SetGLContext(context_.get()); |
| 278 } | 278 } |
| 279 return true; | 279 return true; |
| 280 } | 280 } |
| 281 | 281 |
| 282 gpu::Capabilities Display::GetCapabilities() { | 282 gpu::Capabilities Display::GetCapabilities() { |
| 283 return decoder_->GetCapabilities(); | 283 return decoder_->GetCapabilities(); |
| 284 } | 284 } |
| 285 | 285 |
| 286 int32_t Display::CreateImage(ClientBuffer buffer, | 286 int32_t Display::CreateImage(ClientBuffer* const buffers, |
| 287 size_t width, | 287 size_t width, |
| 288 size_t height, | 288 size_t height, |
| 289 unsigned internalformat) { | 289 unsigned internalformat) { |
| 290 NOTIMPLEMENTED(); | 290 NOTIMPLEMENTED(); |
| 291 return -1; | 291 return -1; |
| 292 } | 292 } |
| 293 | 293 |
| 294 void Display::DestroyImage(int32 id) { | 294 void Display::DestroyImage(int32 id) { |
| 295 NOTIMPLEMENTED(); | 295 NOTIMPLEMENTED(); |
| 296 } | 296 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 uint32 Display::CreateStreamTexture(uint32 texture_id) { | 333 uint32 Display::CreateStreamTexture(uint32 texture_id) { |
| 334 NOTIMPLEMENTED(); | 334 NOTIMPLEMENTED(); |
| 335 return 0; | 335 return 0; |
| 336 } | 336 } |
| 337 | 337 |
| 338 void Display::SetLock(base::Lock*) { | 338 void Display::SetLock(base::Lock*) { |
| 339 NOTIMPLEMENTED(); | 339 NOTIMPLEMENTED(); |
| 340 } | 340 } |
| 341 | 341 |
| 342 } // namespace egl | 342 } // namespace egl |
| OLD | NEW |