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 <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 333 |
334 void Display::SetLock(base::Lock*) { | 334 void Display::SetLock(base::Lock*) { |
335 NOTIMPLEMENTED(); | 335 NOTIMPLEMENTED(); |
336 } | 336 } |
337 | 337 |
338 bool Display::IsGpuChannelLost() { | 338 bool Display::IsGpuChannelLost() { |
339 NOTIMPLEMENTED(); | 339 NOTIMPLEMENTED(); |
340 return false; | 340 return false; |
341 } | 341 } |
342 | 342 |
| 343 void Display::EnsureWorkVisible() { |
| 344 // This is only relevant for out-of-process command buffers. |
| 345 } |
| 346 |
343 gpu::CommandBufferNamespace Display::GetNamespaceID() const { | 347 gpu::CommandBufferNamespace Display::GetNamespaceID() const { |
344 return gpu::CommandBufferNamespace::IN_PROCESS; | 348 return gpu::CommandBufferNamespace::IN_PROCESS; |
345 } | 349 } |
346 | 350 |
347 uint64_t Display::GetCommandBufferID() const { | 351 uint64_t Display::GetCommandBufferID() const { |
348 return 0; | 352 return 0; |
349 } | 353 } |
350 | 354 |
351 int32_t Display::GetExtraCommandBufferData() const { | 355 int32_t Display::GetExtraCommandBufferData() const { |
352 return 0; | 356 return 0; |
(...skipping 18 matching lines...) Expand all Loading... |
371 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, | 375 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, |
372 const base::Closure& callback) { | 376 const base::Closure& callback) { |
373 NOTIMPLEMENTED(); | 377 NOTIMPLEMENTED(); |
374 } | 378 } |
375 | 379 |
376 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 380 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { |
377 return false; | 381 return false; |
378 } | 382 } |
379 | 383 |
380 } // namespace egl | 384 } // namespace egl |
OLD | NEW |