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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 } | 351 } |
352 | 352 |
353 void Display::EnsureWorkVisible() { | 353 void Display::EnsureWorkVisible() { |
354 // This is only relevant for out-of-process command buffers. | 354 // This is only relevant for out-of-process command buffers. |
355 } | 355 } |
356 | 356 |
357 gpu::CommandBufferNamespace Display::GetNamespaceID() const { | 357 gpu::CommandBufferNamespace Display::GetNamespaceID() const { |
358 return gpu::CommandBufferNamespace::IN_PROCESS; | 358 return gpu::CommandBufferNamespace::IN_PROCESS; |
359 } | 359 } |
360 | 360 |
361 uint64_t Display::GetCommandBufferID() const { | 361 gpu::CommandBufferId Display::GetCommandBufferID() const { |
362 return 0; | 362 return gpu::CommandBufferId(); |
363 } | 363 } |
364 | 364 |
365 int32_t Display::GetExtraCommandBufferData() const { | 365 int32_t Display::GetExtraCommandBufferData() const { |
366 return 0; | 366 return 0; |
367 } | 367 } |
368 | 368 |
369 uint64_t Display::GenerateFenceSyncRelease() { | 369 uint64_t Display::GenerateFenceSyncRelease() { |
370 return next_fence_sync_release_++; | 370 return next_fence_sync_release_++; |
371 } | 371 } |
372 | 372 |
(...skipping 12 matching lines...) Expand all Loading... |
385 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, | 385 void Display::SignalSyncToken(const gpu::SyncToken& sync_token, |
386 const base::Closure& callback) { | 386 const base::Closure& callback) { |
387 NOTIMPLEMENTED(); | 387 NOTIMPLEMENTED(); |
388 } | 388 } |
389 | 389 |
390 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { | 390 bool Display::CanWaitUnverifiedSyncToken(const gpu::SyncToken* sync_token) { |
391 return false; | 391 return false; |
392 } | 392 } |
393 | 393 |
394 } // namespace egl | 394 } // namespace egl |
OLD | NEW |