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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 } | 270 } |
271 | 271 |
272 gpu::Capabilities Display::GetCapabilities() { | 272 gpu::Capabilities Display::GetCapabilities() { |
273 return decoder_->GetCapabilities(); | 273 return decoder_->GetCapabilities(); |
274 } | 274 } |
275 | 275 |
276 gfx::GpuMemoryBuffer* Display::CreateGpuMemoryBuffer( | 276 gfx::GpuMemoryBuffer* Display::CreateGpuMemoryBuffer( |
277 size_t width, | 277 size_t width, |
278 size_t height, | 278 size_t height, |
279 unsigned internalformat, | 279 unsigned internalformat, |
| 280 unsigned usage, |
280 int32* id) { | 281 int32* id) { |
281 NOTIMPLEMENTED(); | 282 NOTIMPLEMENTED(); |
282 return NULL; | 283 return NULL; |
283 } | 284 } |
284 | 285 |
285 void Display::DestroyGpuMemoryBuffer(int32 id) { | 286 void Display::DestroyGpuMemoryBuffer(int32 id) { |
286 NOTIMPLEMENTED(); | 287 NOTIMPLEMENTED(); |
287 } | 288 } |
288 | 289 |
289 uint32 Display::InsertSyncPoint() { | 290 uint32 Display::InsertSyncPoint() { |
(...skipping 21 matching lines...) Expand all Loading... |
311 void Display::Echo(const base::Closure& callback) { | 312 void Display::Echo(const base::Closure& callback) { |
312 NOTIMPLEMENTED(); | 313 NOTIMPLEMENTED(); |
313 } | 314 } |
314 | 315 |
315 uint32 Display::CreateStreamTexture(uint32 texture_id) { | 316 uint32 Display::CreateStreamTexture(uint32 texture_id) { |
316 NOTIMPLEMENTED(); | 317 NOTIMPLEMENTED(); |
317 return 0; | 318 return 0; |
318 } | 319 } |
319 | 320 |
320 } // namespace egl | 321 } // namespace egl |
OLD | NEW |